Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 103.2 kB / 16.03 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 186.6 kB / 16.95 MB, free: 6.172 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 222.9 MB / 240.6 MB, free: 13.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.0472/0.0472, allocations: 8.107 MB / 298.9 MB, free: 6.625 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001108/0.001108, allocations: 71.89 kB / 361.2 MB, free: 8.246 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2626/0.2638, allocations: 51.52 MB / 412.7 MB, free: 25.71 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad): time 0.002841/0.2667, allocations: 2.332 MB / 415.1 MB, free: 23.38 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.2686, allocations: 1.652 MB / 416.7 MB, free: 21.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.2687, allocations: 8 kB / 416.7 MB, free: 21.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004179/0.2692, allocations: 131.4 kB / 416.9 MB, free: 21.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004133/0.2696, allocations: 191 kB / 417 MB, free: 21.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001585/0.2712, allocations: 1.148 MB / 418.2 MB, free: 20.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004031/0.2716, allocations: 406.1 kB / 418.6 MB, free: 19.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002177/0.2718, allocations: 127.2 kB / 418.7 MB, free: 19.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.2719, allocations: 171.4 kB / 418.9 MB, free: 19.54 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/0.2721, allocations: 211.1 kB / 419.1 MB, free: 19.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.301e-05/0.2722, allocations: 32 kB / 419.1 MB, free: 19.3 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003853/0.2726, allocations: 267.7 kB / 419.4 MB, free: 19.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.062e-05/0.2726, allocations: 71.75 kB / 419.4 MB, free: 18.97 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.2728, allocations: 203 kB / 419.6 MB, free: 18.77 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005086/0.2733, allocations: 0.5705 MB / 420.2 MB, free: 18.2 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.2733, allocations: 7.938 kB / 420.2 MB, free: 18.2 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.2733, allocations: 4 kB / 420.2 MB, free: 18.19 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.2733, allocations: 4 kB / 420.2 MB, free: 18.19 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.004633/0.278, allocations: 1.357 MB / 421.6 MB, free: 16.78 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.278, allocations: 12.03 kB / 421.6 MB, free: 16.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001165/0.2781, allocations: 40.47 kB / 421.6 MB, free: 16.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003682/0.2785, allocations: 323.5 kB / 422 MB, free: 16.37 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.451e-05/0.2786, allocations: 28.94 kB / 422 MB, free: 16.34 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.469e-05/0.2786, allocations: 36.38 kB / 422 MB, free: 16.31 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006277/0.2793, allocations: 469 kB / 422.5 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.2793, allocations: 192 / 422.5 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.713e-05/0.2793, allocations: 15.94 kB / 422.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.2794, allocations: 4 kB / 422.5 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005574/0.2799, allocations: 426 kB / 422.9 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002322/0.2822, allocations: 2.021 MB / 424.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007531/0.283, allocations: 0.5179 MB / 425.5 MB, free: 12.63 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003269/0.2834, allocations: 288.7 kB / 425.7 MB, free: 12.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.071e-05/0.2835, allocations: 12 kB / 425.7 MB, free: 12.33 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.2835, allocations: 42.56 kB / 425.8 MB, free: 12.28 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 2.184e-06/0.2835, allocations: 0 / 425.8 MB, free: 12.28 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.006425/0.2899, allocations: 1.92 MB / 427.7 MB, free: 10.33 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/0.29, allocations: 106.8 kB / 427.8 MB, free: 10.2 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002763/0.2903, allocations: 274.9 kB / 428.1 MB, free: 9.922 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.053e-05/0.2904, allocations: 41.64 kB / 428.1 MB, free: 9.875 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.926e-05/0.2905, allocations: 156.9 kB / 428.3 MB, free: 9.715 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.2906, allocations: 153.8 kB / 428.4 MB, free: 9.562 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001659/0.2908, allocations: 110.2 kB / 428.5 MB, free: 9.449 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.529e-05/0.2909, allocations: 338.8 kB / 428.9 MB, free: 9.109 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003428/0.2912, allocations: 297 kB / 429.2 MB, free: 8.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003919/0.2916, allocations: 352.6 kB / 429.5 MB, free: 8.465 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007372/0.2923, allocations: 0.649 MB / 430.1 MB, free: 7.816 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.2924, allocations: 0 / 430.1 MB, free: 7.816 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.003014/0.2954, allocations: 1.26 MB / 431.4 MB, free: 6.543 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.193e-05/0.2954, allocations: 4 kB / 431.4 MB, free: 6.539 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.2954, allocations: 3.938 kB / 431.4 MB, free: 6.535 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003256/0.2987, allocations: 0.7805 MB / 432.2 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000357/0.2991, allocations: 87.89 kB / 432.3 MB, free: 5.668 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006376/0.3055, allocations: 4.177 MB / 436.5 MB, free: 1.363 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005348/0.306, allocations: 59.38 kB / 436.5 MB, free: 1.305 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-05/0.3061, allocations: 19.98 kB / 436.5 MB, free: 1.285 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002213/0.3063, allocations: 161.7 kB / 436.7 MB, free: 1.117 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.328e-05/0.3064, allocations: 35.62 kB / 436.7 MB, free: 1.082 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003288/0.3097, allocations: 1.206 MB / 437.9 MB, free: 15.86 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.3097, allocations: 8 kB / 437.9 MB, free: 15.86 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.3097, allocations: 0 / 437.9 MB, free: 15.86 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-06/0.3097, allocations: 3.984 kB / 437.9 MB, free: 15.85 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006552/0.3104, allocations: 0.5598 MB / 438.5 MB, free: 15.24 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.3104, allocations: 0 / 438.5 MB, free: 15.24 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/0.3106, allocations: 63.91 kB / 438.6 MB, free: 15.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003541/0.3142, allocations: 0.7564 MB / 439.3 MB, free: 14.42 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.271e-05/0.3143, allocations: 19.92 kB / 439.3 MB, free: 14.4 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007408/0.3217, allocations: 4.132 MB / 443.5 MB, free: 10.13 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.3217, allocations: 3.984 kB / 443.5 MB, free: 10.12 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003336/0.3251, allocations: 1.218 MB / 444.7 MB, free: 8.883 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001314/0.3252, allocations: 116.5 kB / 444.8 MB, free: 8.75 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.47e-05/0.3253, allocations: 8 kB / 444.8 MB, free: 8.742 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003573/0.3256, allocations: 27.98 kB / 444.8 MB, free: 8.715 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001136/0.3258, allocations: 40.38 kB / 444.9 MB, free: 8.676 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.518e-05/0.3258, allocations: 19.94 kB / 444.9 MB, free: 8.656 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001917/0.326, allocations: 190 kB / 445.1 MB, free: 8.473 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.326, allocations: 0 / 445.1 MB, free: 8.473 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006341/0.3267, allocations: 183.8 kB / 445.3 MB, free: 8.293 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002279/0.3269, allocations: 123.7 kB / 445.4 MB, free: 8.164 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002513/0.3294, allocations: 1.066 MB / 446.5 MB, free: 7.09 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.3294, allocations: 0 / 446.5 MB, free: 7.09 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001696/0.3311, allocations: 0.6807 MB / 447.1 MB, free: 6.395 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004827/0.3316, allocations: 44.14 kB / 447.2 MB, free: 6.352 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.3331, allocations: 0.9048 MB / 448.1 MB, free: 5.418 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003472/0.3335, allocations: 0.8013 MB / 448.9 MB, free: 4.594 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002032/0.3337, allocations: 50.92 kB / 448.9 MB, free: 4.547 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.376e-05/0.3338, allocations: 35.42 kB / 449 MB, free: 4.512 MB / 318.1 MB Notification: Performance of SimCode: time 1.342e-06/0.3338, allocations: 0 / 449 MB, free: 4.512 MB / 318.1 MB Notification: Performance of Templates: time 0.01808/0.3519, allocations: 11.68 MB / 460.6 MB, free: 8.875 MB / 334.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneTransfoOneLineOneLoad.pipe 2>&1)