Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1") [: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.001048/0.001048, allocations: 188 kB / 7.841 MB, free: 2.473 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.29/1.29, allocations: 221.4 MB / 229.7 MB, free: 3.148 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.0009621/0.000962, allocations: 96.33 kB / 280.5 MB, free: 1.277 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04929/0.04929, allocations: 8.104 MB / 339.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.475e-06/8.516e-06, allocations: 4 kB / 397.9 MB, free: 68.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08815/0.08818, allocations: 52.52 MB / 450.4 MB, free: 15.51 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3087/0.397, allocations: 80.91 MB / 0.5189 GB, free: 13.34 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003105/0.3974, allocations: 65.09 kB / 0.5189 GB, free: 13.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03488/0.4323, allocations: 13.14 MB / 0.5318 GB, free: 3.164 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.507e-05/0.4323, allocations: 8 kB / 0.5318 GB, free: 3.156 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.002965/0.4353, allocations: 0.9315 MB / 0.5327 GB, free: 2.246 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.4354, allocations: 11.97 kB / 0.5327 GB, free: 2.234 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001742/0.4355, allocations: 47.44 kB / 0.5327 GB, free: 2.188 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005247/0.4361, allocations: 333.6 kB / 0.5331 GB, free: 1.875 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.4361, allocations: 8 kB / 0.5331 GB, free: 1.867 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.618e-05/0.4362, allocations: 20 kB / 0.5331 GB, free: 1.848 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007057/0.4369, allocations: 423.9 kB / 0.5335 GB, free: 1.617 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007454/0.4377, allocations: 472.1 kB / 0.5339 GB, free: 1.297 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.4377, allocations: 11.92 kB / 0.534 GB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.761e-05/0.4378, allocations: 0 / 0.534 GB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.262e-05/0.4378, allocations: 8 kB / 0.534 GB, free: 1.277 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003202/0.441, allocations: 2.175 MB / 0.5361 GB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005438/0.4415, allocations: 427.3 kB / 0.5365 GB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003453/0.4419, allocations: 255.3 kB / 0.5367 GB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001756/0.4421, allocations: 89.09 kB / 0.5368 GB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.4421, allocations: 46.38 kB / 0.5369 GB, free: 14.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 1.984e-06/0.4421, allocations: 0 / 0.5369 GB, free: 14.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=42): time 0.003817/0.446, allocations: 1.057 MB / 0.5379 GB, free: 13.98 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.021e-05/0.446, allocations: 110.8 kB / 0.538 GB, free: 13.85 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.4463, allocations: 212.6 kB / 0.5382 GB, free: 13.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.84e-05/0.4463, allocations: 25.7 kB / 0.5382 GB, free: 13.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.4465, allocations: 163.7 kB / 0.5384 GB, free: 13.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.4466, allocations: 137.7 kB / 0.5385 GB, free: 13.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.4466, allocations: 0 / 0.5385 GB, free: 13.38 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.4468, allocations: 349 kB / 0.5389 GB, free: 13.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003153/0.4471, allocations: 216.2 kB / 0.5391 GB, free: 12.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003736/0.4475, allocations: 248.4 kB / 0.5393 GB, free: 12.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000749/0.4482, allocations: 269 kB / 0.5396 GB, free: 12.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.4482, allocations: 0 / 0.5396 GB, free: 12.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.003842/0.4521, allocations: 1.1 MB / 0.5406 GB, free: 11.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.921e-05/0.4522, allocations: 8 kB / 0.5406 GB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.4522, allocations: 0 / 0.5406 GB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003616/0.4558, allocations: 0.6686 MB / 0.5413 GB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000328/0.4562, allocations: 62.58 kB / 0.5414 GB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00667/0.4629, allocations: 3.361 MB / 0.5446 GB, free: 8.594 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004848/0.4634, allocations: 35.81 kB / 0.5447 GB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.063e-05/0.4634, allocations: 11.98 kB / 0.5447 GB, free: 8.547 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (31): * Single equations (assignments): 30 * 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: 0 * Non-linear torn systems: 1 {6 10} Notification: Performance of prepare postOptimizeDAE: time 0.0001736/0.4636, allocations: 115.3 kB / 0.5448 GB, free: 8.434 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/0.4638, allocations: 31.62 kB / 0.5448 GB, free: 8.402 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004684/0.4684, allocations: 1.161 MB / 0.546 GB, free: 7.539 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.4685, allocations: 15.97 kB / 0.546 GB, free: 7.523 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4685, allocations: 4 kB / 0.546 GB, free: 7.52 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.4685, allocations: 3.984 kB / 0.546 GB, free: 7.516 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007431/0.4693, allocations: 0.5472 MB / 0.5465 GB, free: 7.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.4693, allocations: 0 / 0.5465 GB, free: 7.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002363/0.4695, allocations: 59.66 kB / 0.5466 GB, free: 7.035 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003463/0.473, allocations: 0.6802 MB / 0.5472 GB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.026e-05/0.4731, allocations: 7.109 kB / 0.5472 GB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006966/0.48, allocations: 3.437 MB / 0.5506 GB, free: 3.555 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.4801, allocations: 4 kB / 0.5506 GB, free: 3.551 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0038/0.4839, allocations: 1.174 MB / 0.5517 GB, free: 2.352 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.484, allocations: 116.7 kB / 0.5519 GB, free: 2.219 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.978e-05/0.4841, allocations: 4 kB / 0.5519 GB, free: 2.215 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004194/0.4845, allocations: 19.98 kB / 0.5519 GB, free: 2.195 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.811e-05/0.4846, allocations: 24.39 kB / 0.5519 GB, free: 2.172 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-05/0.4847, allocations: 15.98 kB / 0.5519 GB, free: 2.156 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.000177/0.4848, allocations: 175.1 kB / 0.5521 GB, free: 1.984 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006568/0.4855, allocations: 159.6 kB / 0.5522 GB, free: 1.828 MB / 362.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 (34): * Single equations (assignments): 33 * 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: 0 * Non-linear torn systems: 1 {6 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002347/0.4857, allocations: 127.1 kB / 0.5524 GB, free: 1.695 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00207/0.4878, allocations: 0.7802 MB / 0.5531 GB, free: 0.9062 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4878, allocations: 0 / 0.5531 GB, free: 0.9062 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001917/0.4898, allocations: 0.5694 MB / 0.5537 GB, free: 336 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.4901, allocations: 16.98 kB / 0.5537 GB, free: 320 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.4917, allocations: 491.1 kB / 0.5542 GB, free: 15.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005083/0.4922, allocations: 0.8437 MB / 0.555 GB, free: 14.94 MB / 378.7 MB Notification: Performance of SimCode: time 7.31e-07/0.4922, allocations: 0 / 0.555 GB, free: 14.94 MB / 378.7 MB Notification: Performance of Templates: time 0.01683/0.5091, allocations: 9.655 MB / 0.5644 GB, free: 5.34 MB / 378.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoadWithBuses1.pipe 2>&1)