Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.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.OneSourceOneLineOneLoadOneBank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank") translateModel(PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank") [: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.001062/0.001062, allocations: 191 kB / 7.842 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.254/1.254, allocations: 221.4 MB / 229.7 MB, free: 3.062 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.0009253/0.0009254, allocations: 88.98 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.0526/0.0526, allocations: 8.097 MB / 339.4 MB, free: 6.348 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.46e-06/5.49e-06, allocations: 0 / 397.9 MB, free: 68.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08633/0.08635, allocations: 52.52 MB / 450.4 MB, free: 15.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2714/0.3579, allocations: 79.19 MB / 0.5172 GB, free: 15.01 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002095/0.3581, allocations: 55.23 kB / 0.5172 GB, free: 14.99 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01717/0.3753, allocations: 6.315 MB / 0.5234 GB, free: 10.13 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.505e-05/0.3754, allocations: 4 kB / 0.5234 GB, free: 10.12 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001046/0.3764, allocations: 0.5266 MB / 0.5239 GB, free: 9.574 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3765, allocations: 11.97 kB / 0.5239 GB, free: 9.562 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.258e-05/0.3765, allocations: 19.72 kB / 0.524 GB, free: 9.543 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002996/0.3768, allocations: 233.3 kB / 0.5242 GB, free: 9.297 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.3769, allocations: 7.938 kB / 0.5242 GB, free: 9.289 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.3769, allocations: 8 kB / 0.5242 GB, free: 9.281 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003487/0.3772, allocations: 197.2 kB / 0.5244 GB, free: 9.168 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003157/0.3776, allocations: 189.6 kB / 0.5246 GB, free: 9.039 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.3776, allocations: 0 / 0.5246 GB, free: 9.039 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.3776, allocations: 0 / 0.5246 GB, free: 9.039 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.276e-06/0.3776, allocations: 4.75 kB / 0.5246 GB, free: 9.035 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001231/0.3789, allocations: 0.8404 MB / 0.5254 GB, free: 8.305 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003345/0.3792, allocations: 239.7 kB / 0.5256 GB, free: 8.148 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000162/0.3794, allocations: 121.5 kB / 0.5257 GB, free: 8.082 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.493e-05/0.3795, allocations: 8.094 kB / 0.5257 GB, free: 8.074 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/0.3795, allocations: 38.62 kB / 0.5258 GB, free: 8.031 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 1.443e-06/0.3795, allocations: 0 / 0.5258 GB, free: 8.031 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.001122/0.3806, allocations: 405.4 kB / 0.5262 GB, free: 7.742 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.3807, allocations: 63.28 kB / 0.5262 GB, free: 7.668 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.3808, allocations: 156 kB / 0.5264 GB, free: 7.531 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.3809, allocations: 25.7 kB / 0.5264 GB, free: 7.5 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.854e-05/0.3809, allocations: 115.3 kB / 0.5265 GB, free: 7.391 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.514e-05/0.381, allocations: 74.09 kB / 0.5266 GB, free: 7.324 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.285e-05/0.381, allocations: 0 / 0.5266 GB, free: 7.324 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.3811, allocations: 327.1 kB / 0.5269 GB, free: 7.004 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.3813, allocations: 100.4 kB / 0.527 GB, free: 6.953 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.3814, allocations: 98.61 kB / 0.5271 GB, free: 6.902 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003279/0.3817, allocations: 130.8 kB / 0.5272 GB, free: 6.824 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.3817, allocations: 0 / 0.5272 GB, free: 6.824 MB / 346.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001067/0.3828, allocations: 454.2 kB / 0.5276 GB, free: 6.492 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.3828, allocations: 7.125 kB / 0.5276 GB, free: 6.488 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3829, allocations: 0 / 0.5276 GB, free: 6.488 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007934/0.3837, allocations: 174.5 kB / 0.5278 GB, free: 6.355 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.3838, allocations: 23.98 kB / 0.5278 GB, free: 6.332 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002583/0.3864, allocations: 2.005 MB / 0.5298 GB, free: 4.574 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.3866, allocations: 7.938 kB / 0.5298 GB, free: 4.566 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.3866, allocations: 14.91 kB / 0.5298 GB, free: 4.555 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 (17): * Single equations (assignments): 16 * 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 7} Notification: Performance of prepare postOptimizeDAE: time 0.0001444/0.3868, allocations: 110.4 kB / 0.5299 GB, free: 4.441 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.199e-05/0.3868, allocations: 19.81 kB / 0.5299 GB, free: 4.422 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001153/0.388, allocations: 448.5 kB / 0.5304 GB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.388, allocations: 3.938 kB / 0.5304 GB, free: 4.102 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-06/0.388, allocations: 0 / 0.5304 GB, free: 4.102 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.388, allocations: 7.984 kB / 0.5304 GB, free: 4.094 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003276/0.3884, allocations: 315.8 kB / 0.5307 GB, free: 3.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3884, allocations: 0 / 0.5307 GB, free: 3.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.949e-05/0.3885, allocations: 23.98 kB / 0.5307 GB, free: 3.797 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000695/0.3892, allocations: 167.3 kB / 0.5309 GB, free: 3.668 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.3892, allocations: 7.984 kB / 0.5309 GB, free: 3.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002546/0.3918, allocations: 2.004 MB / 0.5328 GB, free: 1.898 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3918, allocations: 0 / 0.5328 GB, free: 1.898 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001023/0.3928, allocations: 0.4957 MB / 0.5333 GB, free: 1.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.052e-05/0.3929, allocations: 95.59 kB / 0.5334 GB, free: 1.391 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.35e-05/0.3929, allocations: 3.906 kB / 0.5334 GB, free: 1.387 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.3931, allocations: 12.28 kB / 0.5334 GB, free: 1.375 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.345e-05/0.3932, allocations: 15.91 kB / 0.5334 GB, free: 1.359 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.216e-05/0.3932, allocations: 7.125 kB / 0.5334 GB, free: 1.355 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.985e-05/0.3933, allocations: 134.9 kB / 0.5336 GB, free: 1.242 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003565/0.3937, allocations: 63.94 kB / 0.5336 GB, free: 1.18 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 (15): * Single equations (assignments): 14 * 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 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002057/0.3939, allocations: 119.2 kB / 0.5337 GB, free: 1.055 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008509/0.3948, allocations: 413.5 kB / 0.5341 GB, free: 0.7539 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3948, allocations: 0 / 0.5341 GB, free: 0.7539 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005885/0.3954, allocations: 289.8 kB / 0.5344 GB, free: 0.5195 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002203/0.3956, allocations: 11.22 kB / 0.5344 GB, free: 0.5117 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006591/0.3963, allocations: 267.4 kB / 0.5347 GB, free: 284 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003537/0.3966, allocations: 0.7514 MB / 0.5354 GB, free: 15.5 MB / 362.7 MB Notification: Performance of SimCode: time 4.21e-07/0.3966, allocations: 0 / 0.5354 GB, free: 15.5 MB / 362.7 MB Notification: Performance of Templates: time 0.007045/0.4037, allocations: 4.127 MB / 0.5394 GB, free: 11.41 MB / 362.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLineOneLoadOneBank.pipe 2>&1)