Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Tests.OneLine.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.Tests.OneLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneLine") translateModel(PowerSysPro.Tests.OneLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Tests.OneLine") [: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.001464/0.001464, allocations: 193 kB / 7.848 MB, free: 2.457 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.251/1.251, allocations: 221.4 MB / 229.7 MB, free: 3.125 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.0009852/0.0009852, allocations: 92.38 kB / 280.5 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03535/0.03535, allocations: 8.102 MB / 339.4 MB, free: 6.34 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.36e-06/5.401e-06, allocations: 0 / 397.9 MB, free: 68.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07132/0.07134, allocations: 52.52 MB / 450.4 MB, free: 15.5 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.232/0.3033, allocations: 78.04 MB / 0.5161 GB, free: 136 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001584/0.3035, allocations: 58.86 kB / 0.5161 GB, free: 112 kB / 330.7 MB Notification: Performance of FrontEnd: time 0.01124/0.3148, allocations: 4.453 MB / 0.5205 GB, free: 12.72 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.427e-05/0.3148, allocations: 0 / 0.5205 GB, free: 12.72 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0007423/0.3156, allocations: 468.2 kB / 0.5209 GB, free: 12.24 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/0.3156, allocations: 15.97 kB / 0.5209 GB, free: 12.22 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.102e-05/0.3157, allocations: 23.8 kB / 0.521 GB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.316, allocations: 206 kB / 0.5212 GB, free: 11.97 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.194e-05/0.316, allocations: 8 kB / 0.5212 GB, free: 11.96 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.199e-05/0.316, allocations: 11.91 kB / 0.5212 GB, free: 11.95 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002084/0.3162, allocations: 100.5 kB / 0.5213 GB, free: 11.9 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.3165, allocations: 137.8 kB / 0.5214 GB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.3165, allocations: 0 / 0.5214 GB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.3165, allocations: 0 / 0.5214 GB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.3165, allocations: 4 kB / 0.5214 GB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000743/0.3173, allocations: 0.4962 MB / 0.5219 GB, free: 11.34 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.3174, allocations: 88.69 kB / 0.522 GB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.066e-05/0.3175, allocations: 38.36 kB / 0.522 GB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001367/0.3176, allocations: 85.64 kB / 0.5221 GB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.3177, allocations: 32 kB / 0.5221 GB, free: 11.11 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.422e-06/0.3177, allocations: 0 / 0.5221 GB, free: 11.11 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006427/0.3183, allocations: 183.8 kB / 0.5223 GB, free: 10.95 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/0.3184, allocations: 51.41 kB / 0.5223 GB, free: 10.89 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.789e-05/0.3185, allocations: 118.2 kB / 0.5225 GB, free: 10.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.3185, allocations: 25.7 kB / 0.5225 GB, free: 10.74 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.93e-05/0.3186, allocations: 126 kB / 0.5226 GB, free: 10.62 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.3186, allocations: 30.73 kB / 0.5226 GB, free: 10.59 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.384e-06/0.3186, allocations: 0 / 0.5226 GB, free: 10.59 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001066/0.3187, allocations: 322.1 kB / 0.5229 GB, free: 10.27 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.221e-05/0.3188, allocations: 25.88 kB / 0.523 GB, free: 10.26 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.718e-05/0.3188, allocations: 42.78 kB / 0.523 GB, free: 10.22 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.319, allocations: 34.09 kB / 0.523 GB, free: 10.2 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.319, allocations: 0 / 0.523 GB, free: 10.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000511/0.3195, allocations: 179.3 kB / 0.5232 GB, free: 10.05 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.3195, allocations: 4 kB / 0.5232 GB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3195, allocations: 0 / 0.5232 GB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004116/0.32, allocations: 69.91 kB / 0.5233 GB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.633e-05/0.32, allocations: 15.92 kB / 0.5233 GB, free: 9.969 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001681/0.3217, allocations: 1.48 MB / 0.5247 GB, free: 8.492 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.034e-05/0.3218, allocations: 7.938 kB / 0.5247 GB, free: 8.484 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.3218, allocations: 0.5625 kB / 0.5247 GB, free: 8.484 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * 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: 1 {(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.819e-05/0.3219, allocations: 110.7 kB / 0.5249 GB, free: 8.371 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.913e-05/0.322, allocations: 7.906 kB / 0.5249 GB, free: 8.363 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000606/0.3226, allocations: 209.2 kB / 0.5251 GB, free: 8.191 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.3226, allocations: 3.906 kB / 0.5251 GB, free: 8.188 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3226, allocations: 0 / 0.5251 GB, free: 8.188 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.3226, allocations: 7.984 kB / 0.5251 GB, free: 8.18 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001859/0.3228, allocations: 185 kB / 0.5252 GB, free: 7.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3228, allocations: 4 kB / 0.5253 GB, free: 7.977 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.239e-05/0.3229, allocations: 12.86 kB / 0.5253 GB, free: 7.965 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003571/0.3232, allocations: 76.47 kB / 0.5253 GB, free: 7.898 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.3232, allocations: 4 kB / 0.5253 GB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001514/0.3248, allocations: 1.479 MB / 0.5268 GB, free: 6.418 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.3248, allocations: 0 / 0.5268 GB, free: 6.418 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005564/0.3253, allocations: 286.7 kB / 0.5271 GB, free: 6.156 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.77e-05/0.3254, allocations: 92.86 kB / 0.5271 GB, free: 6.047 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.805e-05/0.3254, allocations: 0 / 0.5271 GB, free: 6.047 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.504e-05/0.3255, allocations: 0 / 0.5271 GB, free: 6.047 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.536e-05/0.3256, allocations: 7.984 kB / 0.5272 GB, free: 6.039 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.3256, allocations: 4 kB / 0.5272 GB, free: 6.035 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.599e-05/0.3256, allocations: 98.12 kB / 0.5273 GB, free: 5.949 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002855/0.3259, allocations: 39.91 kB / 0.5273 GB, free: 5.91 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 (8): * Single equations (assignments): 7 * 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: 1 {(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001579/0.3261, allocations: 110.9 kB / 0.5274 GB, free: 5.793 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005304/0.3266, allocations: 210.7 kB / 0.5276 GB, free: 5.602 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3266, allocations: 0 / 0.5276 GB, free: 5.602 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003816/0.327, allocations: 195.7 kB / 0.5278 GB, free: 5.418 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001511/0.3272, allocations: 1.531 kB / 0.5278 GB, free: 5.418 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003544/0.3275, allocations: 141.6 kB / 0.5279 GB, free: 5.27 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000261/0.3278, allocations: 0.7263 MB / 0.5286 GB, free: 4.52 MB / 346.7 MB Notification: Performance of SimCode: time 4.21e-07/0.3278, allocations: 0 / 0.5286 GB, free: 4.52 MB / 346.7 MB Notification: Performance of Templates: time 0.003826/0.3317, allocations: 1.605 MB / 0.5302 GB, free: 2.926 MB / 346.7 MB make -j1 -f PowerSysPro_PowerSysPro.Tests.OneLine.makefile (rm -f PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; mkfifo PowerSysPro_PowerSysPro.Tests.OneLine.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Tests.OneLine.pipe >> ../files/PowerSysPro_PowerSysPro.Tests.OneLine.sim & ./PowerSysPro_PowerSysPro.Tests.OneLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Tests.OneLine.pipe 2>&1)