Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.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.OneSourceOneLoadwithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors") translateModel(PowerSysPro.Examples.OneSourceOneLoadwithSensors,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors") [: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.001284/0.001284, allocations: 194.6 kB / 7.847 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.204/1.204, allocations: 221.4 MB / 229.7 MB, free: 3.012 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.0008979/0.000898, allocations: 103.5 kB / 280.5 MB, free: 1.312 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04141/0.04141, allocations: 8.093 MB / 339.4 MB, free: 6.395 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.742e-06/6.782e-06, allocations: 0 / 397.9 MB, free: 68.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09048/0.0905, allocations: 52.51 MB / 450.4 MB, free: 15.53 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2568/0.3474, allocations: 78.92 MB / 0.5169 GB, free: 15.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002004/0.3477, allocations: 60.66 kB / 0.517 GB, free: 15.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01955/0.3672, allocations: 7.293 MB / 0.5241 GB, free: 9.594 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.284e-05/0.3673, allocations: 4 kB / 0.5241 GB, free: 9.59 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001341/0.3686, allocations: 0.5404 MB / 0.5246 GB, free: 9.031 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.3687, allocations: 11.97 kB / 0.5246 GB, free: 9.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.3688, allocations: 23.72 kB / 0.5247 GB, free: 8.996 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.369, allocations: 202.4 kB / 0.5249 GB, free: 8.762 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.369, allocations: 8 kB / 0.5249 GB, free: 8.754 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.002e-05/0.3691, allocations: 16 kB / 0.5249 GB, free: 8.738 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000384/0.3695, allocations: 225.8 kB / 0.5251 GB, free: 8.609 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004033/0.3699, allocations: 258 kB / 0.5253 GB, free: 8.41 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.3699, allocations: 0 / 0.5253 GB, free: 8.41 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.582e-05/0.37, allocations: 0.75 kB / 0.5253 GB, free: 8.41 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.37, allocations: 8 kB / 0.5254 GB, free: 8.402 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001618/0.3716, allocations: 0.9406 MB / 0.5263 GB, free: 7.613 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005638/0.3722, allocations: 232.7 kB / 0.5265 GB, free: 7.43 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.3723, allocations: 59.84 kB / 0.5266 GB, free: 7.387 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001497/0.3725, allocations: 92.78 kB / 0.5266 GB, free: 7.281 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.3725, allocations: 38.69 kB / 0.5267 GB, free: 7.234 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 2.014e-06/0.3725, allocations: 5.359 kB / 0.5267 GB, free: 7.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007775/0.3733, allocations: 230.2 kB / 0.5269 GB, free: 7.047 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.3734, allocations: 77.11 kB / 0.527 GB, free: 6.953 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/0.3736, allocations: 185.8 kB / 0.5272 GB, free: 6.793 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/0.3736, allocations: 29.7 kB / 0.5272 GB, free: 6.758 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001402/0.3738, allocations: 157.7 kB / 0.5273 GB, free: 6.609 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.239e-05/0.3738, allocations: 55.02 kB / 0.5274 GB, free: 6.562 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.207e-05/0.3738, allocations: 0 / 0.5274 GB, free: 6.562 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.374, allocations: 330 kB / 0.5277 GB, free: 6.238 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.3741, allocations: 71.06 kB / 0.5278 GB, free: 6.199 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.3743, allocations: 119.4 kB / 0.5279 GB, free: 6.109 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003816/0.3746, allocations: 128 kB / 0.528 GB, free: 6.027 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.3747, allocations: 3.906 kB / 0.528 GB, free: 6.023 MB / 346.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007926/0.3755, allocations: 321.3 kB / 0.5283 GB, free: 5.773 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.3755, allocations: 4 kB / 0.5283 GB, free: 5.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.3755, allocations: 4 kB / 0.5283 GB, free: 5.766 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000408/0.3759, allocations: 77.03 kB / 0.5284 GB, free: 5.699 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002038/0.3761, allocations: 39.97 kB / 0.5284 GB, free: 5.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002633/0.3788, allocations: 2.537 MB / 0.5309 GB, free: 3.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002473/0.379, allocations: 23.72 kB / 0.5309 GB, free: 2.996 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.468e-05/0.3791, allocations: 8 kB / 0.5309 GB, free: 2.988 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 25 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001681/0.3793, allocations: 116.8 kB / 0.5311 GB, free: 2.871 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.139e-05/0.3794, allocations: 15.81 kB / 0.5311 GB, free: 2.855 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006478/0.38, allocations: 247.4 kB / 0.5313 GB, free: 2.656 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.38, allocations: 4 kB / 0.5313 GB, free: 2.652 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.38, allocations: 0 / 0.5313 GB, free: 2.652 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.3801, allocations: 3.938 kB / 0.5313 GB, free: 2.648 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.3812, allocations: 0.6726 MB / 0.532 GB, free: 2.047 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.3812, allocations: 4 kB / 0.532 GB, free: 2.043 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.672e-05/0.3813, allocations: 23.3 kB / 0.532 GB, free: 2.023 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003069/0.3816, allocations: 74.61 kB / 0.5321 GB, free: 1.957 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.3816, allocations: 0 / 0.5321 GB, free: 1.957 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002104/0.3838, allocations: 2.537 MB / 0.5345 GB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.3838, allocations: 0 / 0.5345 GB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006069/0.3844, allocations: 402.6 kB / 0.5349 GB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.972e-05/0.3845, allocations: 99.91 kB / 0.535 GB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.223e-05/0.3845, allocations: 96 / 0.535 GB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002536/0.3848, allocations: 23.89 kB / 0.535 GB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.864e-05/0.3848, allocations: 11.36 kB / 0.5351 GB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.3848, allocations: 7.984 kB / 0.5351 GB, free: 14.79 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.000144/0.385, allocations: 145.6 kB / 0.5352 GB, free: 14.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004653/0.3855, allocations: 67.47 kB / 0.5353 GB, free: 14.61 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (15): * Single equations (assignments): 13 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001899/0.3857, allocations: 120.8 kB / 0.5354 GB, free: 14.49 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006794/0.3864, allocations: 400.3 kB / 0.5358 GB, free: 14.15 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.3864, allocations: 0 / 0.5358 GB, free: 14.15 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000384/0.3868, allocations: 287 kB / 0.536 GB, free: 13.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.3871, allocations: 15.42 kB / 0.5361 GB, free: 13.86 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006678/0.3877, allocations: 258.9 kB / 0.5363 GB, free: 13.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004652/0.3882, allocations: 0.7622 MB / 0.537 GB, free: 12.84 MB / 362.7 MB Notification: Performance of SimCode: time 3.41e-07/0.3882, allocations: 0 / 0.537 GB, free: 12.84 MB / 362.7 MB Notification: Performance of Templates: time 0.006497/0.3947, allocations: 3.05 MB / 0.54 GB, free: 9.816 MB / 362.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneLoadwithSensors.pipe 2>&1)