Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.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.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad") [: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.001476/0.001476, allocations: 194.5 kB / 7.845 MB, free: 2.516 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.167/1.167, allocations: 221.4 MB / 229.6 MB, free: 3.016 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.0009455/0.0009456, allocations: 95.34 kB / 280.5 MB, free: 1.23 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05985/0.05985, allocations: 8.103 MB / 339.4 MB, free: 6.328 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.584e-06/7.614e-06, allocations: 0 / 397.9 MB, free: 68.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1051, allocations: 52.51 MB / 450.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3143/0.4195, allocations: 80.25 MB / 0.5182 GB, free: 13.97 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001934/0.4198, allocations: 65.03 kB / 0.5183 GB, free: 13.94 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03334/0.4531, allocations: 12.04 MB / 0.53 GB, free: 4.648 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.991e-05/0.4532, allocations: 7.938 kB / 0.53 GB, free: 4.641 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.003174/0.4564, allocations: 0.8921 MB / 0.5309 GB, free: 3.766 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.4565, allocations: 11.97 kB / 0.5309 GB, free: 3.754 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000194/0.4567, allocations: 47.47 kB / 0.531 GB, free: 3.707 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005815/0.4573, allocations: 317.5 kB / 0.5313 GB, free: 3.406 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.4573, allocations: 8 kB / 0.5313 GB, free: 3.398 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.459e-05/0.4574, allocations: 12 kB / 0.5313 GB, free: 3.387 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000728/0.4581, allocations: 411.4 kB / 0.5317 GB, free: 3.16 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007338/0.4588, allocations: 437 kB / 0.5321 GB, free: 2.863 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.4589, allocations: 4 kB / 0.5321 GB, free: 2.859 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.684e-05/0.4589, allocations: 0 / 0.5321 GB, free: 2.859 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.252e-05/0.4589, allocations: 8 kB / 0.5321 GB, free: 2.852 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003328/0.4623, allocations: 2.077 MB / 0.5341 GB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005911/0.4629, allocations: 441.7 kB / 0.5346 GB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000363/0.4633, allocations: 270.2 kB / 0.5348 GB, free: 0.5859 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001818/0.4635, allocations: 89.09 kB / 0.5349 GB, free: 492 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.4635, allocations: 34.38 kB / 0.5349 GB, free: 452 kB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 2.795e-06/0.4635, allocations: 4 kB / 0.5349 GB, free: 448 kB / 346.7 MB Notification: Performance of matching and sorting (n=42): time 0.003955/0.4675, allocations: 1.105 MB / 0.536 GB, free: 15.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/0.4676, allocations: 106.8 kB / 0.5361 GB, free: 15.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.4678, allocations: 225.8 kB / 0.5363 GB, free: 15.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.844e-05/0.4679, allocations: 25.7 kB / 0.5364 GB, free: 15.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.05e-05/0.468, allocations: 136.4 kB / 0.5365 GB, free: 15.15 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.4681, allocations: 137 kB / 0.5366 GB, free: 15.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-05/0.4681, allocations: 4 kB / 0.5366 GB, free: 15.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.4683, allocations: 346.2 kB / 0.537 GB, free: 14.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003363/0.4686, allocations: 221.8 kB / 0.5372 GB, free: 14.58 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003578/0.469, allocations: 264.2 kB / 0.5374 GB, free: 14.43 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007814/0.4698, allocations: 278 kB / 0.5377 GB, free: 14.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.4698, allocations: 0 / 0.5377 GB, free: 14.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.003809/0.4736, allocations: 1.134 MB / 0.5388 GB, free: 13.43 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.4737, allocations: 4 kB / 0.5388 GB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.4737, allocations: 0 / 0.5388 GB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003705/0.4774, allocations: 0.6828 MB / 0.5395 GB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003191/0.4777, allocations: 54.83 kB / 0.5395 GB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006959/0.4847, allocations: 3.465 MB / 0.5429 GB, free: 10.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004738/0.4852, allocations: 31.81 kB / 0.5429 GB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.854e-05/0.4853, allocations: 15.75 kB / 0.5429 GB, free: 10.15 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.0001664/0.4855, allocations: 113.8 kB / 0.5431 GB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001048/0.4856, allocations: 35.53 kB / 0.5431 GB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004083/0.4897, allocations: 1.216 MB / 0.5443 GB, free: 9.102 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/0.4897, allocations: 8 kB / 0.5443 GB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.025e-06/0.4897, allocations: 0 / 0.5443 GB, free: 9.094 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.4897, allocations: 4 kB / 0.5443 GB, free: 9.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007629/0.4905, allocations: 0.5745 MB / 0.5449 GB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.4905, allocations: 0 / 0.5449 GB, free: 8.652 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00026/0.4908, allocations: 63.16 kB / 0.5449 GB, free: 8.594 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003692/0.4945, allocations: 0.6804 MB / 0.5456 GB, free: 8.008 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-05/0.4945, allocations: 7.672 kB / 0.5456 GB, free: 8.004 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00665/0.5012, allocations: 3.452 MB / 0.549 GB, free: 5.258 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/0.5012, allocations: 7.922 kB / 0.549 GB, free: 5.25 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004036/0.5053, allocations: 1.245 MB / 0.5502 GB, free: 3.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.5054, allocations: 108.8 kB / 0.5503 GB, free: 3.855 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.345e-05/0.5055, allocations: 0 / 0.5503 GB, free: 3.855 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004227/0.5059, allocations: 27.89 kB / 0.5503 GB, free: 3.828 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.751e-05/0.506, allocations: 24.39 kB / 0.5503 GB, free: 3.805 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.718e-05/0.5061, allocations: 19.98 kB / 0.5504 GB, free: 3.785 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.000183/0.5063, allocations: 175.1 kB / 0.5505 GB, free: 3.613 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005908/0.5069, allocations: 139.8 kB / 0.5507 GB, free: 3.477 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 (35): * Single equations (assignments): 34 * 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.0002103/0.5071, allocations: 111.2 kB / 0.5508 GB, free: 3.359 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002143/0.5092, allocations: 0.8076 MB / 0.5515 GB, free: 2.543 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.5093, allocations: 0 / 0.5515 GB, free: 2.543 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001598/0.5109, allocations: 0.5692 MB / 0.5521 GB, free: 1.965 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.5112, allocations: 20.98 kB / 0.5521 GB, free: 1.945 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.5125, allocations: 483.3 kB / 0.5526 GB, free: 1.445 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004801/0.513, allocations: 0.832 MB / 0.5534 GB, free: 0.5898 MB / 362.7 MB Notification: Performance of SimCode: time 6.52e-07/0.5131, allocations: 0 / 0.5534 GB, free: 0.5898 MB / 362.7 MB Notification: Performance of Templates: time 0.0178/0.5309, allocations: 9.794 MB / 0.563 GB, free: 6.84 MB / 378.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoOneLineOneLoad.pipe 2>&1)