Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") [: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.001185/0.001185, allocations: 194.3 kB / 8.136 MB, free: 2.184 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.353/1.353, allocations: 194.2 MB / 202.8 MB, free: 8.738 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.001513/0.001513, allocations: 123.4 kB / 247.7 MB, free: 6.406 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1683/0.1683, allocations: 37.91 MB / 330.5 MB, free: 6.973 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.275e-06/8.295e-06, allocations: 0 / 389.8 MB, free: 78.11 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1147, allocations: 53.23 MB / 443 MB, free: 24.96 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2884/0.4031, allocations: 93.08 MB / 0.5235 GB, free: 9.539 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/0.4034, allocations: 86.45 kB / 0.5236 GB, free: 9.527 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03045/0.4339, allocations: 10.5 MB / 0.5339 GB, free: 4.754 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.813e-05/0.434, allocations: 11.94 kB / 0.5339 GB, free: 4.742 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: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001716/0.4358, allocations: 0.6822 MB / 0.5346 GB, free: 4.047 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.4358, allocations: 16.02 kB / 0.5346 GB, free: 4.031 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002365/0.4361, allocations: 51.34 kB / 0.5346 GB, free: 3.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003541/0.4396, allocations: 1.202 MB / 0.5358 GB, free: 2.949 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.4397, allocations: 12 kB / 0.5358 GB, free: 2.938 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-05/0.4398, allocations: 24 kB / 0.5358 GB, free: 2.914 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006425/0.4404, allocations: 340 kB / 0.5362 GB, free: 2.684 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000617/0.4411, allocations: 446.8 kB / 0.5366 GB, free: 2.312 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.4411, allocations: 0 / 0.5366 GB, free: 2.312 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.506e-05/0.4411, allocations: 4 kB / 0.5366 GB, free: 2.309 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.459e-05/0.4412, allocations: 24.72 kB / 0.5366 GB, free: 2.285 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002465/0.4437, allocations: 2.021 MB / 0.5386 GB, free: 416 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003431/0.444, allocations: 218.6 kB / 0.5388 GB, free: 236 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002138/0.4442, allocations: 126.2 kB / 0.5389 GB, free: 136 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.4443, allocations: 4.188 kB / 0.5389 GB, free: 132 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.4443, allocations: 38.44 kB / 0.539 GB, free: 88 kB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.583e-06/0.4443, allocations: 0 / 0.539 GB, free: 88 kB / 346.7 MB Notification: Performance of matching and sorting (n=23): time 0.001061/0.4454, allocations: 0.646 MB / 0.5396 GB, free: 15.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.4454, allocations: 84.86 kB / 0.5397 GB, free: 15.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003608/0.4458, allocations: 308.6 kB / 0.54 GB, free: 15.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.4458, allocations: 25.7 kB / 0.54 GB, free: 15.08 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.446, allocations: 254.7 kB / 0.5402 GB, free: 14.85 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.908e-05/0.446, allocations: 77.28 kB / 0.5403 GB, free: 14.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.112e-05/0.4461, allocations: 0 / 0.5403 GB, free: 14.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.4462, allocations: 348.2 kB / 0.5406 GB, free: 14.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001218/0.4463, allocations: 76.73 kB / 0.5407 GB, free: 14.4 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002139/0.4465, allocations: 266.5 kB / 0.541 GB, free: 14.09 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.4468, allocations: 134.5 kB / 0.5411 GB, free: 14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.4468, allocations: 0 / 0.5411 GB, free: 14 MB / 362.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0006554/0.4474, allocations: 394.7 kB / 0.5415 GB, free: 13.66 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.4475, allocations: 4 kB / 0.5415 GB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.4475, allocations: 12.02 kB / 0.5415 GB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002007/0.4477, allocations: 55.77 kB / 0.5415 GB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002613/0.448, allocations: 83.84 kB / 0.5416 GB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.4493, allocations: 1.418 MB / 0.543 GB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002571/0.4495, allocations: 8 kB / 0.543 GB, free: 12.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.192e-05/0.4496, allocations: 19.98 kB / 0.543 GB, free: 12.06 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001103/0.4497, allocations: 123.9 kB / 0.5431 GB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.751e-05/0.4498, allocations: 39.52 kB / 0.5432 GB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003487/0.4501, allocations: 225.2 kB / 0.5434 GB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.4501, allocations: 4 kB / 0.5434 GB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.4501, allocations: 0 / 0.5434 GB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.4501, allocations: 0 / 0.5434 GB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008192/0.451, allocations: 0.6013 MB / 0.544 GB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.451, allocations: 0 / 0.544 GB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002674/0.4513, allocations: 59.19 kB / 0.544 GB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.4513, allocations: 0 / 0.544 GB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.727e-05/0.4513, allocations: 4 kB / 0.544 GB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.4513, allocations: 192 / 0.544 GB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.4513, allocations: 4 kB / 0.5441 GB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004658/0.4518, allocations: 454.4 kB / 0.5445 GB, free: 10.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.4519, allocations: 120 kB / 0.5446 GB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.88e-05/0.452, allocations: 0 / 0.5446 GB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.4522, allocations: 0 / 0.5446 GB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.245e-05/0.4522, allocations: 15.86 kB / 0.5446 GB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.271e-05/0.4522, allocations: 4 kB / 0.5446 GB, free: 10.58 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0002281/0.4524, allocations: 230.1 kB / 0.5448 GB, free: 10.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005094/0.453, allocations: 92 kB / 0.5449 GB, free: 10.31 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: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * 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.0002349/0.4532, allocations: 129.5 kB / 0.545 GB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005919/0.4538, allocations: 350.2 kB / 0.5454 GB, free: 9.883 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4538, allocations: 0 / 0.5454 GB, free: 9.883 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.454, allocations: 95.34 kB / 0.5455 GB, free: 9.816 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005217/0.4545, allocations: 82.64 kB / 0.5456 GB, free: 9.754 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.4558, allocations: 0.5845 MB / 0.5461 GB, free: 9.195 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005194/0.4563, allocations: 0.8988 MB / 0.547 GB, free: 8.281 MB / 362.7 MB Notification: Performance of SimCode: time 2.71e-07/0.4564, allocations: 0 / 0.547 GB, free: 8.281 MB / 362.7 MB Notification: Performance of Templates: time 0.009039/0.4654, allocations: 3.689 MB / 0.5506 GB, free: 4.652 MB / 362.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile (rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1)