Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.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.OneSourceOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo") translateModel(PowerSysPro.Examples.OneSourceOneTransfo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009094/0.0009093, allocations: 84.19 kB / 15.75 MB, free: 416 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.001294/0.001294, allocations: 176.3 kB / 16.63 MB, free: 6.887 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.505/1.505, allocations: 223.3 MB / 240.7 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2093/0.2093, allocations: 8.085 MB / 299.8 MB, free: 2.887 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003809/0.000381, allocations: 12 kB / 362.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1278/0.1282, allocations: 52.51 MB / 415.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfo): time 0.001568/0.1299, allocations: 0.7344 MB / 416.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002134/0.132, allocations: 1.388 MB / 417.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.1322, allocations: 0 / 417.5 MB, free: 6.594 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003463/0.1325, allocations: 75.67 kB / 417.6 MB, free: 6.52 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002923/0.1328, allocations: 67.67 kB / 417.6 MB, free: 6.453 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.1342, allocations: 0.6969 MB / 418.3 MB, free: 5.754 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002446/0.1345, allocations: 95.47 kB / 418.4 MB, free: 5.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.1346, allocations: 33.02 kB / 418.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.487e-05/0.1347, allocations: 39.86 kB / 418.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.873e-05/0.1348, allocations: 59.75 kB / 418.5 MB, free: 5.531 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.1348, allocations: 4 kB / 418.5 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004191/0.1353, allocations: 199.8 kB / 418.7 MB, free: 5.332 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.891e-05/0.1353, allocations: 15.92 kB / 418.8 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.829e-05/0.1354, allocations: 45.64 kB / 418.8 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003413/0.1357, allocations: 183.9 kB / 419 MB, free: 5.086 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1357, allocations: 0 / 419 MB, free: 5.086 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1358, allocations: 0 / 419 MB, free: 5.086 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.1358, allocations: 0 / 419 MB, free: 5.086 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001911/0.1377, allocations: 0.6373 MB / 419.6 MB, free: 4.402 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.1377, allocations: 8.031 kB / 419.6 MB, free: 4.395 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.685e-05/0.1378, allocations: 15.86 kB / 419.6 MB, free: 4.379 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.1381, allocations: 205.4 kB / 419.8 MB, free: 4.141 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.1381, allocations: 11.98 kB / 419.9 MB, free: 4.129 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.178e-05/0.1381, allocations: 12 kB / 419.9 MB, free: 4.117 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000315/0.1385, allocations: 163.2 kB / 420 MB, free: 3.945 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.1385, allocations: 0 / 420 MB, free: 3.945 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.105e-05/0.1385, allocations: 4 kB / 420 MB, free: 3.941 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1385, allocations: 0 / 420 MB, free: 3.941 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002325/0.1388, allocations: 120 kB / 420.1 MB, free: 3.824 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009574/0.1397, allocations: 492.4 kB / 420.6 MB, free: 3.293 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006528/0.1404, allocations: 174.6 kB / 420.8 MB, free: 3.113 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.299e-05/0.1405, allocations: 48.78 kB / 420.8 MB, free: 3.062 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005381/0.141, allocations: 470.5 kB / 421.3 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.1411, allocations: 42.5 kB / 421.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.673e-06/0.1411, allocations: 0 / 421.3 MB, free: 2.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0007948/0.1419, allocations: 291.3 kB / 421.6 MB, free: 2.195 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.142, allocations: 81.11 kB / 421.7 MB, free: 2.098 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.1421, allocations: 156.9 kB / 421.9 MB, free: 1.926 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.1422, allocations: 29.7 kB / 421.9 MB, free: 1.891 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.004e-05/0.1422, allocations: 111.8 kB / 422 MB, free: 1.777 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.392e-05/0.1423, allocations: 43.39 kB / 422 MB, free: 1.734 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.127e-06/0.1423, allocations: 0 / 422 MB, free: 1.734 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1425, allocations: 326.8 kB / 422.4 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.1426, allocations: 60.36 kB / 422.4 MB, free: 1.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/0.1428, allocations: 111.8 kB / 422.5 MB, free: 1.219 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001305/0.143, allocations: 75.97 kB / 422.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.143, allocations: 0 / 422.6 MB, free: 1.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005469/0.1435, allocations: 256.3 kB / 422.9 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.1435, allocations: 4 kB / 422.9 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.1436, allocations: 4 kB / 422.9 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003986/0.144, allocations: 64.8 kB / 422.9 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001402/0.1441, allocations: 43.92 kB / 423 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.228/0.3722, allocations: 1.368 MB / 424.3 MB, free: 40.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002364/0.3725, allocations: 21.81 kB / 424.4 MB, free: 40.16 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.996e-05/0.3725, allocations: 11.42 kB / 424.4 MB, free: 40.16 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001139/0.3726, allocations: 124.2 kB / 424.5 MB, free: 40.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.252e-05/0.3727, allocations: 8.703 kB / 424.5 MB, free: 40.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004719/0.3731, allocations: 203.9 kB / 424.7 MB, free: 40 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.3732, allocations: 1.594 kB / 424.7 MB, free: 40 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.3732, allocations: 2.344 kB / 424.7 MB, free: 40 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3732, allocations: 0.6562 kB / 424.7 MB, free: 40 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002477/0.3734, allocations: 225.3 kB / 424.9 MB, free: 39.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.3735, allocations: 3.906 kB / 424.9 MB, free: 39.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.17e-05/0.3735, allocations: 13.39 kB / 424.9 MB, free: 39.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003233/0.3738, allocations: 70.08 kB / 425 MB, free: 39.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/0.3739, allocations: 5.875 kB / 425 MB, free: 39.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001149/0.375, allocations: 1.375 MB / 426.4 MB, free: 38.56 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.375, allocations: 0 / 426.4 MB, free: 38.56 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003841/0.3754, allocations: 264.5 kB / 426.6 MB, free: 38.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.863e-05/0.3755, allocations: 96.09 kB / 426.7 MB, free: 38.33 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.3755, allocations: 4.797 kB / 426.7 MB, free: 38.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.3756, allocations: 7.5 kB / 426.8 MB, free: 38.32 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/0.3757, allocations: 10.14 kB / 426.8 MB, free: 38.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.085e-06/0.3757, allocations: 3.781 kB / 426.8 MB, free: 38.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.84e-05/0.3758, allocations: 125.5 kB / 426.9 MB, free: 38.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3758, allocations: 0 / 426.9 MB, free: 38.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003509/0.3761, allocations: 40.56 kB / 426.9 MB, free: 38.25 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 (10): * Single equations (assignments): 9 * 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.0001984/0.3763, allocations: 119.5 kB / 427 MB, free: 38.16 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005862/0.3769, allocations: 269.8 kB / 427.3 MB, free: 38.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3769, allocations: 2.625 kB / 427.3 MB, free: 38.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002643/0.3772, allocations: 177.2 kB / 427.5 MB, free: 37.95 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.3775, allocations: 13.58 kB / 427.5 MB, free: 37.95 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005344/0.378, allocations: 312.6 kB / 427.8 MB, free: 37.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001471/0.3782, allocations: 0.7035 MB / 428.5 MB, free: 37.07 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.137e-05/0.3782, allocations: 19.77 kB / 428.5 MB, free: 37.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.243e-05/0.3783, allocations: 14.06 kB / 428.5 MB, free: 37.06 MB / 350.1 MB Notification: Performance of SimCode: time 3.3e-07/0.3783, allocations: 0 / 428.5 MB, free: 37.06 MB / 350.1 MB Notification: Performance of Templates: time 0.004844/0.3831, allocations: 1.73 MB / 430.3 MB, free: 36.96 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.makefile Environment - environmentSimulation: (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfo.pipe 2>&1) Environment - environmentSimulation: