Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.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.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Transformer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=15000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer") [: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.001668/0.001668, allocations: 195.9 kB / 8.142 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.125/1.125, 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.001696/0.001696, allocations: 114.1 kB / 247.7 MB, free: 6.414 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1654/0.1654, allocations: 37.91 MB / 330.5 MB, free: 6.906 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.761e-06/5.821e-06, allocations: 0 / 389.8 MB, free: 78.11 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0718/0.07182, allocations: 53.24 MB / 443 MB, free: 24.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2326/0.3045, allocations: 94.19 MB / 0.5246 GB, free: 9.566 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002091/0.3047, allocations: 90.27 kB / 0.5247 GB, free: 9.551 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02981/0.3345, allocations: 11.09 MB / 0.5356 GB, free: 3.684 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.022e-05/0.3346, allocations: 16 kB / 0.5356 GB, free: 3.668 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001049/0.3357, allocations: 0.7564 MB / 0.5363 GB, free: 2.895 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.3357, allocations: 8.031 kB / 0.5363 GB, free: 2.887 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.3358, allocations: 67.25 kB / 0.5364 GB, free: 2.82 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002873/0.3387, allocations: 1.229 MB / 0.5376 GB, free: 1.762 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.3388, allocations: 12 kB / 0.5376 GB, free: 1.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.21e-05/0.3388, allocations: 24 kB / 0.5376 GB, free: 1.727 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005387/0.3394, allocations: 366.3 kB / 0.538 GB, free: 1.477 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005826/0.34, allocations: 483.5 kB / 0.5384 GB, free: 1.078 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.34, allocations: 3.938 kB / 0.5384 GB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.665e-05/0.34, allocations: 4.656 kB / 0.5384 GB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.577e-05/0.3401, allocations: 16.78 kB / 0.5384 GB, free: 1.055 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002076/0.3421, allocations: 1.867 MB / 0.5403 GB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004813/0.3426, allocations: 291.7 kB / 0.5405 GB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002767/0.3429, allocations: 170.9 kB / 0.5407 GB, free: 15 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.385e-05/0.343, allocations: 7.875 kB / 0.5407 GB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002756/0.3432, allocations: 255.7 kB / 0.541 GB, free: 14.76 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 1.773e-06/0.3433, allocations: 0 / 0.541 GB, free: 14.76 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.001395/0.3447, allocations: 0.8844 MB / 0.5418 GB, free: 13.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.599e-05/0.3448, allocations: 165.6 kB / 0.542 GB, free: 13.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003808/0.3452, allocations: 326.4 kB / 0.5423 GB, free: 13.48 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.098e-05/0.3452, allocations: 25.7 kB / 0.5423 GB, free: 13.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.3454, allocations: 236.2 kB / 0.5425 GB, free: 13.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001061/0.3455, allocations: 115 kB / 0.5427 GB, free: 13.14 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.731e-05/0.3455, allocations: 4.031 kB / 0.5427 GB, free: 13.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3457, allocations: 360 kB / 0.543 GB, free: 12.8 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.3459, allocations: 107.5 kB / 0.5431 GB, free: 12.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002784/0.3461, allocations: 273.8 kB / 0.5434 GB, free: 12.44 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/0.3464, allocations: 151.7 kB / 0.5435 GB, free: 12.33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.3464, allocations: 0 / 0.5435 GB, free: 12.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.000638/0.347, allocations: 432.7 kB / 0.5439 GB, free: 11.97 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.347, allocations: 4 kB / 0.5439 GB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.3471, allocations: 8 kB / 0.5439 GB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.3471, allocations: 8 kB / 0.5439 GB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004313/0.3475, allocations: 103.6 kB / 0.544 GB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-05/0.3476, allocations: 11.98 kB / 0.544 GB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002799/0.3478, allocations: 20.28 kB / 0.5441 GB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.898e-05/0.3479, allocations: 35.59 kB / 0.5441 GB, free: 11.79 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,$whenCondition1,$whenCondition2,$PRE.tapChanger.cnt_1,tapChanger.cnt_1,$PRE.tapChanger.cnt_2,tapChanger.cnt_2,$PRE.tapChanger.tap_1,tapChanger.tap_1,$PRE.tapChanger.tap_2,tapChanger.tap_2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 1 * 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.0001453/0.3481, allocations: 153.7 kB / 0.5442 GB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.362e-05/0.3481, allocations: 47.44 kB / 0.5443 GB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005771/0.3487, allocations: 349.8 kB / 0.5446 GB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.3488, allocations: 4 kB / 0.5446 GB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3488, allocations: 0 / 0.5446 GB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/0.3488, allocations: 7.984 kB / 0.5446 GB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009848/0.3498, allocations: 0.7952 MB / 0.5454 GB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.3498, allocations: 0 / 0.5454 GB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003427/0.3501, allocations: 63.34 kB / 0.5455 GB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.3501, allocations: 0 / 0.5455 GB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.98e-05/0.3502, allocations: 7.984 kB / 0.5455 GB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.3502, allocations: 7.938 kB / 0.5455 GB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3502, allocations: 4.031 kB / 0.5455 GB, free: 10.56 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007558/0.351, allocations: 0.6417 MB / 0.5461 GB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001681/0.3511, allocations: 143.2 kB / 0.5463 GB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.401e-05/0.3512, allocations: 6.938 kB / 0.5463 GB, free: 9.867 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000237/0.3515, allocations: 12.06 kB / 0.5463 GB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.898e-05/0.3515, allocations: 22.95 kB / 0.5463 GB, free: 9.836 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.017e-05/0.3516, allocations: 39.14 kB / 0.5463 GB, free: 9.801 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0002279/0.3518, allocations: 247.7 kB / 0.5466 GB, free: 9.609 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004443/0.3523, allocations: 96 kB / 0.5467 GB, free: 9.516 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * 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.0002129/0.3525, allocations: 142.2 kB / 0.5468 GB, free: 9.375 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004749/0.353, allocations: 351.1 kB / 0.5471 GB, free: 9.105 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.353, allocations: 4.125 kB / 0.5471 GB, free: 9.102 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000258/0.3533, allocations: 225.6 kB / 0.5474 GB, free: 8.938 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004753/0.3537, allocations: 73.27 kB / 0.5474 GB, free: 8.891 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.355, allocations: 0.6993 MB / 0.5481 GB, free: 8.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005907/0.3557, allocations: 0.9418 MB / 0.549 GB, free: 7.277 MB / 362.7 MB Notification: Performance of SimCode: time 2.8e-07/0.3557, allocations: 3.938 kB / 0.549 GB, free: 7.273 MB / 362.7 MB Notification: Performance of Templates: time 0.009106/0.3648, allocations: 4.368 MB / 0.5533 GB, free: 2.969 MB / 362.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Transformer.pipe 2>&1)