Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source.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.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source") [: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.002501/0.002501, allocations: 193.6 kB / 7.805 MB, free: 2.5 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.656/1.656, allocations: 205.2 MB / 213.4 MB, free: 13.91 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.001222/0.001222, allocations: 98.48 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.2625/0.2625, allocations: 37.98 MB / 347.3 MB, free: 7.543 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.396e-06/8.546e-06, allocations: 0 / 409.3 MB, free: 47.23 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09604/0.09608, allocations: 56.32 MB / 465.6 MB, free: 6.844 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3361/0.4322, allocations: 100.6 MB / 0.553 GB, free: 10.2 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/0.4326, allocations: 83.95 kB / 0.5531 GB, free: 10.12 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.07102/0.5036, allocations: 14.65 MB / 0.5674 GB, free: 11.31 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.591e-05/0.5037, allocations: 8 kB / 0.5674 GB, free: 11.3 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001804/0.5055, allocations: 0.6601 MB / 0.568 GB, free: 10.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.5056, allocations: 12.03 kB / 0.5681 GB, free: 10.58 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.5067, allocations: 91.27 kB / 0.5681 GB, free: 10.49 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003582/0.5103, allocations: 0.8567 MB / 0.569 GB, free: 9.594 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.064e-05/0.5103, allocations: 12 kB / 0.569 GB, free: 9.582 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.5105, allocations: 27.91 kB / 0.569 GB, free: 9.555 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001337/0.5119, allocations: 493.5 kB / 0.5695 GB, free: 9.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/0.5133, allocations: 0.6261 MB / 0.5701 GB, free: 8.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/0.5134, allocations: 4 kB / 0.5701 GB, free: 8.406 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.174e-05/0.5135, allocations: 4 kB / 0.5701 GB, free: 8.402 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002544/0.5137, allocations: 60.72 kB / 0.5702 GB, free: 8.344 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006382/0.5201, allocations: 2.518 MB / 0.5726 GB, free: 5.703 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008247/0.521, allocations: 333.3 kB / 0.5729 GB, free: 5.359 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005314/0.5216, allocations: 245.7 kB / 0.5732 GB, free: 5.113 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.827e-05/0.5216, allocations: 7.984 kB / 0.5732 GB, free: 5.105 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.5217, allocations: 34.56 kB / 0.5732 GB, free: 5.062 MB / 410.7 MB Notification: Performance of pre-optimization done (n=43): time 3.406e-06/0.5217, allocations: 0 / 0.5732 GB, free: 5.062 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.0049/0.5266, allocations: 1.5 MB / 0.5747 GB, free: 3.504 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/0.5267, allocations: 89.08 kB / 0.5748 GB, free: 3.398 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000355/0.5271, allocations: 217 kB / 0.575 GB, free: 3.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.316e-05/0.5271, allocations: 25.7 kB / 0.575 GB, free: 3.148 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.5273, allocations: 278.8 kB / 0.5753 GB, free: 2.871 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000166/0.5275, allocations: 145.8 kB / 0.5754 GB, free: 2.727 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.149e-05/0.5275, allocations: 0 / 0.5754 GB, free: 2.727 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001881/0.5277, allocations: 338.8 kB / 0.5757 GB, free: 2.387 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005004/0.5282, allocations: 216.8 kB / 0.5759 GB, free: 2.176 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000616/0.5289, allocations: 329.5 kB / 0.5762 GB, free: 1.805 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/0.5302, allocations: 360.1 kB / 0.5766 GB, free: 1.449 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.5302, allocations: 4 kB / 0.5766 GB, free: 1.445 MB / 410.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00268/0.5329, allocations: 0.7836 MB / 0.5774 GB, free: 0.6523 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.5329, allocations: 8 kB / 0.5774 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002185/0.5351, allocations: 0.6357 MB / 0.578 GB, free: 0 / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006135/0.5358, allocations: 101.6 kB / 0.5781 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006038/0.5364, allocations: 71.89 kB / 0.5782 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00392/0.5403, allocations: 2.853 MB / 0.5809 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004333/0.5408, allocations: 15.94 kB / 0.581 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.14e-05/0.5409, allocations: 23.98 kB / 0.581 GB, free: 12.71 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (43): * Single equations (assignments): 38 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001479/0.541, allocations: 37.86 kB / 0.581 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.5412, allocations: 31.62 kB / 0.581 GB, free: 12.63 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002077/0.5432, allocations: 0.6252 MB / 0.5817 GB, free: 12 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001063/0.5434, allocations: 16.17 kB / 0.5817 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.5434, allocations: 0 / 0.5817 GB, free: 11.99 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/0.5434, allocations: 15.97 kB / 0.5817 GB, free: 11.97 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003599/0.547, allocations: 1.274 MB / 0.5829 GB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.029e-05/0.5471, allocations: 4 kB / 0.5829 GB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008238/0.5479, allocations: 71.89 kB / 0.583 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.281e-05/0.5479, allocations: 4.219 kB / 0.583 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.666e-05/0.548, allocations: 8 kB / 0.583 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-05/0.548, allocations: 4 kB / 0.583 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.548, allocations: 3.938 kB / 0.583 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002565/0.5506, allocations: 1.088 MB / 0.5841 GB, free: 9.344 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002948/0.5509, allocations: 144.7 kB / 0.5842 GB, free: 9.184 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.116e-05/0.551, allocations: 8 kB / 0.5842 GB, free: 9.176 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004402/0.5515, allocations: 11.98 kB / 0.5842 GB, free: 9.164 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.826e-05/0.5516, allocations: 27.88 kB / 0.5843 GB, free: 9.137 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.476e-05/0.5516, allocations: 8 kB / 0.5843 GB, free: 9.129 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0002597/0.5519, allocations: 175 kB / 0.5844 GB, free: 8.957 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007592/0.5527, allocations: 123.9 kB / 0.5846 GB, free: 8.836 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * Array equations: 3 * 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.0003275/0.553, allocations: 146.9 kB / 0.5847 GB, free: 8.684 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002022/0.5551, allocations: 0.7576 MB / 0.5854 GB, free: 7.906 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.5551, allocations: 0.9375 kB / 0.5854 GB, free: 7.906 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007927/0.5559, allocations: 264 kB / 0.5857 GB, free: 7.648 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006528/0.5566, allocations: 52.95 kB / 0.5857 GB, free: 7.594 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002712/0.5593, allocations: 0.9854 MB / 0.5867 GB, free: 6.555 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009133/0.5602, allocations: 0.9226 MB / 0.5876 GB, free: 5.602 MB / 426.7 MB Notification: Performance of SimCode: time 1.292e-06/0.5602, allocations: 0 / 0.5876 GB, free: 5.602 MB / 426.7 MB Notification: Performance of Templates: time 0.01563/0.5759, allocations: 7.068 MB / 0.5945 GB, free: 14.54 MB / 442.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1)