Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines") [: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 4.0.0+maint.om/package.mo): time 0.001269/0.001269, allocations: 192.1 kB / 7.844 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.235/1.235, allocations: 221.4 MB / 229.7 MB, free: 2.992 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 97.14 kB / 280.5 MB, free: 1.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.0437/0.0437, allocations: 8.101 MB / 339.4 MB, free: 6.328 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.117e-06/9.147e-06, allocations: 4 kB / 397.9 MB, free: 68.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09828/0.09831, allocations: 52.52 MB / 450.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3234/0.4218, allocations: 79.47 MB / 0.5175 GB, free: 14.97 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002043/0.422, allocations: 67.14 kB / 0.5175 GB, free: 14.94 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03883/0.4609, allocations: 14.81 MB / 0.532 GB, free: 3.555 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.713e-05/0.461, allocations: 8 kB / 0.532 GB, free: 3.547 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.003643/0.4646, allocations: 1.066 MB / 0.5331 GB, free: 2.516 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.4647, allocations: 15.97 kB / 0.5331 GB, free: 2.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002458/0.4649, allocations: 54.19 kB / 0.5331 GB, free: 2.449 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006571/0.4656, allocations: 367.1 kB / 0.5335 GB, free: 2.117 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/0.4657, allocations: 8 kB / 0.5335 GB, free: 2.109 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-05/0.4657, allocations: 20 kB / 0.5335 GB, free: 2.09 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008882/0.4666, allocations: 0.5179 MB / 0.534 GB, free: 1.801 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008538/0.4675, allocations: 0.5418 MB / 0.5345 GB, free: 1.438 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.4675, allocations: 5.031 kB / 0.5345 GB, free: 1.434 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.238e-05/0.4676, allocations: 0 / 0.5345 GB, free: 1.434 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.514e-05/0.4676, allocations: 12 kB / 0.5345 GB, free: 1.422 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00423/0.4718, allocations: 2.59 MB / 0.5371 GB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007235/0.4726, allocations: 0.5351 MB / 0.5376 GB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000501/0.4731, allocations: 363.1 kB / 0.5379 GB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001635/0.4733, allocations: 93.22 kB / 0.538 GB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/0.4733, allocations: 42.25 kB / 0.5381 GB, free: 14.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=54): time 2.765e-06/0.4733, allocations: 0 / 0.5381 GB, free: 14.52 MB / 362.7 MB Notification: Performance of matching and sorting (n=54): time 0.005132/0.4785, allocations: 1.469 MB / 0.5395 GB, free: 13.45 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.292e-05/0.4786, allocations: 111.2 kB / 0.5396 GB, free: 13.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002977/0.4789, allocations: 259.9 kB / 0.5399 GB, free: 13.11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.2e-05/0.4789, allocations: 29.7 kB / 0.5399 GB, free: 13.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.4791, allocations: 172.2 kB / 0.5401 GB, free: 12.91 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001582/0.4792, allocations: 183.3 kB / 0.5402 GB, free: 12.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.793e-05/0.4793, allocations: 0 / 0.5402 GB, free: 12.75 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001228/0.4794, allocations: 348 kB / 0.5406 GB, free: 12.42 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004522/0.4799, allocations: 306.3 kB / 0.5409 GB, free: 12.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005029/0.4804, allocations: 404.3 kB / 0.5412 GB, free: 12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009787/0.4814, allocations: 377.5 kB / 0.5416 GB, free: 11.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.079e-06/0.4814, allocations: 0 / 0.5416 GB, free: 11.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.005037/0.4864, allocations: 1.556 MB / 0.5431 GB, free: 10.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.4865, allocations: 4 kB / 0.5431 GB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.4865, allocations: 7.984 kB / 0.5431 GB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004795/0.4913, allocations: 0.9431 MB / 0.5441 GB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004175/0.4917, allocations: 87.5 kB / 0.5441 GB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009314/0.5011, allocations: 4.397 MB / 0.5484 GB, free: 5.902 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000607/0.5017, allocations: 39.44 kB / 0.5485 GB, free: 5.863 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.835e-05/0.5018, allocations: 23.98 kB / 0.5485 GB, free: 5.84 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * 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 {(10,62.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001875/0.502, allocations: 116.9 kB / 0.5486 GB, free: 5.719 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001301/0.5021, allocations: 47.44 kB / 0.5486 GB, free: 5.672 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005349/0.5075, allocations: 1.602 MB / 0.5502 GB, free: 4.062 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.071e-05/0.5075, allocations: 11.98 kB / 0.5502 GB, free: 4.051 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.729e-06/0.5075, allocations: 4 kB / 0.5502 GB, free: 4.047 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.5075, allocations: 7.984 kB / 0.5502 GB, free: 4.039 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001/0.5086, allocations: 0.7282 MB / 0.5509 GB, free: 3.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.5086, allocations: 4 kB / 0.5509 GB, free: 3.266 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002783/0.5089, allocations: 59.91 kB / 0.551 GB, free: 3.207 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004697/0.5136, allocations: 0.9417 MB / 0.5519 GB, free: 2.262 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.252e-05/0.5136, allocations: 12 kB / 0.5519 GB, free: 2.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009359/0.523, allocations: 4.397 MB / 0.5562 GB, free: 13.74 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.137e-06/0.5231, allocations: 3.906 kB / 0.5562 GB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005504/0.5286, allocations: 1.605 MB / 0.5578 GB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001879/0.5288, allocations: 124.4 kB / 0.5579 GB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.529, allocations: 4 kB / 0.5579 GB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005031/0.5295, allocations: 11.98 kB / 0.5579 GB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.474e-05/0.5296, allocations: 32.59 kB / 0.558 GB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.703e-05/0.5296, allocations: 20 kB / 0.558 GB, free: 11.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002291/0.5299, allocations: 212.5 kB / 0.5582 GB, free: 11.7 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007826/0.5307, allocations: 188.2 kB / 0.5584 GB, free: 11.51 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 39 * 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 {(10,56.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00024/0.5309, allocations: 111.2 kB / 0.5585 GB, free: 11.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002973/0.5339, allocations: 1.105 MB / 0.5596 GB, free: 10.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.5339, allocations: 7.938 kB / 0.5596 GB, free: 10.26 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002219/0.5361, allocations: 0.7505 MB / 0.5603 GB, free: 9.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.5364, allocations: 22.77 kB / 0.5603 GB, free: 9.477 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.5381, allocations: 0.5952 MB / 0.5609 GB, free: 8.855 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004975/0.5386, allocations: 0.8716 MB / 0.5617 GB, free: 7.957 MB / 378.7 MB Notification: Performance of SimCode: time 5.01e-07/0.5386, allocations: 0 / 0.5617 GB, free: 7.957 MB / 378.7 MB Notification: Performance of Templates: time 0.01744/0.5561, allocations: 10.91 MB / 0.5724 GB, free: 13.09 MB / 394.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.pipe 2>&1)