Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.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.InductiveLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest") translateModel(PowerSystems.Examples.Generic.Test.InductiveLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest") [: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.001753/0.001752, allocations: 188.5 kB / 7.805 MB, free: 2.473 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.715/1.715, 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.001273/0.001273, allocations: 95.83 kB / 261.4 MB, free: 13.61 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.3302/0.3302, allocations: 37.97 MB / 347.3 MB, free: 7.539 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.185e-06/8.225e-06, allocations: 0 / 409.3 MB, free: 47.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09617/0.0962, allocations: 56.33 MB / 465.6 MB, free: 6.848 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3236/0.4199, allocations: 93.27 MB / 0.5458 GB, free: 1.621 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003096/0.4202, allocations: 79.95 kB / 0.5459 GB, free: 1.543 MB / 378.7 MB Notification: Performance of FrontEnd: time 0.07226/0.4925, allocations: 17.48 MB / 0.563 GB, free: 15.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.334e-05/0.4926, allocations: 8 kB / 0.563 GB, free: 15.83 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001086/0.4937, allocations: 0.5473 MB / 0.5635 GB, free: 15.24 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.4938, allocations: 11.97 kB / 0.5635 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002021/0.4958, allocations: 143.3 kB / 0.5636 GB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006789/0.4965, allocations: 289.2 kB / 0.5639 GB, free: 14.76 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.4965, allocations: 12 kB / 0.5639 GB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.041e-05/0.4966, allocations: 19.98 kB / 0.564 GB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000877/0.4975, allocations: 309.2 kB / 0.5643 GB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009678/0.4985, allocations: 402.8 kB / 0.5646 GB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.4985, allocations: 0 / 0.5646 GB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.358e-05/0.4986, allocations: 0 / 0.5646 GB, free: 14.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002242/0.4988, allocations: 40.62 kB / 0.5647 GB, free: 13.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00357/0.5024, allocations: 1.666 MB / 0.5663 GB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004383/0.5029, allocations: 189.4 kB / 0.5665 GB, free: 11.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003424/0.5033, allocations: 134.1 kB / 0.5666 GB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.437e-05/0.5033, allocations: 4.188 kB / 0.5666 GB, free: 11.84 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.731e-05/0.5034, allocations: 34.75 kB / 0.5666 GB, free: 11.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 3.396e-06/0.5034, allocations: 0 / 0.5666 GB, free: 11.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.001822/0.5052, allocations: 0.5174 MB / 0.5672 GB, free: 11.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/0.5053, allocations: 85.14 kB / 0.5672 GB, free: 11.17 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002452/0.5056, allocations: 171 kB / 0.5674 GB, free: 11 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.5056, allocations: 25.7 kB / 0.5674 GB, free: 10.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.5057, allocations: 230.2 kB / 0.5676 GB, free: 10.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.424e-05/0.5058, allocations: 78.84 kB / 0.5677 GB, free: 10.66 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.96e-05/0.5059, allocations: 0 / 0.5677 GB, free: 10.66 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001294/0.506, allocations: 330.7 kB / 0.568 GB, free: 10.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002824/0.5063, allocations: 96.53 kB / 0.5681 GB, free: 10.23 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003407/0.5067, allocations: 200.8 kB / 0.5683 GB, free: 9.992 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003502/0.507, allocations: 137.2 kB / 0.5684 GB, free: 9.859 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.507, allocations: 4 kB / 0.5684 GB, free: 9.855 MB / 410.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001261/0.5083, allocations: 394.7 kB / 0.5688 GB, free: 9.461 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.5084, allocations: 4 kB / 0.5688 GB, free: 9.457 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.5084, allocations: 4 kB / 0.5688 GB, free: 9.453 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005177/0.5089, allocations: 77.2 kB / 0.5689 GB, free: 9.375 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004508/0.5094, allocations: 55.91 kB / 0.569 GB, free: 9.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002494/0.5119, allocations: 1.561 MB / 0.5705 GB, free: 7.645 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003085/0.5122, allocations: 11.98 kB / 0.5705 GB, free: 7.633 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-05/0.5123, allocations: 16.06 kB / 0.5705 GB, free: 7.617 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (29): * Single equations (assignments): 28 * 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: 1 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.5124, allocations: 37.66 kB / 0.5705 GB, free: 7.574 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.354e-05/0.5125, allocations: 23.72 kB / 0.5706 GB, free: 7.551 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001262/0.5138, allocations: 375.8 kB / 0.5709 GB, free: 7.18 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.5138, allocations: 7.938 kB / 0.5709 GB, free: 7.172 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.5138, allocations: 3.938 kB / 0.5709 GB, free: 7.168 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.5138, allocations: 0 / 0.5709 GB, free: 7.168 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002389/0.5162, allocations: 0.8543 MB / 0.5718 GB, free: 6.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.5163, allocations: 0 / 0.5718 GB, free: 6.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000336/0.5166, allocations: 39.91 kB / 0.5718 GB, free: 6.211 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005073/0.5171, allocations: 72.77 kB / 0.5719 GB, free: 6.137 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.927e-05/0.5172, allocations: 8 kB / 0.5719 GB, free: 6.129 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002621/0.5198, allocations: 1.611 MB / 0.5735 GB, free: 4.398 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.5199, allocations: 4.062 kB / 0.5735 GB, free: 4.395 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001221/0.5211, allocations: 491.6 kB / 0.5739 GB, free: 3.867 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.5212, allocations: 96.81 kB / 0.574 GB, free: 3.754 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.553e-05/0.5213, allocations: 4 kB / 0.574 GB, free: 3.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000276/0.5216, allocations: 4 kB / 0.574 GB, free: 3.746 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.4e-05/0.5217, allocations: 19.88 kB / 0.5741 GB, free: 3.727 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.851e-05/0.5217, allocations: 8 kB / 0.5741 GB, free: 3.719 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0001905/0.5219, allocations: 137.5 kB / 0.5742 GB, free: 3.586 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006817/0.5226, allocations: 80 kB / 0.5743 GB, free: 3.508 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 (22): * Single equations (assignments): 20 * 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: 1 {(2,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001917/0.5228, allocations: 103.2 kB / 0.5744 GB, free: 3.395 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009394/0.5237, allocations: 386.3 kB / 0.5747 GB, free: 3.008 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.5238, allocations: 4.062 kB / 0.5747 GB, free: 3.004 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006673/0.5244, allocations: 261.5 kB / 0.575 GB, free: 2.738 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004176/0.5249, allocations: 31.88 kB / 0.575 GB, free: 2.707 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001442/0.5263, allocations: 485.7 kB / 0.5755 GB, free: 2.199 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006319/0.527, allocations: 0.8295 MB / 0.5763 GB, free: 1.344 MB / 410.7 MB Notification: Performance of SimCode: time 1.052e-06/0.527, allocations: 0 / 0.5763 GB, free: 1.344 MB / 410.7 MB Notification: Performance of Templates: time 0.01005/0.5371, allocations: 4.436 MB / 0.5806 GB, free: 12.89 MB / 426.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.InductiveLoadTest.pipe 2>&1)