Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest") translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 109.1 kB / 17.06 MB, free: 6 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.001714/0.001714, allocations: 200 kB / 18.01 MB, free: 5.074 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.359/1.359, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1768/0.1768, allocations: 38.04 MB / 329.9 MB, free: 8.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001192/0.001192, allocations: 59.89 kB / 458.1 MB, free: 6.832 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3436, allocations: 58.05 MB / 0.5041 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.FixedCurrentTest): time 0.003878/0.3475, allocations: 3.468 MB / 0.5075 GB, free: 5.691 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.3492, allocations: 1.492 MB / 0.5089 GB, free: 4.645 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.3493, allocations: 8.906 kB / 0.5089 GB, free: 4.641 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007708/0.3501, allocations: 250 kB / 0.5092 GB, free: 4.492 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000555/0.3507, allocations: 291.7 kB / 0.5095 GB, free: 4.336 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002758/0.351, allocations: 126.6 kB / 0.5096 GB, free: 4.273 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004004/0.3514, allocations: 344.9 kB / 0.5099 GB, free: 4.129 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003207/0.3517, allocations: 138.2 kB / 0.51 GB, free: 4.082 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002514/0.352, allocations: 159.7 kB / 0.5102 GB, free: 4.008 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002283/0.3522, allocations: 148.2 kB / 0.5103 GB, free: 3.949 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.912e-05/0.3522, allocations: 13.69 kB / 0.5103 GB, free: 3.949 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005116/0.3528, allocations: 339.2 kB / 0.5107 GB, free: 3.812 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.3529, allocations: 93.41 kB / 0.5108 GB, free: 3.785 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.353, allocations: 111.8 kB / 0.5109 GB, free: 3.719 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004949/0.3535, allocations: 349.3 kB / 0.5112 GB, free: 3.602 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3535, allocations: 1.062 kB / 0.5112 GB, free: 3.602 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3535, allocations: 4.516 kB / 0.5112 GB, free: 3.598 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.211e-06/0.3535, allocations: 0 / 0.5112 GB, free: 3.598 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.0006563/0.3542, allocations: 0.5169 MB / 0.5117 GB, free: 3.129 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.3542, allocations: 13.53 kB / 0.5117 GB, free: 3.125 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009798/0.3552, allocations: 93.91 kB / 0.5118 GB, free: 3.109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003664/0.3556, allocations: 275 kB / 0.5121 GB, free: 2.863 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/0.3556, allocations: 11.34 kB / 0.5121 GB, free: 2.859 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.823e-05/0.3557, allocations: 15.58 kB / 0.5121 GB, free: 2.855 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005832/0.3563, allocations: 327.6 kB / 0.5124 GB, free: 2.676 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.921e-05/0.3563, allocations: 1.406 kB / 0.5124 GB, free: 2.676 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/0.3564, allocations: 13.28 kB / 0.5124 GB, free: 2.664 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.787e-05/0.3564, allocations: 18.27 kB / 0.5124 GB, free: 2.664 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005098/0.3569, allocations: 296.7 kB / 0.5127 GB, free: 2.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00165/0.3586, allocations: 1.257 MB / 0.5139 GB, free: 1.641 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004186/0.359, allocations: 231.2 kB / 0.5142 GB, free: 1.531 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.3592, allocations: 104.3 kB / 0.5143 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.3592, allocations: 2.891 kB / 0.5143 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.75e-05/0.3592, allocations: 37.48 kB / 0.5143 GB, free: 1.438 MB / 382.1 MB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.3592, allocations: 0 / 0.5143 GB, free: 1.438 MB / 382.1 MB Notification: Performance of matching and sorting (n=17): time 0.0007717/0.36, allocations: 444.1 kB / 0.5147 GB, free: 1.234 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.36, allocations: 79.84 kB / 0.5148 GB, free: 1.141 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.3602, allocations: 205.5 kB / 0.515 GB, free: 1.004 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.3602, allocations: 33.7 kB / 0.515 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.522e-05/0.3603, allocations: 157 kB / 0.5152 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.938e-05/0.3603, allocations: 55.08 kB / 0.5152 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.435e-05/0.3604, allocations: 49.02 kB / 0.5153 GB, free: 0.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.27e-05/0.3605, allocations: 329.2 kB / 0.5156 GB, free: 440 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.3606, allocations: 85.11 kB / 0.5157 GB, free: 412 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001459/0.3608, allocations: 163.1 kB / 0.5158 GB, free: 288 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/0.361, allocations: 262.7 kB / 0.5161 GB, free: 116 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.3611, allocations: 1.031 kB / 0.5161 GB, free: 116 kB / 382.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004477/0.3615, allocations: 299.3 kB / 0.5164 GB, free: 15.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3615, allocations: 5.656 kB / 0.5164 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.3615, allocations: 2.344 kB / 0.5164 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.3616, allocations: 8.422 kB / 0.5164 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.3618, allocations: 52.56 kB / 0.5164 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.473e-05/0.3619, allocations: 7.938 kB / 0.5164 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.362, allocations: 18.28 kB / 0.5165 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.696e-05/0.3621, allocations: 9.016 kB / 0.5165 GB, free: 15.96 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (27): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001634/0.3622, allocations: 160 kB / 0.5166 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.078e-05/0.3623, allocations: 20.62 kB / 0.5166 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003959/0.3627, allocations: 230.9 kB / 0.5169 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3627, allocations: 2.281 kB / 0.5169 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3627, allocations: 1.156 kB / 0.5169 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.3627, allocations: 2.594 kB / 0.5169 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00147/0.3642, allocations: 0.9526 MB / 0.5178 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.3642, allocations: 4.297 kB / 0.5178 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.3644, allocations: 37.28 kB / 0.5178 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.3644, allocations: 3.969 kB / 0.5178 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.3644, allocations: 10.86 kB / 0.5179 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.036e-06/0.3644, allocations: 10.3 kB / 0.5179 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.3644, allocations: 7.938 kB / 0.5179 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004094/0.3648, allocations: 417.2 kB / 0.5183 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.04e-05/0.3649, allocations: 100.7 kB / 0.5184 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.627e-05/0.365, allocations: 10.52 kB / 0.5184 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.3651, allocations: 16.52 kB / 0.5184 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.3652, allocations: 22.33 kB / 0.5184 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.819e-05/0.3652, allocations: 12.62 kB / 0.5184 GB, free: 14.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001267/0.3653, allocations: 155.3 kB / 0.5186 GB, free: 14.47 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.3654, allocations: 4 kB / 0.5186 GB, free: 14.47 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003891/0.3657, allocations: 49.75 kB / 0.5186 GB, free: 14.46 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001017/0.3659, allocations: 107.7 kB / 0.5187 GB, free: 14.37 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003662/0.3662, allocations: 220.8 kB / 0.5189 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.3662, allocations: 1.688 kB / 0.5189 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.3664, allocations: 101.5 kB / 0.519 GB, free: 14.26 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004783/0.3669, allocations: 40.25 kB / 0.5191 GB, free: 14.25 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008963/0.3678, allocations: 0.5729 MB / 0.5196 GB, free: 13.84 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003209/0.3681, allocations: 0.7625 MB / 0.5204 GB, free: 13.13 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001479/0.3683, allocations: 53.92 kB / 0.5204 GB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.661e-05/0.3683, allocations: 20.27 kB / 0.5204 GB, free: 13.12 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3684, allocations: 0 / 0.5204 GB, free: 13.12 MB / 398.1 MB Notification: Performance of Templates: time 0.004665/0.373, allocations: 1.919 MB / 0.5223 GB, free: 12.94 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1)