Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.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.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") translateModel(PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad") [: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.001032/0.001032, allocations: 192.1 kB / 7.844 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.313/1.313, allocations: 221.4 MB / 229.7 MB, free: 2.996 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.0009661/0.000966, allocations: 84.91 kB / 280.5 MB, free: 1.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04248/0.04248, allocations: 8.108 MB / 339.4 MB, free: 6.332 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.346e-06/8.506e-06, allocations: 0 / 397.9 MB, free: 68.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1126, allocations: 52.52 MB / 450.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3233/0.4359, allocations: 78.86 MB / 0.5169 GB, free: 15.37 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002013/0.4362, allocations: 59.66 kB / 0.5169 GB, free: 15.34 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02199/0.4582, allocations: 8.026 MB / 0.5248 GB, free: 9.168 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.448e-05/0.4583, allocations: 4 kB / 0.5248 GB, free: 9.164 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001549/0.4598, allocations: 0.6349 MB / 0.5254 GB, free: 8.523 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.018e-05/0.4599, allocations: 11.97 kB / 0.5254 GB, free: 8.512 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.946e-05/0.46, allocations: 31.62 kB / 0.5254 GB, free: 8.48 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003424/0.4603, allocations: 254.6 kB / 0.5257 GB, free: 8.219 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.267e-05/0.4603, allocations: 4.75 kB / 0.5257 GB, free: 8.215 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.766e-05/0.4604, allocations: 15.91 kB / 0.5257 GB, free: 8.199 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004122/0.4608, allocations: 264.2 kB / 0.5259 GB, free: 8.055 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003851/0.4612, allocations: 252.3 kB / 0.5262 GB, free: 7.883 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.187e-05/0.4612, allocations: 4 kB / 0.5262 GB, free: 7.879 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/0.4613, allocations: 3.938 kB / 0.5262 GB, free: 7.875 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/0.4613, allocations: 4 kB / 0.5262 GB, free: 7.871 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00165/0.4629, allocations: 1.076 MB / 0.5273 GB, free: 6.984 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003815/0.4633, allocations: 299.1 kB / 0.5275 GB, free: 6.801 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002052/0.4635, allocations: 162.2 kB / 0.5277 GB, free: 6.711 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.779e-05/0.4636, allocations: 8.219 kB / 0.5277 GB, free: 6.703 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.4636, allocations: 34.42 kB / 0.5277 GB, free: 6.664 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 1.583e-06/0.4636, allocations: 0 / 0.5277 GB, free: 6.664 MB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.001457/0.4651, allocations: 0.5319 MB / 0.5283 GB, free: 6.281 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.059e-05/0.4652, allocations: 51.41 kB / 0.5283 GB, free: 6.219 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.4653, allocations: 193.3 kB / 0.5285 GB, free: 6.059 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/0.4654, allocations: 29.7 kB / 0.5285 GB, free: 6.023 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.927e-05/0.4654, allocations: 138.5 kB / 0.5286 GB, free: 5.895 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.16e-05/0.4655, allocations: 82.22 kB / 0.5287 GB, free: 5.82 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.753e-05/0.4655, allocations: 0 / 0.5287 GB, free: 5.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.4656, allocations: 337.8 kB / 0.529 GB, free: 5.492 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/0.4659, allocations: 145.8 kB / 0.5292 GB, free: 5.418 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/0.4661, allocations: 147.2 kB / 0.5293 GB, free: 5.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004663/0.4666, allocations: 178.4 kB / 0.5295 GB, free: 5.234 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.4666, allocations: 0 / 0.5295 GB, free: 5.234 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001517/0.4681, allocations: 0.5988 MB / 0.5301 GB, free: 4.805 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.4681, allocations: 8 kB / 0.5301 GB, free: 4.797 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.4681, allocations: 3.984 kB / 0.5301 GB, free: 4.793 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001095/0.4692, allocations: 241.8 kB / 0.5303 GB, free: 4.609 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/0.4694, allocations: 47.91 kB / 0.5304 GB, free: 4.562 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003322/0.4728, allocations: 2.332 MB / 0.5326 GB, free: 2.645 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002502/0.473, allocations: 23.69 kB / 0.5327 GB, free: 2.621 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.738e-05/0.4731, allocations: 12.2 kB / 0.5327 GB, free: 2.609 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: load.terminal.i.re:VARIABLE(flow=true unit = "A" ) "Real part of complex current" type: Real 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 (24): * Single equations (assignments): 23 * 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 9} Notification: Performance of prepare postOptimizeDAE: time 0.0001739/0.4733, allocations: 105 kB / 0.5328 GB, free: 2.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.688e-05/0.4733, allocations: 23.66 kB / 0.5328 GB, free: 2.477 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001514/0.4749, allocations: 0.5883 MB / 0.5334 GB, free: 2.059 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.4749, allocations: 4 kB / 0.5334 GB, free: 2.055 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.4749, allocations: 0 / 0.5334 GB, free: 2.055 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.4749, allocations: 3.984 kB / 0.5334 GB, free: 2.051 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004484/0.4754, allocations: 389 kB / 0.5338 GB, free: 1.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.4754, allocations: 0 / 0.5338 GB, free: 1.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001145/0.4755, allocations: 26.92 kB / 0.5338 GB, free: 1.707 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009965/0.4765, allocations: 235.8 kB / 0.534 GB, free: 1.527 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.788e-05/0.4765, allocations: 4 kB / 0.534 GB, free: 1.523 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003298/0.4798, allocations: 2.354 MB / 0.5363 GB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.4799, allocations: 0 / 0.5363 GB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00142/0.4813, allocations: 0.6211 MB / 0.5369 GB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.35e-05/0.4814, allocations: 107.9 kB / 0.537 GB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.623e-05/0.4815, allocations: 4 kB / 0.537 GB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002466/0.4817, allocations: 12.2 kB / 0.537 GB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.4818, allocations: 18.11 kB / 0.5371 GB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.86e-05/0.4818, allocations: 14.73 kB / 0.5371 GB, free: 14.94 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001534/0.482, allocations: 151.2 kB / 0.5372 GB, free: 14.82 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005469/0.4825, allocations: 91.84 kB / 0.5373 GB, free: 14.73 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 (18): * Single equations (assignments): 17 * 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 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002867/0.4828, allocations: 110.9 kB / 0.5374 GB, free: 14.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001316/0.4841, allocations: 0.5032 MB / 0.5379 GB, free: 14.25 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.4842, allocations: 0 / 0.5379 GB, free: 14.25 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007907/0.485, allocations: 346.8 kB / 0.5382 GB, free: 13.98 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003062/0.4853, allocations: 14.25 kB / 0.5382 GB, free: 13.98 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009753/0.4863, allocations: 337.6 kB / 0.5386 GB, free: 13.69 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004223/0.4867, allocations: 0.7747 MB / 0.5393 GB, free: 12.89 MB / 362.7 MB Notification: Performance of SimCode: time 2.81e-07/0.4867, allocations: 0 / 0.5393 GB, free: 12.89 MB / 362.7 MB Notification: Performance of Templates: time 0.0109/0.4976, allocations: 5.645 MB / 0.5448 GB, free: 7.293 MB / 362.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.TwoSourcesTwoLinesOneLoad.pipe 2>&1)