Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.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.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource") [: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.001682/0.001685, allocations: 183.9 kB / 7.801 MB, free: 2.445 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.709/1.709, 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.001278/0.001277, allocations: 101.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.2899/0.2899, allocations: 37.97 MB / 347.3 MB, free: 7.555 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.305e-06/8.396e-06, allocations: 0 / 409.3 MB, free: 47.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1002, allocations: 56.32 MB / 465.6 MB, free: 6.863 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3471/0.4473, allocations: 95.8 MB / 0.5483 GB, free: 15.11 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000362/0.4477, allocations: 87.94 kB / 0.5484 GB, free: 15.02 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.06576/0.5135, allocations: 12.12 MB / 0.5602 GB, free: 2.75 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.792e-05/0.5136, allocations: 8 kB / 0.5602 GB, free: 2.742 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.001715/0.5154, allocations: 0.6056 MB / 0.5608 GB, free: 2.09 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.5154, allocations: 8.031 kB / 0.5608 GB, free: 2.082 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001469/0.5169, allocations: 95.36 kB / 0.5609 GB, free: 1.988 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004693/0.5216, allocations: 0.8605 MB / 0.5617 GB, free: 1.086 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.032e-05/0.5217, allocations: 8 kB / 0.5618 GB, free: 1.078 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.5219, allocations: 20.84 kB / 0.5618 GB, free: 1.059 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001095/0.523, allocations: 277.5 kB / 0.562 GB, free: 0.7852 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.5244, allocations: 428.4 kB / 0.5624 GB, free: 352 kB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.14e-05/0.5244, allocations: 0 / 0.5624 GB, free: 352 kB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.428e-05/0.5245, allocations: 0 / 0.5624 GB, free: 352 kB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.958e-05/0.5246, allocations: 24.77 kB / 0.5625 GB, free: 328 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004808/0.5294, allocations: 1.63 MB / 0.5641 GB, free: 14.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004757/0.53, allocations: 124.3 kB / 0.5642 GB, free: 14.45 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003364/0.5303, allocations: 101.7 kB / 0.5643 GB, free: 14.34 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.5304, allocations: 0 / 0.5643 GB, free: 14.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.056e-05/0.5304, allocations: 38.56 kB / 0.5643 GB, free: 14.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=16): time 3.076e-06/0.5305, allocations: 0 / 0.5643 GB, free: 14.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.002344/0.5328, allocations: 0.6594 MB / 0.565 GB, free: 13.58 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.781e-05/0.5329, allocations: 77.11 kB / 0.565 GB, free: 13.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005346/0.5335, allocations: 239.4 kB / 0.5653 GB, free: 13.25 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.381e-05/0.5335, allocations: 29.7 kB / 0.5653 GB, free: 13.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002363/0.5338, allocations: 277.8 kB / 0.5656 GB, free: 12.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.5339, allocations: 67.03 kB / 0.5656 GB, free: 12.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.633e-05/0.534, allocations: 32 / 0.5656 GB, free: 12.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.5342, allocations: 326.8 kB / 0.5659 GB, free: 12.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003343/0.5345, allocations: 92.19 kB / 0.566 GB, free: 12.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004396/0.535, allocations: 185 kB / 0.5662 GB, free: 12.22 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004769/0.5355, allocations: 127.3 kB / 0.5663 GB, free: 12.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/0.5355, allocations: 7.906 kB / 0.5663 GB, free: 12.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00192/0.5374, allocations: 400.8 kB / 0.5667 GB, free: 11.69 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.5375, allocations: 8 kB / 0.5667 GB, free: 11.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001352/0.5389, allocations: 277.8 kB / 0.567 GB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009543/0.5398, allocations: 108.9 kB / 0.5671 GB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005455/0.5404, allocations: 55.91 kB / 0.5671 GB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005291/0.5457, allocations: 1.978 MB / 0.5691 GB, free: 9.152 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003856/0.5462, allocations: 7.906 kB / 0.5691 GB, free: 9.145 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.324e-05/0.5462, allocations: 12 kB / 0.5691 GB, free: 9.133 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001485/0.5464, allocations: 41.58 kB / 0.5691 GB, free: 9.086 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.5466, allocations: 27.62 kB / 0.5691 GB, free: 9.059 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009924/0.5476, allocations: 234 kB / 0.5694 GB, free: 8.816 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.5476, allocations: 0 / 0.5694 GB, free: 8.816 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.5476, allocations: 4 kB / 0.5694 GB, free: 8.812 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.5476, allocations: 0 / 0.5694 GB, free: 8.812 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002461/0.5501, allocations: 0.6797 MB / 0.57 GB, free: 8.074 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/0.5502, allocations: 8 kB / 0.57 GB, free: 8.066 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004673/0.5507, allocations: 39.97 kB / 0.5701 GB, free: 8.027 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002053/0.5509, allocations: 32.83 kB / 0.5701 GB, free: 7.992 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/0.5509, allocations: 4 kB / 0.5701 GB, free: 7.988 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001856/0.5528, allocations: 1.391 MB / 0.5715 GB, free: 6.488 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.396e-05/0.5529, allocations: 4.031 kB / 0.5715 GB, free: 6.484 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000983/0.5539, allocations: 488.6 kB / 0.5719 GB, free: 5.941 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001423/0.554, allocations: 100.9 kB / 0.572 GB, free: 5.824 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.384e-05/0.5541, allocations: 15.92 kB / 0.5721 GB, free: 5.809 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003038/0.5544, allocations: 4 kB / 0.5721 GB, free: 5.805 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.951e-05/0.5545, allocations: 15.89 kB / 0.5721 GB, free: 5.789 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-05/0.5545, allocations: 4 kB / 0.5721 GB, free: 5.785 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0003008/0.5548, allocations: 187.1 kB / 0.5723 GB, free: 5.602 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007075/0.5556, allocations: 87.98 kB / 0.5723 GB, free: 5.516 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002495/0.5558, allocations: 120.6 kB / 0.5725 GB, free: 5.391 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001049/0.5569, allocations: 349.7 kB / 0.5728 GB, free: 5.039 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/0.5569, allocations: 0 / 0.5728 GB, free: 5.039 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000516/0.5574, allocations: 211.3 kB / 0.573 GB, free: 4.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000628/0.5581, allocations: 52.69 kB / 0.573 GB, free: 4.77 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002081/0.5602, allocations: 0.7096 MB / 0.5737 GB, free: 4.016 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007891/0.561, allocations: 0.8803 MB / 0.5746 GB, free: 3.105 MB / 410.7 MB Notification: Performance of SimCode: time 1.363e-06/0.5611, allocations: 0 / 0.5746 GB, free: 3.105 MB / 410.7 MB Notification: Performance of Templates: time 0.01622/0.5773, allocations: 5.645 MB / 0.5801 GB, free: 13.45 MB / 426.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Generation.PVsource.pipe 2>&1)