Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.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.OneSourceOneLoadWithBuses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses") translateModel(PowerSysPro.Examples.OneSourceOneLoadWithBuses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses") [: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.00121/0.00121, 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.279/1.279, allocations: 221.4 MB / 229.7 MB, free: 3.051 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.001016/0.001016, allocations: 96.66 kB / 280.5 MB, free: 1.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.03697/0.03697, allocations: 8.099 MB / 339.4 MB, free: 6.332 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.132e-06/6.162e-06, allocations: 4 kB / 397.9 MB, free: 67.97 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08574/0.08575, allocations: 52.52 MB / 450.4 MB, free: 15.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2735/0.3593, allocations: 78.59 MB / 0.5166 GB, free: 15.47 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001763/0.3595, allocations: 56.55 kB / 0.5167 GB, free: 15.45 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.0111/0.3707, allocations: 4.167 MB / 0.5207 GB, free: 12.21 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.338e-06/0.3707, allocations: 4 kB / 0.5207 GB, free: 12.21 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0005816/0.3713, allocations: 423.3 kB / 0.5211 GB, free: 11.76 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.3713, allocations: 11.97 kB / 0.5211 GB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.851e-05/0.3714, allocations: 15.81 kB / 0.5212 GB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.3715, allocations: 190.7 kB / 0.5213 GB, free: 11.51 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.3716, allocations: 4 kB / 0.5213 GB, free: 11.51 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.974e-05/0.3716, allocations: 4 kB / 0.5214 GB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001722/0.3718, allocations: 88.23 kB / 0.5214 GB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.372, allocations: 114.7 kB / 0.5215 GB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.372, allocations: 0 / 0.5215 GB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.609e-05/0.372, allocations: 0 / 0.5215 GB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.985e-06/0.372, allocations: 7.906 kB / 0.5216 GB, free: 11.36 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006721/0.3727, allocations: 463.1 kB / 0.522 GB, free: 10.94 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002822/0.373, allocations: 99.42 kB / 0.5221 GB, free: 10.85 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.759e-05/0.373, allocations: 19.92 kB / 0.5221 GB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001414/0.3732, allocations: 85.11 kB / 0.5222 GB, free: 10.73 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.3732, allocations: 34.5 kB / 0.5222 GB, free: 10.69 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.223e-06/0.3732, allocations: 0 / 0.5222 GB, free: 10.69 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003572/0.3736, allocations: 99.11 kB / 0.5223 GB, free: 10.6 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.3736, allocations: 59.16 kB / 0.5224 GB, free: 10.54 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.3737, allocations: 131.1 kB / 0.5225 GB, free: 10.42 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.3738, allocations: 25.7 kB / 0.5225 GB, free: 10.39 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.348e-05/0.3738, allocations: 119 kB / 0.5226 GB, free: 10.27 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.595e-05/0.3739, allocations: 23.17 kB / 0.5227 GB, free: 10.25 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-06/0.3739, allocations: 0 / 0.5227 GB, free: 10.25 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.439e-05/0.374, allocations: 321.9 kB / 0.523 GB, free: 9.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.245e-05/0.374, allocations: 25.75 kB / 0.523 GB, free: 9.914 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.788e-05/0.374, allocations: 32.38 kB / 0.523 GB, free: 9.895 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001264/0.3742, allocations: 33.72 kB / 0.5231 GB, free: 9.871 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3742, allocations: 0 / 0.5231 GB, free: 9.871 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003251/0.3745, allocations: 137.8 kB / 0.5232 GB, free: 9.754 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.151e-05/0.3745, allocations: 4 kB / 0.5232 GB, free: 9.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.3746, allocations: 0 / 0.5232 GB, free: 9.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002234/0.3748, allocations: 35.45 kB / 0.5232 GB, free: 9.719 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.297e-05/0.3749, allocations: 19.98 kB / 0.5232 GB, free: 9.699 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001034/0.3759, allocations: 1.258 MB / 0.5245 GB, free: 8.379 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.069e-05/0.376, allocations: 3.906 kB / 0.5245 GB, free: 8.375 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.398e-05/0.376, allocations: 4.031 kB / 0.5245 GB, free: 8.371 MB / 346.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 (9): * Single equations (assignments): 8 * 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 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.754e-05/0.3761, allocations: 104.9 kB / 0.5246 GB, free: 8.262 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.565e-05/0.3762, allocations: 7.906 kB / 0.5246 GB, free: 8.254 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002862/0.3765, allocations: 117 kB / 0.5247 GB, free: 8.152 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3765, allocations: 0 / 0.5247 GB, free: 8.152 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.3765, allocations: 288 / 0.5247 GB, free: 8.152 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.3765, allocations: 7.906 kB / 0.5247 GB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.3767, allocations: 181.2 kB / 0.5249 GB, free: 7.945 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.3767, allocations: 4.062 kB / 0.5249 GB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.849e-05/0.3767, allocations: 8.5 kB / 0.5249 GB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001645/0.3769, allocations: 38.83 kB / 0.5249 GB, free: 7.898 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.3769, allocations: 3.938 kB / 0.5249 GB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000914/0.3778, allocations: 1.26 MB / 0.5262 GB, free: 6.574 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3779, allocations: 0 / 0.5262 GB, free: 6.574 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002795/0.3781, allocations: 204.6 kB / 0.5264 GB, free: 6.375 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.487e-05/0.3782, allocations: 84.27 kB / 0.5264 GB, free: 6.277 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.3782, allocations: 0 / 0.5264 GB, free: 6.277 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.3783, allocations: 11.98 kB / 0.5264 GB, free: 6.266 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.411e-05/0.3784, allocations: 0 / 0.5264 GB, free: 6.266 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.3784, allocations: 4 kB / 0.5265 GB, free: 6.262 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.257e-05/0.3784, allocations: 108.9 kB / 0.5266 GB, free: 6.168 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002834/0.3787, allocations: 35.84 kB / 0.5266 GB, free: 6.133 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 (5): * Single equations (assignments): 4 * 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 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001477/0.3789, allocations: 108.2 kB / 0.5267 GB, free: 6.016 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003007/0.3792, allocations: 165 kB / 0.5269 GB, free: 5.867 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.3792, allocations: 4 kB / 0.5269 GB, free: 5.863 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001623/0.3794, allocations: 132.3 kB / 0.527 GB, free: 5.73 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001846/0.3796, allocations: 11.42 kB / 0.527 GB, free: 5.723 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002919/0.3799, allocations: 132.7 kB / 0.5271 GB, free: 5.582 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002505/0.3801, allocations: 0.723 MB / 0.5278 GB, free: 4.832 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3802, allocations: 0 / 0.5278 GB, free: 4.832 MB / 346.7 MB Notification: Performance of Templates: time 0.003678/0.3838, allocations: 1.401 MB / 0.5292 GB, free: 3.453 MB / 346.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadWithBuses.pipe 2>&1)