Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.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.OneSourceThreeLinesThreeLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads") translateModel(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads") [: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.001264/0.001264, allocations: 191.4 kB / 7.844 MB, free: 2.508 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.268/1.268, allocations: 221.4 MB / 229.7 MB, free: 3.078 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.0009649/0.000965, allocations: 94.78 kB / 280.5 MB, free: 1.281 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04081/0.04081, allocations: 8.097 MB / 339.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.023e-06/7.103e-06, allocations: 0 / 397.9 MB, free: 68.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09869/0.09872, allocations: 52.52 MB / 450.4 MB, free: 15.53 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2597/0.3585, allocations: 78.9 MB / 0.5169 GB, free: 15.31 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001776/0.3587, allocations: 63.47 kB / 0.517 GB, free: 15.28 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.03068/0.3894, allocations: 11.14 MB / 0.5279 GB, free: 6.676 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.179e-05/0.3895, allocations: 8 kB / 0.5279 GB, free: 6.668 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002354/0.3918, allocations: 0.7998 MB / 0.5286 GB, free: 5.883 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.3919, allocations: 11.97 kB / 0.5287 GB, free: 5.871 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002242/0.3921, allocations: 43.53 kB / 0.5287 GB, free: 5.828 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006702/0.3928, allocations: 328.3 kB / 0.529 GB, free: 5.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.3929, allocations: 8 kB / 0.529 GB, free: 5.512 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.769e-05/0.3929, allocations: 16 kB / 0.529 GB, free: 5.496 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006857/0.3936, allocations: 389.2 kB / 0.5294 GB, free: 5.277 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006378/0.3943, allocations: 371.6 kB / 0.5298 GB, free: 5.039 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.3943, allocations: 0 / 0.5298 GB, free: 5.039 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.272e-05/0.3943, allocations: 7.906 kB / 0.5298 GB, free: 5.031 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.3944, allocations: 8 kB / 0.5298 GB, free: 5.023 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002664/0.397, allocations: 1.6 MB / 0.5313 GB, free: 3.723 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006438/0.3977, allocations: 439 kB / 0.5318 GB, free: 3.461 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003695/0.3981, allocations: 264.3 kB / 0.532 GB, free: 3.316 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001986/0.3983, allocations: 92.36 kB / 0.5321 GB, free: 3.211 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.922e-05/0.3983, allocations: 41.89 kB / 0.5321 GB, free: 3.164 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 2.274e-06/0.3984, allocations: 4 kB / 0.5321 GB, free: 3.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.002596/0.401, allocations: 0.8281 MB / 0.5329 GB, free: 2.566 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.536e-05/0.401, allocations: 59.41 kB / 0.533 GB, free: 2.496 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002844/0.4013, allocations: 235.1 kB / 0.5332 GB, free: 2.301 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.75e-05/0.4014, allocations: 25.7 kB / 0.5333 GB, free: 2.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.4015, allocations: 146.2 kB / 0.5334 GB, free: 2.137 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.4016, allocations: 139.9 kB / 0.5335 GB, free: 2.012 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.748e-05/0.4016, allocations: 0 / 0.5335 GB, free: 2.012 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.4018, allocations: 341 kB / 0.5339 GB, free: 1.684 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003147/0.4021, allocations: 212.3 kB / 0.5341 GB, free: 1.578 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003123/0.4024, allocations: 220.7 kB / 0.5343 GB, free: 1.461 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000702/0.4032, allocations: 277.5 kB / 0.5345 GB, free: 1.301 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4032, allocations: 3.938 kB / 0.5345 GB, free: 1.297 MB / 346.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002443/0.4056, allocations: 0.8961 MB / 0.5354 GB, free: 0.6523 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.4056, allocations: 11.12 kB / 0.5354 GB, free: 0.6445 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.4057, allocations: 0 / 0.5354 GB, free: 0.6445 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001877/0.4075, allocations: 397.4 kB / 0.5358 GB, free: 348 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002778/0.4078, allocations: 59.89 kB / 0.5359 GB, free: 288 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005998/0.4138, allocations: 5.272 MB / 0.541 GB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003785/0.4143, allocations: 23.69 kB / 0.541 GB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.044e-05/0.4143, allocations: 14.61 kB / 0.541 GB, free: 11.48 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 (34): * Single equations (assignments): 31 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 4,2 4,2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001477/0.4145, allocations: 115 kB / 0.5412 GB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.402e-05/0.4146, allocations: 31.62 kB / 0.5412 GB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002592/0.4172, allocations: 0.9447 MB / 0.5421 GB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.4172, allocations: 4 kB / 0.5421 GB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.4172, allocations: 0 / 0.5421 GB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-06/0.4172, allocations: 3.984 kB / 0.5421 GB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006005/0.4178, allocations: 0.5453 MB / 0.5426 GB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.4178, allocations: 7.922 kB / 0.5427 GB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/0.4181, allocations: 59.53 kB / 0.5427 GB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001749/0.4198, allocations: 391.4 kB / 0.5431 GB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.617e-05/0.4199, allocations: 0 / 0.5431 GB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005785/0.4257, allocations: 5.283 MB / 0.5482 GB, free: 5.102 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.4257, allocations: 0 / 0.5482 GB, free: 5.102 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002387/0.4281, allocations: 0.9715 MB / 0.5492 GB, free: 4.363 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.455e-05/0.4282, allocations: 116 kB / 0.5493 GB, free: 4.234 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.999e-05/0.4283, allocations: 4 kB / 0.5493 GB, free: 4.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000385/0.4286, allocations: 23.89 kB / 0.5493 GB, free: 4.207 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.725e-05/0.4287, allocations: 31.52 kB / 0.5494 GB, free: 4.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.955e-05/0.4288, allocations: 15.19 kB / 0.5494 GB, free: 4.168 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001665/0.4289, allocations: 187.7 kB / 0.5495 GB, free: 4.023 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005703/0.4295, allocations: 135.2 kB / 0.5497 GB, free: 3.895 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): 31 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 4,2 4,2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002044/0.4297, allocations: 119.1 kB / 0.5498 GB, free: 3.766 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001759/0.4315, allocations: 0.9059 MB / 0.5507 GB, free: 3.07 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.4315, allocations: 4 kB / 0.5507 GB, free: 3.066 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001318/0.4328, allocations: 0.6671 MB / 0.5513 GB, free: 2.398 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.4332, allocations: 32.94 kB / 0.5514 GB, free: 2.363 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.4344, allocations: 495.2 kB / 0.5518 GB, free: 1.848 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004338/0.4348, allocations: 0.832 MB / 0.5526 GB, free: 0.9922 MB / 362.7 MB Notification: Performance of SimCode: time 4.41e-07/0.4348, allocations: 4 kB / 0.5527 GB, free: 0.9883 MB / 362.7 MB Notification: Performance of Templates: time 0.0145/0.4493, allocations: 9.312 MB / 0.5617 GB, free: 7.734 MB / 378.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe 2>&1)