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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008158/0.0008159, allocations: 96.7 kB / 16.06 MB, free: 40 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008416/0.0008417, allocations: 182.9 kB / 16.96 MB, free: 6.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.541/1.541, allocations: 223.3 MB / 241 MB, free: 5.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.202/0.202, allocations: 8.089 MB / 300.2 MB, free: 2.895 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000304/0.000304, allocations: 8 kB / 363.5 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1171, allocations: 52.51 MB / 416 MB, free: 8.395 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad): time 0.001616/0.1188, allocations: 1.286 MB / 417.3 MB, free: 7.105 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001936/0.1207, allocations: 1.532 MB / 418.8 MB, free: 5.559 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.125e-05/0.1208, allocations: 4 kB / 418.8 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003235/0.1211, allocations: 107.6 kB / 418.9 MB, free: 5.449 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003091/0.1214, allocations: 119.3 kB / 419 MB, free: 5.332 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001843/0.1233, allocations: 1.117 MB / 420.2 MB, free: 4.215 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003145/0.1236, allocations: 234.8 kB / 420.4 MB, free: 3.984 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001695/0.1238, allocations: 72.03 kB / 420.5 MB, free: 3.914 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.924e-05/0.1239, allocations: 87.64 kB / 420.5 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.1241, allocations: 119.4 kB / 420.7 MB, free: 3.711 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.1241, allocations: 12 kB / 420.7 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004189/0.1246, allocations: 251.8 kB / 420.9 MB, free: 3.453 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.216e-05/0.1246, allocations: 39.78 kB / 421 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001096/0.1247, allocations: 121.2 kB / 421.1 MB, free: 3.289 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004972/0.1252, allocations: 419 kB / 421.5 MB, free: 2.879 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1252, allocations: 0 / 421.5 MB, free: 2.879 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1253, allocations: 0 / 421.5 MB, free: 2.879 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1253, allocations: 0 / 421.5 MB, free: 2.879 MB / 350.1 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.00291/0.1282, allocations: 0.8773 MB / 422.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.1282, allocations: 8.031 kB / 422.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.393e-05/0.1283, allocations: 28.66 kB / 422.4 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003375/0.1287, allocations: 255.9 kB / 422.6 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.605e-05/0.1287, allocations: 16.7 kB / 422.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.448e-05/0.1288, allocations: 16.38 kB / 422.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004782/0.1292, allocations: 290 kB / 423 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.1293, allocations: 192 / 423 MB, free: 1.301 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.041e-05/0.1293, allocations: 15.94 kB / 423 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.1293, allocations: 4 kB / 423 MB, free: 1.281 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003811/0.1297, allocations: 247.9 kB / 423.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2297/0.3594, allocations: 1.144 MB / 424.4 MB, free: 41.29 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006503/0.3601, allocations: 303.8 kB / 424.7 MB, free: 41.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002443/0.3603, allocations: 157.9 kB / 424.8 MB, free: 41.25 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.192e-05/0.3604, allocations: 7.047 kB / 424.8 MB, free: 41.25 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.3604, allocations: 39.31 kB / 424.9 MB, free: 41.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=25): time 3.767e-06/0.3604, allocations: 1.312 kB / 424.9 MB, free: 41.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.003087/0.3635, allocations: 0.9553 MB / 425.8 MB, free: 41.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/0.3636, allocations: 86.11 kB / 425.9 MB, free: 40.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.3638, allocations: 209.2 kB / 426.1 MB, free: 40.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.3638, allocations: 32.73 kB / 426.1 MB, free: 40.85 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.721e-05/0.3639, allocations: 138.7 kB / 426.3 MB, free: 40.76 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.634e-05/0.364, allocations: 85.02 kB / 426.4 MB, free: 40.71 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.599e-05/0.364, allocations: 33.61 kB / 426.4 MB, free: 40.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.19e-05/0.3641, allocations: 332.3 kB / 426.7 MB, free: 40.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.3643, allocations: 159.8 kB / 426.9 MB, free: 40.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002418/0.3645, allocations: 193.3 kB / 427.1 MB, free: 40.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004581/0.365, allocations: 375.1 kB / 427.4 MB, free: 40.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.365, allocations: 0 / 427.4 MB, free: 40.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001708/0.3667, allocations: 0.6875 MB / 428.1 MB, free: 40.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.3668, allocations: 3.125 kB / 428.1 MB, free: 40.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.3668, allocations: 1.75 kB / 428.1 MB, free: 40.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001737/0.3685, allocations: 393.3 kB / 428.5 MB, free: 40.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.3688, allocations: 50.77 kB / 428.6 MB, free: 40.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003798/0.3726, allocations: 2.53 MB / 431.1 MB, free: 38.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002607/0.3728, allocations: 27.5 kB / 431.1 MB, free: 38.96 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.988e-05/0.3729, allocations: 11.66 kB / 431.1 MB, free: 38.96 MB / 350.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001474/0.373, allocations: 139.4 kB / 431.3 MB, free: 38.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.835e-05/0.3731, allocations: 19.66 kB / 431.3 MB, free: 38.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001714/0.3748, allocations: 0.6529 MB / 431.9 MB, free: 38.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3748, allocations: 3.406 kB / 431.9 MB, free: 38.78 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.3748, allocations: 8.203 kB / 431.9 MB, free: 38.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3748, allocations: 4 kB / 431.9 MB, free: 38.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003636/0.3752, allocations: 391.4 kB / 432.3 MB, free: 38.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3752, allocations: 0 / 432.3 MB, free: 38.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.3754, allocations: 35.92 kB / 432.4 MB, free: 38.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001682/0.377, allocations: 372.5 kB / 432.7 MB, free: 38.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/0.3771, allocations: 9.469 kB / 432.7 MB, free: 38.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003665/0.3808, allocations: 2.498 MB / 435.2 MB, free: 36.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3808, allocations: 0 / 435.2 MB, free: 36.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/0.3823, allocations: 0.7068 MB / 435.9 MB, free: 36.61 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.076e-05/0.3824, allocations: 102.2 kB / 436 MB, free: 36.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.45e-05/0.3824, allocations: 4.75 kB / 436 MB, free: 36.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002341/0.3827, allocations: 28.53 kB / 436.1 MB, free: 36.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.284e-05/0.3827, allocations: 28.02 kB / 436.1 MB, free: 36.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.3828, allocations: 10.28 kB / 436.1 MB, free: 36.47 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001219/0.3829, allocations: 153 kB / 436.3 MB, free: 36.37 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3829, allocations: 0 / 436.3 MB, free: 36.37 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004683/0.3834, allocations: 96.91 kB / 436.4 MB, free: 36.36 MB / 350.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001994/0.3836, allocations: 119 kB / 436.5 MB, free: 36.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001433/0.385, allocations: 0.63 MB / 437.1 MB, free: 35.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.385, allocations: 0 / 437.1 MB, free: 35.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.3861, allocations: 454.2 kB / 437.5 MB, free: 35.72 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003409/0.3864, allocations: 25.59 kB / 437.6 MB, free: 35.71 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007575/0.3872, allocations: 0.602 MB / 438.2 MB, free: 35.32 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001681/0.3874, allocations: 0.7505 MB / 438.9 MB, free: 34.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001177/0.3875, allocations: 31.42 kB / 439 MB, free: 34.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.393e-05/0.3876, allocations: 20.69 kB / 439 MB, free: 34.61 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.3876, allocations: 3.844 kB / 439 MB, free: 34.61 MB / 350.1 MB Notification: Performance of Templates: time 0.00902/0.3966, allocations: 5.82 MB / 444.8 MB, free: 34.23 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOnelineOneLoad.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: