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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001161/0.001161, allocations: 182.5 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.772/1.772, allocations: 194.3 MB / 208.4 MB, free: 6.707 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001834/0.001834, allocations: 118.2 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.2179/0.2179, allocations: 37.91 MB / 336.4 MB, free: 14.25 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 5.203e-05/5.271e-05, allocations: 4 kB / 397.5 MB, free: 1.035 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3844, allocations: 53.23 MB / 450.8 MB, free: 13.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1559/0.5404, allocations: 89.6 MB / 0.5277 GB, free: 3.738 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004184/0.5409, allocations: 83.95 kB / 0.5278 GB, free: 3.656 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.406/0.9469, allocations: 14.2 MB / 0.5416 GB, free: 85.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.947, allocations: 0 / 0.5416 GB, free: 85.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.948e-05/0.947, allocations: 8.031 kB / 0.5417 GB, free: 85.32 MB / 378.7 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.0007318/0.9478, allocations: 489.6 kB / 0.5421 GB, free: 84.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.9478, allocations: 6.438 kB / 0.5421 GB, free: 84.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008765/0.9487, allocations: 99.11 kB / 0.5422 GB, free: 84.82 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003294/0.949, allocations: 270.5 kB / 0.5425 GB, free: 84.56 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.9491, allocations: 9.625 kB / 0.5425 GB, free: 84.56 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.581e-05/0.9491, allocations: 16.91 kB / 0.5425 GB, free: 84.55 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004426/0.9496, allocations: 310.9 kB / 0.5428 GB, free: 84.35 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.632e-05/0.9496, allocations: 4 kB / 0.5428 GB, free: 84.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.839e-05/0.9496, allocations: 11.94 kB / 0.5428 GB, free: 84.33 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.134e-05/0.9497, allocations: 30.14 kB / 0.5428 GB, free: 84.32 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003726/0.9501, allocations: 270.3 kB / 0.5431 GB, free: 84.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001471/0.9516, allocations: 1.267 MB / 0.5443 GB, free: 83.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003847/0.952, allocations: 226.8 kB / 0.5446 GB, free: 82.99 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001235/0.9521, allocations: 101.5 kB / 0.5447 GB, free: 82.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.9522, allocations: 2.531 kB / 0.5447 GB, free: 82.93 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.052e-05/0.9522, allocations: 41.91 kB / 0.5447 GB, free: 82.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=16): time 1.382e-06/0.9522, allocations: 3.938 kB / 0.5447 GB, free: 82.88 MB / 378.7 MB Notification: Performance of matching and sorting (n=17): time 0.0006338/0.9528, allocations: 362 kB / 0.545 GB, free: 82.67 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.9529, allocations: 77.11 kB / 0.5451 GB, free: 82.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.953, allocations: 183.3 kB / 0.5453 GB, free: 82.44 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.9531, allocations: 25.7 kB / 0.5453 GB, free: 82.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.812e-05/0.9531, allocations: 164.2 kB / 0.5455 GB, free: 82.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/0.9532, allocations: 61.53 kB / 0.5455 GB, free: 82.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.085e-05/0.9532, allocations: 4 kB / 0.5455 GB, free: 82.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.378e-05/0.9533, allocations: 334.2 kB / 0.5459 GB, free: 81.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.9534, allocations: 81.72 kB / 0.5459 GB, free: 81.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.9536, allocations: 147.2 kB / 0.5461 GB, free: 81.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.9537, allocations: 107.1 kB / 0.5462 GB, free: 81.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.9537, allocations: 0 / 0.5462 GB, free: 81.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003256/0.954, allocations: 290.4 kB / 0.5465 GB, free: 81.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.9541, allocations: 7.375 kB / 0.5465 GB, free: 81.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-06/0.9541, allocations: 2.969 kB / 0.5465 GB, free: 81.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.465e-05/0.9541, allocations: 2.594 kB / 0.5465 GB, free: 81.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.9543, allocations: 53.75 kB / 0.5465 GB, free: 81.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.9544, allocations: 7.531 kB / 0.5465 GB, free: 81.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001342/0.9545, allocations: 19.64 kB / 0.5465 GB, free: 81.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.9545, allocations: 15.55 kB / 0.5466 GB, free: 81.47 MB / 378.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.25e-05/0.9546, allocations: 124.4 kB / 0.5467 GB, free: 81.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.95e-05/0.9546, allocations: 19.28 kB / 0.5467 GB, free: 81.33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003172/0.955, allocations: 229.1 kB / 0.5469 GB, free: 81.19 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.955, allocations: 0 / 0.5469 GB, free: 81.19 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.955, allocations: 3.875 kB / 0.5469 GB, free: 81.19 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.955, allocations: 0 / 0.5469 GB, free: 81.19 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.9561, allocations: 0.9567 MB / 0.5479 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.9561, allocations: 3.844 kB / 0.5479 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.9562, allocations: 43.39 kB / 0.5479 GB, free: 80.41 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.9562, allocations: 4.438 kB / 0.5479 GB, free: 80.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.9562, allocations: 11.88 kB / 0.5479 GB, free: 80.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.9563, allocations: 7.969 kB / 0.5479 GB, free: 80.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.9563, allocations: 7.906 kB / 0.5479 GB, free: 80.4 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004034/0.9567, allocations: 0.5904 MB / 0.5485 GB, free: 79.7 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.544e-05/0.9567, allocations: 100.9 kB / 0.5486 GB, free: 79.59 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.266e-05/0.9568, allocations: 8 kB / 0.5486 GB, free: 79.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.9569, allocations: 19.98 kB / 0.5486 GB, free: 79.56 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.957, allocations: 19.88 kB / 0.5486 GB, free: 79.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.957, allocations: 12 kB / 0.5487 GB, free: 79.53 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.757e-05/0.9571, allocations: 150.8 kB / 0.5488 GB, free: 79.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.9571, allocations: 4 kB / 0.5488 GB, free: 79.38 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003292/0.9575, allocations: 56 kB / 0.5489 GB, free: 79.32 MB / 378.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001304/0.9576, allocations: 119.6 kB / 0.549 GB, free: 79.2 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002892/0.9579, allocations: 209.9 kB / 0.5492 GB, free: 78.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.9579, allocations: 0 / 0.5492 GB, free: 78.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.958, allocations: 104.9 kB / 0.5493 GB, free: 78.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.9583, allocations: 40.11 kB / 0.5493 GB, free: 78.85 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005966/0.9589, allocations: 422.1 kB / 0.5497 GB, free: 78.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.9592, allocations: 0.7792 MB / 0.5505 GB, free: 77.56 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001706/0.9594, allocations: 49.5 kB / 0.5505 GB, free: 77.51 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.575e-05/0.9594, allocations: 23.44 kB / 0.5505 GB, free: 77.49 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.9594, allocations: 0 / 0.5505 GB, free: 77.49 MB / 378.7 MB Notification: Performance of Templates: time 0.00443/0.9639, allocations: 1.716 MB / 0.5522 GB, free: 75.79 MB / 378.7 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)