Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.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/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001488/0.001488, allocations: 97.03 kB / 17.06 MB, free: 6.121 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.001629/0.00163, allocations: 194.9 kB / 17.99 MB, free: 5.199 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.48/1.48, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1787/0.1787, allocations: 38.03 MB / 329.9 MB, free: 8.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 67.89 kB / 458.1 MB, free: 6.828 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3262, allocations: 58.05 MB / 0.5041 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.ImpedanceTest): time 0.005221/0.3315, allocations: 3.43 MB / 0.5074 GB, free: 5.664 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00179/0.3333, allocations: 1.447 MB / 0.5088 GB, free: 4.648 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001254/0.3335, allocations: 9.688 kB / 0.5089 GB, free: 4.645 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008137/0.3343, allocations: 252 kB / 0.5091 GB, free: 4.492 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005738/0.3349, allocations: 279.7 kB / 0.5094 GB, free: 4.348 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002861/0.3352, allocations: 114.2 kB / 0.5095 GB, free: 4.289 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004006/0.3356, allocations: 351.7 kB / 0.5098 GB, free: 4.137 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003175/0.3359, allocations: 137.1 kB / 0.5099 GB, free: 4.086 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002273/0.3361, allocations: 151.4 kB / 0.5101 GB, free: 4.02 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002546/0.3364, allocations: 152.2 kB / 0.5102 GB, free: 3.957 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.956e-05/0.3364, allocations: 13.12 kB / 0.5102 GB, free: 3.957 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004796/0.3369, allocations: 308.5 kB / 0.5105 GB, free: 3.836 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001248/0.337, allocations: 99.44 kB / 0.5106 GB, free: 3.805 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.3372, allocations: 107.1 kB / 0.5107 GB, free: 3.742 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004772/0.3377, allocations: 345.4 kB / 0.5111 GB, free: 3.621 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.3377, allocations: 4 kB / 0.5111 GB, free: 3.617 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3377, allocations: 0 / 0.5111 GB, free: 3.617 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.3377, allocations: 1.562 kB / 0.5111 GB, free: 3.617 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0006789/0.3384, allocations: 0.5023 MB / 0.5116 GB, free: 3.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.3384, allocations: 14.5 kB / 0.5116 GB, free: 3.156 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008601/0.3393, allocations: 90.36 kB / 0.5117 GB, free: 3.141 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.3396, allocations: 270.3 kB / 0.5119 GB, free: 2.898 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.3396, allocations: 16.33 kB / 0.5119 GB, free: 2.891 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.045e-05/0.3397, allocations: 27.81 kB / 0.512 GB, free: 2.875 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000496/0.3402, allocations: 316.2 kB / 0.5123 GB, free: 2.703 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.3402, allocations: 0.5625 kB / 0.5123 GB, free: 2.703 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.352e-05/0.3402, allocations: 6.344 kB / 0.5123 GB, free: 2.699 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.851e-05/0.3403, allocations: 20.02 kB / 0.5123 GB, free: 2.695 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004346/0.3407, allocations: 291 kB / 0.5126 GB, free: 2.605 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0015/0.3422, allocations: 1.291 MB / 0.5138 GB, free: 1.613 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005602/0.3428, allocations: 207.6 kB / 0.514 GB, free: 1.523 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.977e-05/0.3429, allocations: 57.7 kB / 0.5141 GB, free: 1.492 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.3429, allocations: 5.422 kB / 0.5141 GB, free: 1.488 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.343, allocations: 37.47 kB / 0.5141 GB, free: 1.445 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.332e-06/0.343, allocations: 0 / 0.5141 GB, free: 1.445 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008855/0.3439, allocations: 426.7 kB / 0.5145 GB, free: 1.188 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.623e-05/0.3439, allocations: 78.83 kB / 0.5146 GB, free: 1.094 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001726/0.3441, allocations: 203.8 kB / 0.5148 GB, free: 0.957 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.3441, allocations: 25.7 kB / 0.5148 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.679e-05/0.3442, allocations: 166.2 kB / 0.515 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.621e-05/0.3442, allocations: 45.58 kB / 0.515 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.486e-05/0.3443, allocations: 50.09 kB / 0.5151 GB, free: 0.707 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.358e-05/0.3444, allocations: 332.5 kB / 0.5154 GB, free: 392 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.742e-05/0.3445, allocations: 52.8 kB / 0.5154 GB, free: 376 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.3446, allocations: 150.2 kB / 0.5156 GB, free: 228 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/0.3448, allocations: 223.5 kB / 0.5158 GB, free: 44 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3448, allocations: 1 kB / 0.5158 GB, free: 44 kB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000451/0.3453, allocations: 262.4 kB / 0.516 GB, free: 15.92 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.3453, allocations: 7.688 kB / 0.516 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.3453, allocations: 7.312 kB / 0.5161 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002496/0.3456, allocations: 37.59 kB / 0.5161 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.3458, allocations: 45.12 kB / 0.5161 GB, free: 15.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001124/0.3469, allocations: 1.44 MB / 0.5175 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.347, allocations: 9.688 kB / 0.5175 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.3471, allocations: 14.88 kB / 0.5176 GB, free: 14.46 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 23 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001533/0.3472, allocations: 159.8 kB / 0.5177 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.984e-05/0.3473, allocations: 20.61 kB / 0.5177 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000451/0.3477, allocations: 192.2 kB / 0.5179 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.3478, allocations: 2.031 kB / 0.5179 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3478, allocations: 1.703 kB / 0.5179 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.3478, allocations: 5.219 kB / 0.5179 GB, free: 14.2 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008693/0.3487, allocations: 0.567 MB / 0.5185 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.3487, allocations: 1.719 kB / 0.5185 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.3488, allocations: 23.94 kB / 0.5185 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001587/0.349, allocations: 31.23 kB / 0.5185 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.349, allocations: 11.02 kB / 0.5185 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001055/0.35, allocations: 1.419 MB / 0.5199 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3501, allocations: 1.75 kB / 0.5199 GB, free: 12.33 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004594/0.3505, allocations: 303.5 kB / 0.5202 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.459e-05/0.3506, allocations: 92.48 kB / 0.5203 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.3506, allocations: 6.891 kB / 0.5203 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.3508, allocations: 2.953 kB / 0.5203 GB, free: 11.99 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.868e-05/0.3508, allocations: 18 kB / 0.5203 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.3508, allocations: 5.641 kB / 0.5203 GB, free: 11.98 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001196/0.3509, allocations: 143.2 kB / 0.5205 GB, free: 11.89 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.351, allocations: 4 kB / 0.5205 GB, free: 11.89 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000389/0.3514, allocations: 53.09 kB / 0.5205 GB, free: 11.88 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001051/0.3515, allocations: 101.5 kB / 0.5206 GB, free: 11.78 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004625/0.3519, allocations: 266.4 kB / 0.5209 GB, free: 11.62 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.3519, allocations: 5.25 kB / 0.5209 GB, free: 11.62 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002346/0.3522, allocations: 174.6 kB / 0.5211 GB, free: 11.49 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003888/0.3526, allocations: 35.8 kB / 0.5211 GB, free: 11.48 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007641/0.3534, allocations: 445.1 kB / 0.5215 GB, free: 11.2 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.3537, allocations: 0.7556 MB / 0.5223 GB, free: 10.5 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001197/0.3539, allocations: 45.12 kB / 0.5223 GB, free: 10.49 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.467e-05/0.3539, allocations: 17.66 kB / 0.5223 GB, free: 10.48 MB / 398.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3539, allocations: 0 / 0.5223 GB, free: 10.48 MB / 398.1 MB Notification: Performance of Templates: time 0.00525/0.3592, allocations: 1.719 MB / 0.524 GB, free: 10.3 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1)