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.00159/0.00159, allocations: 179.3 kB / 17.4 MB, free: 4.414 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.558/1.558, allocations: 194.5 MB / 212.6 MB, free: 2.848 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.001605/0.001605, allocations: 128.1 kB / 257.9 MB, free: 4.234 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1834/0.1834, allocations: 38.01 MB / 341.1 MB, free: 1.164 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004441/0.0004441, allocations: 15.98 kB / 405 MB, free: 68.47 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1025, allocations: 53.23 MB / 458.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3366/0.4391, allocations: 89.73 MB / 0.5351 GB, free: 5.664 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.4394, allocations: 93.44 kB / 0.5352 GB, free: 5.613 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03313/0.4725, allocations: 14.29 MB / 0.5492 GB, free: 9.793 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.4726, allocations: 0 / 0.5492 GB, free: 9.793 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.725e-05/0.4726, allocations: 4 kB / 0.5492 GB, free: 9.789 MB / 362.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.0008118/0.4735, allocations: 0.4989 MB / 0.5497 GB, free: 9.254 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.4735, allocations: 8.031 kB / 0.5497 GB, free: 9.246 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008877/0.4744, allocations: 97.17 kB / 0.5498 GB, free: 9.152 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003886/0.4748, allocations: 266.6 kB / 0.55 GB, free: 8.871 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/0.4749, allocations: 16.61 kB / 0.55 GB, free: 8.859 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.541e-05/0.4749, allocations: 29.52 kB / 0.5501 GB, free: 8.836 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005097/0.4754, allocations: 307.2 kB / 0.5504 GB, free: 8.59 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.4755, allocations: 4.188 kB / 0.5504 GB, free: 8.586 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/0.4755, allocations: 12.56 kB / 0.5504 GB, free: 8.578 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.954e-05/0.4756, allocations: 25.73 kB / 0.5504 GB, free: 8.555 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004418/0.476, allocations: 278.1 kB / 0.5507 GB, free: 8.363 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001616/0.4777, allocations: 1.275 MB / 0.5519 GB, free: 7.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003903/0.4781, allocations: 230 kB / 0.5521 GB, free: 6.996 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001265/0.4782, allocations: 101.3 kB / 0.5522 GB, free: 6.922 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.438e-05/0.4782, allocations: 4 kB / 0.5522 GB, free: 6.918 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.4783, allocations: 34.56 kB / 0.5523 GB, free: 6.875 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.623e-06/0.4783, allocations: 0 / 0.5523 GB, free: 6.875 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007483/0.479, allocations: 438.2 kB / 0.5527 GB, free: 6.547 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.4791, allocations: 91.92 kB / 0.5528 GB, free: 6.441 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.4793, allocations: 193.5 kB / 0.553 GB, free: 6.266 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.4793, allocations: 28.77 kB / 0.553 GB, free: 6.234 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.703e-05/0.4794, allocations: 162.7 kB / 0.5531 GB, free: 6.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.187e-05/0.4795, allocations: 62.06 kB / 0.5532 GB, free: 6.035 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.678e-06/0.4795, allocations: 3.25 kB / 0.5532 GB, free: 6.035 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.4796, allocations: 329.6 kB / 0.5535 GB, free: 5.711 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.4797, allocations: 87.47 kB / 0.5536 GB, free: 5.652 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.4799, allocations: 157.5 kB / 0.5538 GB, free: 5.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003005/0.4802, allocations: 255.4 kB / 0.554 GB, free: 5.293 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.4802, allocations: 0 / 0.554 GB, free: 5.293 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004145/0.4806, allocations: 296.6 kB / 0.5543 GB, free: 5.07 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.4807, allocations: 8 kB / 0.5543 GB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.4807, allocations: 288 / 0.5543 GB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.4807, allocations: 8 kB / 0.5543 GB, free: 5.055 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002413/0.4809, allocations: 63.22 kB / 0.5544 GB, free: 4.996 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.684e-06/0.481, allocations: 0 / 0.5544 GB, free: 4.996 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.4811, allocations: 15.36 kB / 0.5544 GB, free: 4.984 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.4811, allocations: 11.98 kB / 0.5544 GB, free: 4.973 MB / 362.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001432/0.4813, allocations: 160.1 kB / 0.5545 GB, free: 4.824 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.412e-05/0.4813, allocations: 15.81 kB / 0.5545 GB, free: 4.809 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003651/0.4817, allocations: 238.6 kB / 0.5548 GB, free: 4.633 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.4817, allocations: 3.938 kB / 0.5548 GB, free: 4.629 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.4817, allocations: 0 / 0.5548 GB, free: 4.629 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.4817, allocations: 0 / 0.5548 GB, free: 4.629 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/0.483, allocations: 0.9586 MB / 0.5557 GB, free: 3.742 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.483, allocations: 4.031 kB / 0.5557 GB, free: 3.738 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001384/0.4832, allocations: 31.98 kB / 0.5558 GB, free: 3.707 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.876e-06/0.4832, allocations: 11.98 kB / 0.5558 GB, free: 3.695 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.4832, allocations: 7.625 kB / 0.5558 GB, free: 3.691 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.4832, allocations: 11.92 kB / 0.5558 GB, free: 3.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.4832, allocations: 7.938 kB / 0.5558 GB, free: 3.672 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004116/0.4836, allocations: 411.1 kB / 0.5562 GB, free: 3.266 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-05/0.4837, allocations: 100.6 kB / 0.5563 GB, free: 3.152 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.256e-05/0.4838, allocations: 11.62 kB / 0.5563 GB, free: 3.145 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001551/0.4839, allocations: 7.984 kB / 0.5563 GB, free: 3.137 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.888e-05/0.484, allocations: 27.55 kB / 0.5563 GB, free: 3.113 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.484, allocations: 15.62 kB / 0.5563 GB, free: 3.102 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001396/0.4841, allocations: 145.2 kB / 0.5565 GB, free: 2.977 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4842, allocations: 0 / 0.5565 GB, free: 2.977 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004252/0.4846, allocations: 71.11 kB / 0.5565 GB, free: 2.914 MB / 362.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 () * 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 (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.000196/0.4848, allocations: 110.8 kB / 0.5566 GB, free: 2.801 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003653/0.4852, allocations: 213.6 kB / 0.5569 GB, free: 2.648 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.4852, allocations: 0 / 0.5569 GB, free: 2.648 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001588/0.4853, allocations: 99.14 kB / 0.5569 GB, free: 2.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005305/0.4859, allocations: 42.41 kB / 0.557 GB, free: 2.539 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.4871, allocations: 0.6538 MB / 0.5576 GB, free: 1.871 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.4875, allocations: 0.7616 MB / 0.5584 GB, free: 1.094 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001615/0.4877, allocations: 53.5 kB / 0.5584 GB, free: 1.043 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.473e-05/0.4877, allocations: 19.44 kB / 0.5584 GB, free: 1.023 MB / 362.7 MB Notification: Performance of SimCode: time 4.71e-07/0.4878, allocations: 0 / 0.5584 GB, free: 1.023 MB / 362.7 MB Notification: Performance of Templates: time 0.004308/0.4921, allocations: 1.722 MB / 0.5601 GB, free: 15.32 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)