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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002652/0.002652, allocations: 190.3 kB / 7.804 MB, free: 2.484 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 1.962/1.962, allocations: 205.2 MB / 213.4 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00134/0.001339, allocations: 100.2 kB / 261.4 MB, free: 13.62 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.279/0.279, allocations: 37.98 MB / 347.3 MB, free: 7.543 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.005e-06/8.166e-06, allocations: 0 / 409.3 MB, free: 47.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1052, allocations: 56.32 MB / 465.6 MB, free: 6.859 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3506/0.4558, allocations: 94.03 MB / 0.5465 GB, free: 0.8555 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003196/0.4562, allocations: 79.95 kB / 0.5466 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.05774/0.514, allocations: 13.71 MB / 0.56 GB, free: 2.918 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.084e-05/0.514, allocations: 8 kB / 0.56 GB, free: 2.91 MB / 394.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.0009188/0.515, allocations: 490.4 kB / 0.5605 GB, free: 2.387 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.515, allocations: 8.031 kB / 0.5605 GB, free: 2.379 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001629/0.5167, allocations: 115.6 kB / 0.5606 GB, free: 2.266 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006203/0.5173, allocations: 270.5 kB / 0.5609 GB, free: 1.961 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.782e-05/0.5174, allocations: 4 kB / 0.5609 GB, free: 1.957 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.191e-05/0.5174, allocations: 12 kB / 0.5609 GB, free: 1.945 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006245/0.5181, allocations: 204.3 kB / 0.5611 GB, free: 1.746 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007257/0.5188, allocations: 305.7 kB / 0.5614 GB, free: 1.422 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.063e-05/0.5189, allocations: 0 / 0.5614 GB, free: 1.422 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.604e-05/0.5189, allocations: 0 / 0.5614 GB, free: 1.422 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001473/0.5191, allocations: 23.98 kB / 0.5614 GB, free: 1.398 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002833/0.5219, allocations: 1.266 MB / 0.5626 GB, free: 60 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005777/0.5225, allocations: 165.1 kB / 0.5628 GB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003034/0.5229, allocations: 125.7 kB / 0.5629 GB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.388e-05/0.5229, allocations: 4 kB / 0.5629 GB, free: 15.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.523, allocations: 30.56 kB / 0.5629 GB, free: 15.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=19): time 3.747e-06/0.523, allocations: 3.938 kB / 0.5629 GB, free: 15.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.001894/0.5249, allocations: 473.1 kB / 0.5634 GB, free: 15.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.112e-05/0.525, allocations: 85.14 kB / 0.5635 GB, free: 15.13 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002755/0.5253, allocations: 153.5 kB / 0.5636 GB, free: 14.97 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.86e-05/0.5254, allocations: 29.64 kB / 0.5636 GB, free: 14.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001341/0.5255, allocations: 194.6 kB / 0.5638 GB, free: 14.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.5256, allocations: 70.94 kB / 0.5639 GB, free: 14.67 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.656e-05/0.5257, allocations: 0 / 0.5639 GB, free: 14.67 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.5258, allocations: 322.8 kB / 0.5642 GB, free: 14.35 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002533/0.5261, allocations: 88.44 kB / 0.5643 GB, free: 14.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/0.5265, allocations: 150.7 kB / 0.5644 GB, free: 14.08 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003373/0.5268, allocations: 123.8 kB / 0.5646 GB, free: 13.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.5268, allocations: 3.938 kB / 0.5646 GB, free: 13.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001271/0.5281, allocations: 338.1 kB / 0.5649 GB, free: 13.62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/0.5282, allocations: 4.281 kB / 0.5649 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.5282, allocations: 4 kB / 0.5649 GB, free: 13.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006479/0.5288, allocations: 88.78 kB / 0.565 GB, free: 13.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003615/0.5292, allocations: 39.92 kB / 0.565 GB, free: 13.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003374/0.5326, allocations: 1.77 MB / 0.5667 GB, free: 11.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002639/0.5329, allocations: 15.92 kB / 0.5668 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.234e-05/0.533, allocations: 12.06 kB / 0.5668 GB, free: 11.56 MB / 410.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.000115/0.5331, allocations: 33.7 kB / 0.5668 GB, free: 11.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.544e-05/0.5332, allocations: 15.81 kB / 0.5668 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/0.5345, allocations: 333.5 kB / 0.5671 GB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.5346, allocations: 4 kB / 0.5671 GB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.5346, allocations: 0 / 0.5671 GB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/0.5346, allocations: 7.891 kB / 0.5671 GB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002336/0.5369, allocations: 0.7473 MB / 0.5679 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.537, allocations: 0 / 0.5679 GB, free: 10.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002851/0.5373, allocations: 36.03 kB / 0.5679 GB, free: 10.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005689/0.5379, allocations: 76.92 kB / 0.568 GB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.092e-05/0.538, allocations: 4 kB / 0.568 GB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003117/0.5411, allocations: 1.712 MB / 0.5697 GB, free: 8.418 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.675e-06/0.5411, allocations: 4 kB / 0.5697 GB, free: 8.414 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001144/0.5423, allocations: 464.2 kB / 0.5701 GB, free: 7.914 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.549e-05/0.5424, allocations: 92.91 kB / 0.5702 GB, free: 7.805 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.389e-05/0.5425, allocations: 7.938 kB / 0.5702 GB, free: 7.797 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000238/0.5427, allocations: 4 kB / 0.5702 GB, free: 7.793 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.814e-05/0.5428, allocations: 15.98 kB / 0.5702 GB, free: 7.777 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.32e-05/0.5428, allocations: 4 kB / 0.5702 GB, free: 7.773 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001535/0.543, allocations: 124.3 kB / 0.5703 GB, free: 7.652 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006179/0.5436, allocations: 67.94 kB / 0.5704 GB, free: 7.586 MB / 410.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.0001854/0.5438, allocations: 99.25 kB / 0.5705 GB, free: 7.477 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001026/0.5448, allocations: 369.9 kB / 0.5709 GB, free: 7.105 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.5449, allocations: 0 / 0.5709 GB, free: 7.105 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006422/0.5455, allocations: 245.5 kB / 0.5711 GB, free: 6.855 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.5459, allocations: 36.17 kB / 0.5711 GB, free: 6.82 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.5472, allocations: 393.6 kB / 0.5715 GB, free: 6.398 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005562/0.5477, allocations: 0.7933 MB / 0.5723 GB, free: 5.582 MB / 410.7 MB Notification: Performance of SimCode: time 1.012e-06/0.5478, allocations: 4 kB / 0.5723 GB, free: 5.578 MB / 410.7 MB Notification: Performance of Templates: time 0.008268/0.556, allocations: 3.541 MB / 0.5757 GB, free: 2.031 MB / 410.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)