Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest.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.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest") translateModel(PowerSystems.Examples.Generic.Test.FixedCurrentTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest") [: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.001842/0.001842, allocations: 189.7 kB / 7.805 MB, free: 2.488 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.898/1.898, allocations: 205.2 MB / 213.4 MB, free: 13.92 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.001235/0.001235, allocations: 90.61 kB / 261.4 MB, free: 13.63 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.3615/0.3615, allocations: 37.97 MB / 347.3 MB, free: 7.547 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.052e-05/1.098e-05, allocations: 4 kB / 409.3 MB, free: 47.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1119, allocations: 56.32 MB / 465.6 MB, free: 6.852 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3511/0.463, allocations: 93.92 MB / 0.5464 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003175/0.4634, allocations: 79.95 kB / 0.5465 GB, free: 0.8711 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.05684/0.5203, allocations: 13.82 MB / 0.56 GB, free: 2.906 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.048e-05/0.5204, allocations: 4 kB / 0.56 GB, free: 2.902 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.0008916/0.5213, allocations: 494.5 kB / 0.5605 GB, free: 2.375 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.5213, allocations: 8.031 kB / 0.5605 GB, free: 2.367 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001448/0.5228, allocations: 103.5 kB / 0.5606 GB, free: 2.266 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000557/0.5233, allocations: 262.5 kB / 0.5608 GB, free: 1.969 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.144e-05/0.5234, allocations: 8 kB / 0.5608 GB, free: 1.961 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.166e-05/0.5235, allocations: 8 kB / 0.5609 GB, free: 1.953 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000642/0.5241, allocations: 208.3 kB / 0.561 GB, free: 1.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006741/0.5248, allocations: 289.7 kB / 0.5613 GB, free: 1.441 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.5248, allocations: 0 / 0.5613 GB, free: 1.441 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.456e-05/0.5249, allocations: 0 / 0.5613 GB, free: 1.441 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001416/0.525, allocations: 31.95 kB / 0.5614 GB, free: 1.41 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002902/0.528, allocations: 1.302 MB / 0.5626 GB, free: 16 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006024/0.5286, allocations: 217.1 kB / 0.5628 GB, free: 15.79 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002408/0.5289, allocations: 97.75 kB / 0.5629 GB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.5289, allocations: 288 / 0.5629 GB, free: 15.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.1e-05/0.529, allocations: 34.55 kB / 0.563 GB, free: 15.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 2.314e-06/0.529, allocations: 4 kB / 0.563 GB, free: 15.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.001095/0.5301, allocations: 353.6 kB / 0.5633 GB, free: 15.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.248e-05/0.5302, allocations: 81.09 kB / 0.5634 GB, free: 15.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002682/0.5304, allocations: 171.2 kB / 0.5635 GB, free: 15.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/0.5305, allocations: 25.7 kB / 0.5636 GB, free: 14.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00012/0.5306, allocations: 206.4 kB / 0.5638 GB, free: 14.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.526e-05/0.5307, allocations: 55.2 kB / 0.5638 GB, free: 14.72 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.593e-05/0.5307, allocations: 0 / 0.5638 GB, free: 14.72 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.5309, allocations: 326.8 kB / 0.5641 GB, free: 14.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.5311, allocations: 88.38 kB / 0.5642 GB, free: 14.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003133/0.5314, allocations: 146.7 kB / 0.5644 GB, free: 14.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003194/0.5318, allocations: 107.9 kB / 0.5645 GB, free: 14.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5318, allocations: 0 / 0.5645 GB, free: 14.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0006756/0.5325, allocations: 261.5 kB / 0.5647 GB, free: 13.76 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.5325, allocations: 12.03 kB / 0.5647 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.5325, allocations: 0 / 0.5647 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.5326, allocations: 4 kB / 0.5647 GB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004976/0.5331, allocations: 51.91 kB / 0.5648 GB, free: 13.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.5331, allocations: 7.984 kB / 0.5648 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/0.5333, allocations: 8 kB / 0.5648 GB, free: 13.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/0.5334, allocations: 12 kB / 0.5648 GB, free: 13.66 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 (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.0001016/0.5335, allocations: 41.53 kB / 0.5648 GB, free: 13.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.543e-05/0.5336, allocations: 23.72 kB / 0.5649 GB, free: 13.59 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006346/0.5342, allocations: 224.2 kB / 0.5651 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.306e-06/0.5343, allocations: 4 kB / 0.5651 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.5343, allocations: 0 / 0.5651 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.5343, allocations: 0 / 0.5651 GB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002538/0.5368, allocations: 1.08 MB / 0.5661 GB, free: 12.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-05/0.5369, allocations: 8 kB / 0.5661 GB, free: 12.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003026/0.5372, allocations: 39.84 kB / 0.5662 GB, free: 12.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-05/0.5372, allocations: 8 kB / 0.5662 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.79e-05/0.5373, allocations: 7.984 kB / 0.5662 GB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.816e-06/0.5373, allocations: 4 kB / 0.5662 GB, free: 12.08 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.627e-05/0.5373, allocations: 16.34 kB / 0.5662 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008058/0.5381, allocations: 0.6042 MB / 0.5668 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.5383, allocations: 92.92 kB / 0.5669 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.169e-05/0.5383, allocations: 11.98 kB / 0.5669 GB, free: 11.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002789/0.5386, allocations: 8 kB / 0.5669 GB, free: 11.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.892e-05/0.5387, allocations: 19.89 kB / 0.5669 GB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/0.5387, allocations: 12 kB / 0.5669 GB, free: 11.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001947/0.5389, allocations: 143 kB / 0.5671 GB, free: 10.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005369/0.5395, allocations: 52 kB / 0.5671 GB, free: 10.94 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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.0002429/0.5397, allocations: 119.1 kB / 0.5672 GB, free: 10.81 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005912/0.5403, allocations: 204.2 kB / 0.5674 GB, free: 10.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.756e-06/0.5404, allocations: 4 kB / 0.5674 GB, free: 10.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002412/0.5406, allocations: 89.16 kB / 0.5675 GB, free: 10.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005353/0.5412, allocations: 40.06 kB / 0.5676 GB, free: 10.48 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.5426, allocations: 475.3 kB / 0.568 GB, free: 9.938 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000648/0.5432, allocations: 0.7823 MB / 0.5688 GB, free: 9.129 MB / 410.7 MB Notification: Performance of SimCode: time 1.473e-06/0.5433, allocations: 0 / 0.5688 GB, free: 9.129 MB / 410.7 MB Notification: Performance of Templates: time 0.006829/0.5501, allocations: 2.573 MB / 0.5713 GB, free: 6.551 MB / 410.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.FixedCurrentTest.pipe 2>&1)