Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001154/0.001154, allocations: 190.8 kB / 8.136 MB, free: 2.199 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.146/1.146, allocations: 194.2 MB / 202.8 MB, free: 8.73 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.001627/0.001627, allocations: 121.7 kB / 247.7 MB, free: 6.363 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1714/0.1714, allocations: 37.92 MB / 330.5 MB, free: 6.926 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.963e-06/7.084e-06, allocations: 0 / 389.8 MB, free: 78.11 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0964/0.09642, allocations: 53.23 MB / 443 MB, free: 24.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3434/0.4399, allocations: 95.6 MB / 0.526 GB, free: 9.266 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/0.4402, allocations: 91.75 kB / 0.5261 GB, free: 9.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03899/0.4792, allocations: 14.62 MB / 0.5404 GB, free: 15.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.482e-05/0.4792, allocations: 15.94 kB / 0.5404 GB, free: 15.74 MB / 362.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.00125/0.4805, allocations: 0.6682 MB / 0.541 GB, free: 15.06 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.4805, allocations: 8.031 kB / 0.541 GB, free: 15.05 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000669/0.4812, allocations: 97.97 kB / 0.5411 GB, free: 14.96 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002138/0.4834, allocations: 0.8549 MB / 0.542 GB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.4834, allocations: 8 kB / 0.542 GB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.338e-05/0.4835, allocations: 27.91 kB / 0.542 GB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007059/0.4842, allocations: 481.9 kB / 0.5425 GB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008519/0.4851, allocations: 0.6284 MB / 0.5431 GB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.4851, allocations: 3.938 kB / 0.5431 GB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.126e-05/0.4852, allocations: 0 / 0.5431 GB, free: 13.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000136/0.4853, allocations: 60.42 kB / 0.5431 GB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003517/0.4888, allocations: 2.514 MB / 0.5456 GB, free: 10.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004506/0.4893, allocations: 330.2 kB / 0.5459 GB, free: 10.75 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002792/0.4896, allocations: 243.4 kB / 0.5461 GB, free: 10.58 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.073e-05/0.4896, allocations: 7.938 kB / 0.5462 GB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.156e-05/0.4897, allocations: 34.19 kB / 0.5462 GB, free: 10.54 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 1.904e-06/0.4897, allocations: 4 kB / 0.5462 GB, free: 10.53 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.002746/0.4924, allocations: 1.505 MB / 0.5477 GB, free: 9.223 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.4925, allocations: 85.11 kB / 0.5477 GB, free: 9.121 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.4927, allocations: 224.7 kB / 0.548 GB, free: 8.926 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.889e-05/0.4927, allocations: 25.7 kB / 0.548 GB, free: 8.895 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.4928, allocations: 221.9 kB / 0.5482 GB, free: 8.688 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.629e-05/0.4929, allocations: 147 kB / 0.5483 GB, free: 8.559 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.046e-05/0.493, allocations: 8.031 kB / 0.5483 GB, free: 8.551 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.4931, allocations: 348.2 kB / 0.5487 GB, free: 8.219 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000258/0.4933, allocations: 209.1 kB / 0.5489 GB, free: 8.078 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003211/0.4937, allocations: 334.5 kB / 0.5492 GB, free: 7.785 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006616/0.4943, allocations: 355.8 kB / 0.5495 GB, free: 7.516 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.4944, allocations: 8 kB / 0.5495 GB, free: 7.508 MB / 362.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.00147/0.4958, allocations: 0.7855 MB / 0.5503 GB, free: 6.863 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.4959, allocations: 4 kB / 0.5503 GB, free: 6.859 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001162/0.497, allocations: 0.6406 MB / 0.5509 GB, free: 6.367 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004167/0.4975, allocations: 113.9 kB / 0.551 GB, free: 6.266 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003176/0.4978, allocations: 79.39 kB / 0.5511 GB, free: 6.191 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002342/0.5002, allocations: 2.857 MB / 0.5539 GB, free: 3.289 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002687/0.5004, allocations: 12.03 kB / 0.5539 GB, free: 3.277 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.075e-05/0.5005, allocations: 15.69 kB / 0.5539 GB, free: 3.266 MB / 362.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 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001104/0.5006, allocations: 112.9 kB / 0.554 GB, free: 3.148 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.168e-05/0.5007, allocations: 35.59 kB / 0.5541 GB, free: 3.113 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/0.5018, allocations: 0.631 MB / 0.5547 GB, free: 2.625 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.639e-05/0.5019, allocations: 15.98 kB / 0.5547 GB, free: 2.609 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.5019, allocations: 4 kB / 0.5547 GB, free: 2.605 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.5019, allocations: 0 / 0.5547 GB, free: 2.605 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002016/0.5039, allocations: 1.276 MB / 0.556 GB, free: 1.457 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.5039, allocations: 8.031 kB / 0.556 GB, free: 1.449 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000437/0.5044, allocations: 66.7 kB / 0.556 GB, free: 1.387 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/0.5044, allocations: 4 kB / 0.556 GB, free: 1.383 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.512e-05/0.5044, allocations: 15.23 kB / 0.556 GB, free: 1.371 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.5045, allocations: 3.984 kB / 0.556 GB, free: 1.367 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.5045, allocations: 7.906 kB / 0.5561 GB, free: 1.359 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001344/0.5058, allocations: 1.09 MB / 0.5571 GB, free: 412 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001763/0.506, allocations: 144.1 kB / 0.5573 GB, free: 260 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.476e-05/0.5061, allocations: 7.984 kB / 0.5573 GB, free: 252 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002579/0.5063, allocations: 11.98 kB / 0.5573 GB, free: 240 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.5064, allocations: 23.81 kB / 0.5573 GB, free: 220 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.873e-05/0.5064, allocations: 12 kB / 0.5573 GB, free: 208 kB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001511/0.5066, allocations: 177 kB / 0.5575 GB, free: 60 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006071/0.5072, allocations: 120 kB / 0.5576 GB, free: 15.94 MB / 378.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.0002563/0.5075, allocations: 142.9 kB / 0.5577 GB, free: 15.8 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001098/0.5086, allocations: 0.7322 MB / 0.5584 GB, free: 15.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.5086, allocations: 4.062 kB / 0.5584 GB, free: 15.19 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003883/0.509, allocations: 270.8 kB / 0.5587 GB, free: 14.99 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003969/0.5094, allocations: 48.31 kB / 0.5588 GB, free: 14.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.5111, allocations: 0.9427 MB / 0.5597 GB, free: 14.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005693/0.5117, allocations: 0.922 MB / 0.5606 GB, free: 13.14 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.5117, allocations: 4 kB / 0.5606 GB, free: 13.14 MB / 378.7 MB Notification: Performance of Templates: time 0.009661/0.5213, allocations: 5.069 MB / 0.5655 GB, free: 8.133 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1)