Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.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.MediumNetworks.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network") translateModel(PowerSysPro.Examples.MediumNetworks.Network,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network") [: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.00171/0.00171, allocations: 189.4 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.456/1.456, allocations: 221.4 MB / 229.7 MB, free: 3.086 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.000964/0.000964, allocations: 92.94 kB / 280.5 MB, free: 1.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.0395/0.0395, allocations: 8.106 MB / 339.4 MB, free: 6.348 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.606e-06/8.636e-06, allocations: 4 kB / 397.9 MB, free: 68.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1093, allocations: 52.52 MB / 450.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3542/0.4636, allocations: 80.71 MB / 0.5187 GB, free: 13.76 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002081/0.4638, allocations: 67.34 kB / 0.5187 GB, free: 13.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.06078/0.5246, allocations: 20.87 MB / 0.5391 GB, free: 13.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.511e-05/0.5248, allocations: 15.94 kB / 0.5391 GB, free: 13.59 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.005738/0.5305, allocations: 1.339 MB / 0.5405 GB, free: 12.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/0.5306, allocations: 13.5 kB / 0.5405 GB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000485/0.5311, allocations: 83.06 kB / 0.5405 GB, free: 12.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/0.5324, allocations: 472.8 kB / 0.541 GB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.611e-05/0.5324, allocations: 16 kB / 0.541 GB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001865/0.5326, allocations: 28 kB / 0.541 GB, free: 11.78 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001644/0.5343, allocations: 0.7434 MB / 0.5418 GB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001617/0.5359, allocations: 0.7549 MB / 0.5425 GB, free: 10.87 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.779e-05/0.5359, allocations: 3.938 kB / 0.5425 GB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.5361, allocations: 7.938 kB / 0.5425 GB, free: 10.86 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/0.5361, allocations: 12 kB / 0.5425 GB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006471/0.5426, allocations: 3.473 MB / 0.5459 GB, free: 7.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/0.5439, allocations: 0.8676 MB / 0.5468 GB, free: 7.387 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007986/0.5447, allocations: 0.5417 MB / 0.5473 GB, free: 7.113 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002728/0.545, allocations: 97.86 kB / 0.5474 GB, free: 7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.221e-05/0.5451, allocations: 54.39 kB / 0.5474 GB, free: 6.945 MB / 362.7 MB Notification: Performance of pre-optimization done (n=88): time 3.507e-06/0.5451, allocations: 0 / 0.5474 GB, free: 6.945 MB / 362.7 MB Notification: Performance of matching and sorting (n=88): time 0.007671/0.5528, allocations: 2.088 MB / 0.5495 GB, free: 4.961 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.553, allocations: 111.6 kB / 0.5496 GB, free: 4.828 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006657/0.5536, allocations: 329.2 kB / 0.5499 GB, free: 4.504 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001965/0.5539, allocations: 29.7 kB / 0.5499 GB, free: 4.469 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/0.554, allocations: 173.3 kB / 0.5501 GB, free: 4.293 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003989/0.5544, allocations: 291.6 kB / 0.5504 GB, free: 4.004 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.203e-05/0.5545, allocations: 0 / 0.5504 GB, free: 4.004 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002133/0.5547, allocations: 370.8 kB / 0.5507 GB, free: 3.633 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008374/0.5556, allocations: 433.5 kB / 0.5511 GB, free: 3.211 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008154/0.5564, allocations: 493.5 kB / 0.5516 GB, free: 2.723 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001638/0.5581, allocations: 0.5315 MB / 0.5521 GB, free: 2.191 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.5581, allocations: 0 / 0.5521 GB, free: 2.191 MB / 362.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.007714/0.5658, allocations: 2.125 MB / 0.5542 GB, free: 56 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.49e-05/0.5659, allocations: 4 kB / 0.5542 GB, free: 52 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.5659, allocations: 4 kB / 0.5542 GB, free: 48 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007246/0.5732, allocations: 1.303 MB / 0.5555 GB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006699/0.5739, allocations: 103.8 kB / 0.5556 GB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01497/0.5889, allocations: 5.909 MB / 0.5613 GB, free: 8.605 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.59, allocations: 43.42 kB / 0.5614 GB, free: 8.562 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000192/0.5902, allocations: 31.98 kB / 0.5614 GB, free: 8.531 MB / 378.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: load1.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 (55): * Single equations (assignments): 54 * 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 {12 26} Notification: Performance of prepare postOptimizeDAE: time 0.0003846/0.5906, allocations: 114.2 kB / 0.5615 GB, free: 8.414 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002781/0.5909, allocations: 67.16 kB / 0.5616 GB, free: 8.348 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007554/0.5984, allocations: 2.302 MB / 0.5638 GB, free: 6.035 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-05/0.5985, allocations: 15.97 kB / 0.5639 GB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5985, allocations: 0 / 0.5639 GB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.491e-05/0.5985, allocations: 3.984 kB / 0.5639 GB, free: 6.016 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001574/0.6001, allocations: 1.017 MB / 0.5649 GB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/0.6001, allocations: 0 / 0.5649 GB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000421/0.6006, allocations: 107.9 kB / 0.565 GB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006418/0.607, allocations: 1.312 MB / 0.5662 GB, free: 3.539 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/0.6071, allocations: 11.98 kB / 0.5662 GB, free: 3.527 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01301/0.6202, allocations: 5.957 MB / 0.5721 GB, free: 13.44 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.6202, allocations: 0 / 0.5721 GB, free: 13.44 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007141/0.6273, allocations: 2.266 MB / 0.5743 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002378/0.6276, allocations: 148.1 kB / 0.5744 GB, free: 10.99 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/0.6278, allocations: 7.984 kB / 0.5744 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006892/0.6284, allocations: 43.97 kB / 0.5745 GB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.6286, allocations: 56.81 kB / 0.5745 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.684e-05/0.6287, allocations: 27.98 kB / 0.5745 GB, free: 10.86 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0003019/0.629, allocations: 259.2 kB / 0.5748 GB, free: 10.61 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008881/0.6299, allocations: 271.8 kB / 0.5751 GB, free: 10.34 MB / 394.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 (65): * Single equations (assignments): 64 * 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 {12 26} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002438/0.6301, allocations: 127.1 kB / 0.5752 GB, free: 10.2 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0038/0.6339, allocations: 1.508 MB / 0.5766 GB, free: 8.68 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.634, allocations: 0 / 0.5766 GB, free: 8.68 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004464/0.6384, allocations: 1.019 MB / 0.5776 GB, free: 7.652 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000847/0.6393, allocations: 45.95 kB / 0.5777 GB, free: 7.605 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004418/0.6437, allocations: 0.9109 MB / 0.5786 GB, free: 6.668 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001115/0.6449, allocations: 0.9718 MB / 0.5795 GB, free: 5.668 MB / 394.7 MB Notification: Performance of SimCode: time 4.198e-06/0.6449, allocations: 4 kB / 0.5795 GB, free: 5.664 MB / 394.7 MB Notification: Performance of Templates: time 0.0415/0.6864, allocations: 19.49 MB / 0.5986 GB, free: 2.23 MB / 410.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.makefile (rm -f PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.sim & ./PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.MediumNetworks.Network.pipe 2>&1)