Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1480,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001707/0.001707, allocations: 196.1 kB / 8.138 MB, free: 2.191 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.165/1.165, allocations: 194.2 MB / 202.8 MB, free: 8.676 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001749/0.001749, allocations: 127 kB / 247.8 MB, free: 6.371 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1608/0.1608, allocations: 37.91 MB / 330.5 MB, free: 6.918 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.533e-06/6.683e-06, allocations: 0 / 389.8 MB, free: 78.12 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07791/0.07793, allocations: 53.24 MB / 443 MB, free: 24.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2322/0.3101, allocations: 88.39 MB / 0.519 GB, free: 10.88 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/0.3104, allocations: 87.98 kB / 0.519 GB, free: 10.87 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01589/0.3263, allocations: 5.766 MB / 0.5247 GB, free: 8.664 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.036e-05/0.3264, allocations: 12.91 kB / 0.5247 GB, free: 8.656 MB / 346.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.000602/0.327, allocations: 0.4991 MB / 0.5252 GB, free: 8.207 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.327, allocations: 9.625 kB / 0.5252 GB, free: 8.207 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.038e-05/0.3271, allocations: 32.88 kB / 0.5252 GB, free: 8.188 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00183/0.3289, allocations: 0.7515 MB / 0.526 GB, free: 7.77 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.329, allocations: 10.36 kB / 0.526 GB, free: 7.766 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.844e-05/0.329, allocations: 12.44 kB / 0.526 GB, free: 7.766 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002798/0.3293, allocations: 144.7 kB / 0.5261 GB, free: 7.75 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003026/0.3296, allocations: 239.9 kB / 0.5263 GB, free: 7.613 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.3296, allocations: 5.281 kB / 0.5263 GB, free: 7.609 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.975e-05/0.3297, allocations: 1.281 kB / 0.5263 GB, free: 7.609 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.3297, allocations: 5.344 kB / 0.5264 GB, free: 7.609 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009968/0.3307, allocations: 1.117 MB / 0.5274 GB, free: 6.664 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.3308, allocations: 78.08 kB / 0.5275 GB, free: 6.605 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.443e-05/0.3309, allocations: 24.53 kB / 0.5275 GB, free: 6.59 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.3309, allocations: 7.984 kB / 0.5275 GB, free: 6.582 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.802e-05/0.3309, allocations: 36.34 kB / 0.5276 GB, free: 6.543 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.3309, allocations: 3.938 kB / 0.5276 GB, free: 6.539 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005232/0.3314, allocations: 373.9 kB / 0.5279 GB, free: 6.207 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.351e-05/0.3315, allocations: 77.98 kB / 0.528 GB, free: 6.113 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.3316, allocations: 201.2 kB / 0.5282 GB, free: 5.992 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.3317, allocations: 26.73 kB / 0.5282 GB, free: 5.961 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.365e-05/0.3317, allocations: 167 kB / 0.5284 GB, free: 5.82 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.981e-05/0.3317, allocations: 31.3 kB / 0.5284 GB, free: 5.797 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-06/0.3318, allocations: 0 / 0.5284 GB, free: 5.797 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.963e-05/0.3318, allocations: 331.2 kB / 0.5287 GB, free: 5.477 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.386e-05/0.3319, allocations: 26.97 kB / 0.5288 GB, free: 5.473 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.021e-05/0.3319, allocations: 113.4 kB / 0.5289 GB, free: 5.348 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.967e-05/0.332, allocations: 45.36 kB / 0.5289 GB, free: 5.336 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.332, allocations: 1.312 kB / 0.5289 GB, free: 5.336 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002177/0.3322, allocations: 153.9 kB / 0.5291 GB, free: 5.266 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.3323, allocations: 5.75 kB / 0.5291 GB, free: 5.266 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.3323, allocations: 7.766 kB / 0.5291 GB, free: 5.262 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.3323, allocations: 4.688 kB / 0.5291 GB, free: 5.262 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.3325, allocations: 40.14 kB / 0.5291 GB, free: 5.254 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.3325, allocations: 4.438 kB / 0.5291 GB, free: 5.254 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001184/0.3326, allocations: 8.5 kB / 0.5291 GB, free: 5.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.447e-05/0.3326, allocations: 8.312 kB / 0.5291 GB, free: 5.25 MB / 346.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 (22): * Single equations (assignments): 22 * 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 6.379e-05/0.3327, allocations: 115.1 kB / 0.5293 GB, free: 5.137 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.463e-05/0.3328, allocations: 20.03 kB / 0.5293 GB, free: 5.125 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001401/0.3329, allocations: 91.31 kB / 0.5294 GB, free: 5.074 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.955e-06/0.3329, allocations: 1.594 kB / 0.5294 GB, free: 5.074 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3329, allocations: 0 / 0.5294 GB, free: 5.074 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3329, allocations: 0.6875 kB / 0.5294 GB, free: 5.074 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003274/0.3333, allocations: 378.6 kB / 0.5297 GB, free: 4.762 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.3333, allocations: 0 / 0.5297 GB, free: 4.762 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.3334, allocations: 21.8 kB / 0.5297 GB, free: 4.754 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.3334, allocations: 1.469 kB / 0.5297 GB, free: 4.754 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.3334, allocations: 1.125 kB / 0.5297 GB, free: 4.754 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.3334, allocations: 5.281 kB / 0.5297 GB, free: 4.75 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.3334, allocations: 1.125 kB / 0.5297 GB, free: 4.75 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002044/0.3336, allocations: 240.4 kB / 0.53 GB, free: 4.551 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.297e-05/0.3337, allocations: 97.41 kB / 0.5301 GB, free: 4.441 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/0.3337, allocations: 1.562 kB / 0.5301 GB, free: 4.441 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.3338, allocations: 1.688 kB / 0.5301 GB, free: 4.441 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.551e-05/0.3339, allocations: 5.156 kB / 0.5301 GB, free: 4.441 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.843e-06/0.3339, allocations: 6.688 kB / 0.5301 GB, free: 4.438 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001049/0.334, allocations: 151.7 kB / 0.5302 GB, free: 4.348 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003267/0.3343, allocations: 36.62 kB / 0.5303 GB, free: 4.348 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (ind.i) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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.0001009/0.3344, allocations: 101.8 kB / 0.5304 GB, free: 4.258 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000145/0.3346, allocations: 74.92 kB / 0.5304 GB, free: 4.246 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3346, allocations: 0.875 kB / 0.5304 GB, free: 4.246 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.213e-05/0.3346, allocations: 27.69 kB / 0.5305 GB, free: 4.238 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.335, allocations: 50.53 kB / 0.5305 GB, free: 4.223 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006479/0.3357, allocations: 310 kB / 0.5308 GB, free: 4.016 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002206/0.3359, allocations: 0.7903 MB / 0.5316 GB, free: 3.266 MB / 346.7 MB Notification: Performance of SimCode: time 2.71e-07/0.3359, allocations: 96 / 0.5316 GB, free: 3.266 MB / 346.7 MB Notification: Performance of Templates: time 0.004357/0.3403, allocations: 1.636 MB / 0.5332 GB, free: 2.461 MB / 346.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Source.pipe 2>&1)