Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.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.OneSourceOneTransfoOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad") [: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.001136/0.001136, allocations: 194.3 kB / 7.846 MB, free: 2.469 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.396/1.396, allocations: 221.4 MB / 229.7 MB, free: 3.02 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.0009809/0.0009806, allocations: 95.3 kB / 280.5 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.0442/0.0442, allocations: 8.105 MB / 339.4 MB, free: 6.348 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.095e-06/8.125e-06, allocations: 4 kB / 397.9 MB, free: 68.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09319/0.09321, allocations: 52.51 MB / 450.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2784/0.3717, allocations: 79.41 MB / 0.5174 GB, free: 14.83 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002194/0.372, allocations: 59.91 kB / 0.5175 GB, free: 14.8 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01716/0.3891, allocations: 5.952 MB / 0.5233 GB, free: 10.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.805e-05/0.3892, allocations: 0 / 0.5233 GB, free: 10.18 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001542/0.3908, allocations: 0.5435 MB / 0.5238 GB, free: 9.613 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.755e-05/0.3909, allocations: 11.97 kB / 0.5238 GB, free: 9.602 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.294e-05/0.3909, allocations: 23.84 kB / 0.5238 GB, free: 9.582 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.3913, allocations: 228.3 kB / 0.5241 GB, free: 9.34 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.3913, allocations: 4 kB / 0.5241 GB, free: 9.336 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.852e-05/0.3913, allocations: 8 kB / 0.5241 GB, free: 9.328 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002827/0.3916, allocations: 152 kB / 0.5242 GB, free: 9.242 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003002/0.3919, allocations: 180.7 kB / 0.5244 GB, free: 9.109 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.392, allocations: 4 kB / 0.5244 GB, free: 9.105 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.483e-05/0.392, allocations: 0 / 0.5244 GB, free: 9.105 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.392, allocations: 4 kB / 0.5244 GB, free: 9.102 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001389/0.3934, allocations: 0.7188 MB / 0.5251 GB, free: 8.473 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.3937, allocations: 152.9 kB / 0.5252 GB, free: 8.371 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001366/0.3938, allocations: 94.17 kB / 0.5253 GB, free: 8.316 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000188/0.394, allocations: 92.98 kB / 0.5254 GB, free: 8.207 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.3941, allocations: 34.56 kB / 0.5255 GB, free: 8.164 MB / 346.7 MB Notification: Performance of pre-optimization done (n=15): time 2.735e-06/0.3941, allocations: 3.984 kB / 0.5255 GB, free: 8.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.001452/0.3955, allocations: 333.6 kB / 0.5258 GB, free: 7.906 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.437e-05/0.3956, allocations: 81.11 kB / 0.5259 GB, free: 7.809 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.3958, allocations: 155.4 kB / 0.526 GB, free: 7.668 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.921e-05/0.3958, allocations: 25.7 kB / 0.526 GB, free: 7.637 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.851e-05/0.3959, allocations: 114.8 kB / 0.5261 GB, free: 7.527 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.149e-05/0.3959, allocations: 54.08 kB / 0.5262 GB, free: 7.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.295e-05/0.396, allocations: 3.938 kB / 0.5262 GB, free: 7.477 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3961, allocations: 322 kB / 0.5265 GB, free: 7.156 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.3962, allocations: 78.73 kB / 0.5266 GB, free: 7.113 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.3964, allocations: 99.25 kB / 0.5267 GB, free: 7.051 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002958/0.3967, allocations: 102.4 kB / 0.5268 GB, free: 6.992 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3967, allocations: 4.031 kB / 0.5268 GB, free: 6.988 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.001246/0.398, allocations: 378.5 kB / 0.5271 GB, free: 6.703 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.369e-05/0.398, allocations: 8 kB / 0.5271 GB, free: 6.695 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.398, allocations: 0 / 0.5271 GB, free: 6.695 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00116/0.3992, allocations: 185.9 kB / 0.5273 GB, free: 6.535 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.3994, allocations: 31.73 kB / 0.5274 GB, free: 6.508 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002773/0.4022, allocations: 1.716 MB / 0.529 GB, free: 4.902 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002543/0.4024, allocations: 11.84 kB / 0.529 GB, free: 4.891 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.784e-05/0.4025, allocations: 8.031 kB / 0.529 GB, free: 4.883 MB / 346.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 (16): * Single equations (assignments): 15 * 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 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001111/0.4026, allocations: 104.9 kB / 0.5291 GB, free: 4.773 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.727e-05/0.4026, allocations: 15.81 kB / 0.5292 GB, free: 4.758 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/0.4039, allocations: 379.5 kB / 0.5295 GB, free: 4.469 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.404, allocations: 4 kB / 0.5295 GB, free: 4.465 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.404, allocations: 0 / 0.5295 GB, free: 4.465 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.404, allocations: 4.078 kB / 0.5295 GB, free: 4.461 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003583/0.4043, allocations: 277.5 kB / 0.5298 GB, free: 4.207 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.4044, allocations: 0 / 0.5298 GB, free: 4.207 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001263/0.4045, allocations: 23.92 kB / 0.5298 GB, free: 4.184 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001005/0.4055, allocations: 184.5 kB / 0.53 GB, free: 4.027 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.14e-05/0.4055, allocations: 4 kB / 0.53 GB, free: 4.023 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002468/0.408, allocations: 1.724 MB / 0.5317 GB, free: 2.414 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.408, allocations: 0 / 0.5317 GB, free: 2.414 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001199/0.4092, allocations: 444.1 kB / 0.5321 GB, free: 2.043 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.348e-05/0.4093, allocations: 96.28 kB / 0.5322 GB, free: 1.934 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.822e-05/0.4094, allocations: 0 / 0.5322 GB, free: 1.934 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002288/0.4096, allocations: 11.98 kB / 0.5322 GB, free: 1.922 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.4097, allocations: 11.98 kB / 0.5322 GB, free: 1.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.918e-05/0.4097, allocations: 7.938 kB / 0.5322 GB, free: 1.902 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001281/0.4098, allocations: 128.8 kB / 0.5324 GB, free: 1.793 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004145/0.4102, allocations: 55.91 kB / 0.5324 GB, free: 1.738 MB / 346.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 (14): * Single equations (assignments): 13 * 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 {3 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002725/0.4105, allocations: 123 kB / 0.5325 GB, free: 1.613 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009136/0.4114, allocations: 344.5 kB / 0.5328 GB, free: 1.348 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.4115, allocations: 4 kB / 0.5329 GB, free: 1.344 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006146/0.4121, allocations: 247.7 kB / 0.5331 GB, free: 1.137 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002477/0.4123, allocations: 20.56 kB / 0.5331 GB, free: 1.121 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006302/0.413, allocations: 189.9 kB / 0.5333 GB, free: 0.9453 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003572/0.4133, allocations: 0.7425 MB / 0.534 GB, free: 184 kB / 346.7 MB Notification: Performance of SimCode: time 5.01e-07/0.4134, allocations: 0 / 0.534 GB, free: 184 kB / 346.7 MB Notification: Performance of Templates: time 0.007539/0.4209, allocations: 3.547 MB / 0.5375 GB, free: 12.66 MB / 362.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLoad.pipe 2>&1)