Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.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.OneSourceOneTransfoOnelineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009157/0.0009157, allocations: 177.8 kB / 8.044 MB, free: 1.016 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.309/1.309, allocations: 221.5 MB / 230 MB, free: 3.137 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.000873/0.0008728, allocations: 93.05 kB / 280.9 MB, free: 1.145 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05721/0.05721, allocations: 8.1 MB / 339.8 MB, free: 6.238 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.759e-05/1.761e-05, allocations: 4 kB / 398.5 MB, free: 67.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09253/0.09256, allocations: 52.52 MB / 451 MB, free: 15.15 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.433/0.5256, allocations: 80.25 MB / 0.5188 GB, free: 13.77 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002095/0.5259, allocations: 63.86 kB / 0.5188 GB, free: 13.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02084/0.5467, allocations: 8.141 MB / 0.5268 GB, free: 7.383 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.433e-06/0.5468, allocations: 3.938 kB / 0.5268 GB, free: 7.379 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.312e-05/0.5468, allocations: 4 kB / 0.5268 GB, free: 7.375 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001653/0.5484, allocations: 0.6353 MB / 0.5274 GB, free: 6.73 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.5485, allocations: 11.98 kB / 0.5274 GB, free: 6.719 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.165e-05/0.5486, allocations: 23.72 kB / 0.5275 GB, free: 6.695 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004108/0.549, allocations: 272.6 kB / 0.5277 GB, free: 6.422 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.549, allocations: 4 kB / 0.5277 GB, free: 6.418 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.454e-05/0.5491, allocations: 12 kB / 0.5277 GB, free: 6.406 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003518/0.5494, allocations: 232.3 kB / 0.5279 GB, free: 6.277 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003972/0.5498, allocations: 269.9 kB / 0.5282 GB, free: 6.09 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.5499, allocations: 0 / 0.5282 GB, free: 6.09 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.979e-05/0.5499, allocations: 0 / 0.5282 GB, free: 6.09 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.5499, allocations: 7.938 kB / 0.5282 GB, free: 6.082 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001514/0.5514, allocations: 1.142 MB / 0.5293 GB, free: 5.074 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000565/0.552, allocations: 295.6 kB / 0.5296 GB, free: 4.891 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001819/0.5522, allocations: 145.3 kB / 0.5298 GB, free: 4.812 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001543/0.5524, allocations: 85.11 kB / 0.5298 GB, free: 4.711 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.5524, allocations: 38.36 kB / 0.5299 GB, free: 4.668 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 1.453e-06/0.5524, allocations: 0 / 0.5299 GB, free: 4.668 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.001825/0.5542, allocations: 0.5705 MB / 0.5304 GB, free: 4.242 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.379e-05/0.5543, allocations: 85.11 kB / 0.5305 GB, free: 4.141 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.5545, allocations: 182.4 kB / 0.5307 GB, free: 3.984 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.627e-05/0.5545, allocations: 25.7 kB / 0.5307 GB, free: 3.953 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.657e-05/0.5546, allocations: 137.9 kB / 0.5308 GB, free: 3.836 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.866e-05/0.5547, allocations: 77.53 kB / 0.5309 GB, free: 3.77 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.704e-05/0.5547, allocations: 0 / 0.5309 GB, free: 3.77 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.5549, allocations: 329.7 kB / 0.5312 GB, free: 3.445 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001595/0.555, allocations: 128 kB / 0.5313 GB, free: 3.379 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.5552, allocations: 161.1 kB / 0.5315 GB, free: 3.281 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003679/0.5556, allocations: 154.4 kB / 0.5316 GB, free: 3.195 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.5556, allocations: 0 / 0.5316 GB, free: 3.195 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001719/0.5573, allocations: 0.6053 MB / 0.5322 GB, free: 2.746 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.5574, allocations: 7.953 kB / 0.5322 GB, free: 2.738 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.5574, allocations: 0 / 0.5322 GB, free: 2.738 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00158/0.559, allocations: 332.7 kB / 0.5326 GB, free: 2.461 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.5592, allocations: 39.91 kB / 0.5326 GB, free: 2.422 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003407/0.5626, allocations: 2.334 MB / 0.5349 GB, free: 0.5391 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002303/0.5628, allocations: 11.84 kB / 0.5349 GB, free: 0.5273 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.995e-05/0.5629, allocations: 10.12 kB / 0.5349 GB, free: 0.5195 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 (21): * Single equations (assignments): 20 * 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 {3 5} Notification: Performance of prepare postOptimizeDAE: time 0.000115/0.563, allocations: 104.9 kB / 0.535 GB, free: 420 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.108e-05/0.5631, allocations: 28.2 kB / 0.535 GB, free: 392 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001889/0.565, allocations: 0.6238 MB / 0.5356 GB, free: 15.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.565, allocations: 7.938 kB / 0.5356 GB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.565, allocations: 0 / 0.5356 GB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.443e-06/0.565, allocations: 3.984 kB / 0.5356 GB, free: 15.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004665/0.5655, allocations: 388 kB / 0.536 GB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.5655, allocations: 0 / 0.536 GB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001515/0.5656, allocations: 43.91 kB / 0.5361 GB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001497/0.5671, allocations: 332.8 kB / 0.5364 GB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.5672, allocations: 0 / 0.5364 GB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003139/0.5703, allocations: 2.327 MB / 0.5387 GB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.5703, allocations: 4 kB / 0.5387 GB, free: 13.39 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001756/0.5721, allocations: 0.6794 MB / 0.5393 GB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.086e-05/0.5722, allocations: 112.4 kB / 0.5394 GB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.751e-05/0.5723, allocations: 0 / 0.5394 GB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.5725, allocations: 8 kB / 0.5394 GB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.616e-05/0.5726, allocations: 27.39 kB / 0.5395 GB, free: 12.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.5726, allocations: 4 kB / 0.5395 GB, free: 12.69 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001487/0.5728, allocations: 150.7 kB / 0.5396 GB, free: 12.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5728, allocations: 0 / 0.5396 GB, free: 12.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005064/0.5733, allocations: 87.92 kB / 0.5397 GB, free: 12.48 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 (21): * Single equations (assignments): 20 * 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 {3 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002297/0.5735, allocations: 107.4 kB / 0.5398 GB, free: 12.37 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00111/0.5746, allocations: 0.4931 MB / 0.5403 GB, free: 12.01 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5746, allocations: 0 / 0.5403 GB, free: 12.01 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006857/0.5753, allocations: 344.5 kB / 0.5406 GB, free: 11.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/0.5756, allocations: 13.44 kB / 0.5406 GB, free: 11.74 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000532/0.5761, allocations: 285.8 kB / 0.5409 GB, free: 11.49 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.5765, allocations: 0.7488 MB / 0.5416 GB, free: 10.71 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000143/0.5767, allocations: 34.14 kB / 0.5417 GB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.566e-05/0.5767, allocations: 26.17 kB / 0.5417 GB, free: 10.66 MB / 362.7 MB Notification: Performance of SimCode: time 3.2e-07/0.5767, allocations: 0 / 0.5417 GB, free: 10.66 MB / 362.7 MB Notification: Performance of Templates: time 0.009011/0.5857, allocations: 5.433 MB / 0.547 GB, free: 5.273 MB / 362.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.pipe 2>&1)