Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.FixedLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest") translateModel(PowerSystems.Examples.Generic.Test.FixedLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001429/0.001428, allocations: 189 kB / 8.013 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.124/2.124, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001078/0.001078, allocations: 82.66 kB / 261.8 MB, free: 1.676 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.262/0.262, allocations: 38 MB / 347.7 MB, free: 5.762 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.054e-05/2.066e-05, allocations: 4 kB / 409.9 MB, free: 35.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1281, allocations: 56.32 MB / 466.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5339/0.6621, allocations: 94.06 MB / 0.5471 GB, free: 11.05 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003808/0.6626, allocations: 85.3 kB / 0.5472 GB, free: 11.04 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07595/0.7385, allocations: 14.05 MB / 0.5609 GB, free: 4.875 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.7386, allocations: 4 kB / 0.5609 GB, free: 4.871 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.461e-05/0.7387, allocations: 8 kB / 0.5609 GB, free: 4.863 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.001052/0.7397, allocations: 492.6 kB / 0.5614 GB, free: 4.352 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/0.7398, allocations: 8.031 kB / 0.5614 GB, free: 4.344 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002481/0.7423, allocations: 115.5 kB / 0.5615 GB, free: 4.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007313/0.7431, allocations: 273.6 kB / 0.5618 GB, free: 3.949 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/0.7432, allocations: 4 kB / 0.5618 GB, free: 3.945 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.562e-05/0.7433, allocations: 12 kB / 0.5618 GB, free: 3.934 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007369/0.744, allocations: 200.2 kB / 0.562 GB, free: 3.805 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008271/0.7449, allocations: 291.7 kB / 0.5622 GB, free: 3.559 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.708e-05/0.745, allocations: 0 / 0.5622 GB, free: 3.559 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.888e-05/0.745, allocations: 0 / 0.5622 GB, free: 3.559 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001926/0.7452, allocations: 27.41 kB / 0.5623 GB, free: 3.535 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003233/0.7485, allocations: 1.252 MB / 0.5635 GB, free: 2.395 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004978/0.749, allocations: 172.7 kB / 0.5637 GB, free: 2.254 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000304/0.7494, allocations: 115.5 kB / 0.5638 GB, free: 2.176 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.105e-05/0.7494, allocations: 4 kB / 0.5638 GB, free: 2.172 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.7495, allocations: 34.56 kB / 0.5638 GB, free: 2.129 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 5.019e-06/0.7495, allocations: 0 / 0.5638 GB, free: 2.129 MB / 362.7 MB Notification: Performance of matching and sorting (n=20): time 0.002022/0.7516, allocations: 465.1 kB / 0.5643 GB, free: 1.766 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.7517, allocations: 81.11 kB / 0.5643 GB, free: 1.668 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002306/0.7519, allocations: 147.4 kB / 0.5645 GB, free: 1.535 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.478e-05/0.752, allocations: 29.73 kB / 0.5645 GB, free: 1.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.7521, allocations: 212.6 kB / 0.5647 GB, free: 1.305 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.83e-05/0.7522, allocations: 65.2 kB / 0.5648 GB, free: 1.246 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.216e-05/0.7523, allocations: 0 / 0.5648 GB, free: 1.246 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.777e-05/0.7524, allocations: 324.5 kB / 0.5651 GB, free: 0.9258 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002688/0.7526, allocations: 87.19 kB / 0.5652 GB, free: 0.8672 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003044/0.753, allocations: 154.5 kB / 0.5653 GB, free: 0.7188 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003372/0.7533, allocations: 104.2 kB / 0.5654 GB, free: 0.6523 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.77e-06/0.7534, allocations: 4 kB / 0.5654 GB, free: 0.6484 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001506/0.7549, allocations: 343.6 kB / 0.5657 GB, free: 388 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.496e-05/0.755, allocations: 11.95 kB / 0.5657 GB, free: 376 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.755, allocations: 0 / 0.5657 GB, free: 376 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009129/0.7559, allocations: 92.81 kB / 0.5658 GB, free: 296 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004691/0.7564, allocations: 43.91 kB / 0.5659 GB, free: 252 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00515/0.7616, allocations: 1.836 MB / 0.5677 GB, free: 14.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004541/0.7621, allocations: 11.98 kB / 0.5677 GB, free: 14.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.896e-05/0.7622, allocations: 8 kB / 0.5677 GB, free: 14.48 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 (22): * Single equations (assignments): 21 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002603/0.7625, allocations: 120.1 kB / 0.5678 GB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001111/0.7626, allocations: 15.81 kB / 0.5678 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001602/0.7642, allocations: 331 kB / 0.5681 GB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.7643, allocations: 0 / 0.5681 GB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.884e-06/0.7643, allocations: 4 kB / 0.5681 GB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/0.7643, allocations: 8.016 kB / 0.5681 GB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002922/0.7673, allocations: 0.7324 MB / 0.5689 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.7673, allocations: 0 / 0.5689 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003792/0.7677, allocations: 35.3 kB / 0.5689 GB, free: 13.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006873/0.7684, allocations: 75.84 kB / 0.569 GB, free: 13.34 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.934e-05/0.7685, allocations: 6.812 kB / 0.569 GB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003833/0.7723, allocations: 1.745 MB / 0.5707 GB, free: 11.65 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.7724, allocations: 0 / 0.5707 GB, free: 11.65 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001447/0.7739, allocations: 459.4 kB / 0.5711 GB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.7741, allocations: 92.92 kB / 0.5712 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.938e-05/0.7741, allocations: 0 / 0.5712 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003857/0.7745, allocations: 11.92 kB / 0.5712 GB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.737e-05/0.7747, allocations: 19.66 kB / 0.5712 GB, free: 11.09 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.599e-05/0.7747, allocations: 8 kB / 0.5712 GB, free: 11.08 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002005/0.7749, allocations: 122.6 kB / 0.5714 GB, free: 10.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.12e-07/0.7749, allocations: 0 / 0.5714 GB, free: 10.98 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008795/0.7758, allocations: 64 kB / 0.5714 GB, free: 10.91 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001938/0.776, allocations: 111.2 kB / 0.5715 GB, free: 10.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.7771, allocations: 380.1 kB / 0.5719 GB, free: 10.49 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.7772, allocations: 0 / 0.5719 GB, free: 10.49 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007216/0.7779, allocations: 260.2 kB / 0.5721 GB, free: 10.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004324/0.7784, allocations: 22.92 kB / 0.5722 GB, free: 10.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/0.7794, allocations: 387.5 kB / 0.5725 GB, free: 9.887 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004698/0.7799, allocations: 0.7855 MB / 0.5733 GB, free: 9.086 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001053/0.78, allocations: 19.44 kB / 0.5733 GB, free: 9.07 MB / 378.7 MB Notification: Performance of SimCode: time 1.152e-06/0.7801, allocations: 3.938 kB / 0.5733 GB, free: 9.066 MB / 378.7 MB Notification: Performance of Templates: time 0.009146/0.7892, allocations: 3.452 MB / 0.5767 GB, free: 5.633 MB / 378.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedLoadTest.pipe 2>&1)