Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.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.OneSourceThreeLinesThreeLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads") translateModel(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001005/0.001009, allocations: 176 kB / 15.8 MB, free: 6.34 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.375/1.375, allocations: 223.2 MB / 239.7 MB, free: 1.793 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.0008749/0.0008749, allocations: 92.8 kB / 290.9 MB, free: 13.97 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04608/0.04608, allocations: 8.101 MB / 350.1 MB, free: 2.742 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003397/0.0003397, allocations: 10.53 kB / 413.1 MB, free: 89.62 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1035, allocations: 52.53 MB / 465.6 MB, free: 42.1 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3091/0.4127, allocations: 79.36 MB / 0.5322 GB, free: 16.75 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/0.413, allocations: 64.89 kB / 0.5323 GB, free: 16.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02844/0.4414, allocations: 11.66 MB / 0.5436 GB, free: 31.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.4414, allocations: 0 / 0.5436 GB, free: 31.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.678e-05/0.4415, allocations: 7.75 kB / 0.5437 GB, free: 31.43 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002035/0.4435, allocations: 0.8437 MB / 0.5445 GB, free: 30.94 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.4435, allocations: 11.62 kB / 0.5445 GB, free: 30.94 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.682e-05/0.4436, allocations: 42.86 kB / 0.5445 GB, free: 30.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003901/0.444, allocations: 346.7 kB / 0.5449 GB, free: 30.68 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.4441, allocations: 19.78 kB / 0.5449 GB, free: 30.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.337e-05/0.4441, allocations: 23.34 kB / 0.5449 GB, free: 30.68 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005575/0.4447, allocations: 412.3 kB / 0.5453 GB, free: 30.64 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.4447, allocations: 0 / 0.5453 GB, free: 30.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.81e-05/0.4447, allocations: 15.31 kB / 0.5453 GB, free: 30.64 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.4447, allocations: 9.297 kB / 0.5453 GB, free: 30.64 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000475/0.4452, allocations: 415.9 kB / 0.5457 GB, free: 30.63 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001993/0.4472, allocations: 1.658 MB / 0.5473 GB, free: 29.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000924/0.4482, allocations: 0.5487 MB / 0.5479 GB, free: 29.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001179/0.4483, allocations: 99.73 kB / 0.548 GB, free: 29.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.862e-05/0.4483, allocations: 42.95 kB / 0.548 GB, free: 29.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=46): time 1.503e-06/0.4483, allocations: 0 / 0.548 GB, free: 29.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=46): time 0.003826/0.4522, allocations: 1.603 MB / 0.5496 GB, free: 29.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.4522, allocations: 59.03 kB / 0.5496 GB, free: 29.28 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000256/0.4525, allocations: 256.4 kB / 0.5499 GB, free: 29.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.81e-05/0.4525, allocations: 37.33 kB / 0.5499 GB, free: 29.15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.979e-05/0.4526, allocations: 157.2 kB / 0.5501 GB, free: 29.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.792e-05/0.4527, allocations: 162.8 kB / 0.5502 GB, free: 28.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-05/0.4527, allocations: 11.22 kB / 0.5502 GB, free: 28.95 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.234e-05/0.4528, allocations: 339.5 kB / 0.5506 GB, free: 28.63 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002708/0.4531, allocations: 224.7 kB / 0.5508 GB, free: 28.63 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002632/0.4533, allocations: 231.9 kB / 0.551 GB, free: 28.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002913/0.4536, allocations: 251.6 kB / 0.5512 GB, free: 28.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.4536, allocations: 0 / 0.5512 GB, free: 28.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001913/0.4556, allocations: 0.922 MB / 0.5521 GB, free: 28.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.4556, allocations: 3.875 kB / 0.5521 GB, free: 28.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.4556, allocations: 0 / 0.5521 GB, free: 28.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001676/0.4573, allocations: 410 kB / 0.5525 GB, free: 28.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.4575, allocations: 56.75 kB / 0.5526 GB, free: 28.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005908/0.4634, allocations: 5.757 MB / 0.5582 GB, free: 24.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005012/0.464, allocations: 31.78 kB / 0.5582 GB, free: 24.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.248e-05/0.464, allocations: 12.23 kB / 0.5582 GB, free: 24.58 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 31 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 4,2 4,2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002863/0.4643, allocations: 164 kB / 0.5584 GB, free: 24.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.011e-05/0.4644, allocations: 41.88 kB / 0.5584 GB, free: 24.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002435/0.4669, allocations: 0.9853 MB / 0.5594 GB, free: 24.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.4669, allocations: 9.438 kB / 0.5594 GB, free: 24.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4669, allocations: 7.953 kB / 0.5594 GB, free: 24.31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.4669, allocations: 3.594 kB / 0.5594 GB, free: 24.31 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007489/0.4677, allocations: 0.6056 MB / 0.56 GB, free: 24.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.4677, allocations: 0 / 0.56 GB, free: 24.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002271/0.4679, allocations: 57.61 kB / 0.5601 GB, free: 24.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001649/0.4696, allocations: 409.7 kB / 0.5605 GB, free: 24.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.221e-05/0.4696, allocations: 13.48 kB / 0.5605 GB, free: 24.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006065/0.4757, allocations: 5.719 MB / 0.5661 GB, free: 20.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4757, allocations: 0 / 0.5661 GB, free: 20.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002123/0.4779, allocations: 0.9991 MB / 0.567 GB, free: 20 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000112/0.478, allocations: 122.5 kB / 0.5671 GB, free: 19.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.344e-05/0.4781, allocations: 11.03 kB / 0.5672 GB, free: 19.88 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003716/0.4784, allocations: 34 kB / 0.5672 GB, free: 19.88 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.703e-05/0.4785, allocations: 50.89 kB / 0.5672 GB, free: 19.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.561e-05/0.4786, allocations: 14.69 kB / 0.5673 GB, free: 19.87 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002579/0.4788, allocations: 212.9 kB / 0.5675 GB, free: 19.79 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4789, allocations: 0 / 0.5675 GB, free: 19.79 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000675/0.4795, allocations: 170 kB / 0.5676 GB, free: 19.79 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 34 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 4,2 4,2 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002146/0.4798, allocations: 125.6 kB / 0.5677 GB, free: 19.69 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001756/0.4815, allocations: 1.024 MB / 0.5687 GB, free: 19.31 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/0.4815, allocations: 0 / 0.5687 GB, free: 19.31 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001282/0.4828, allocations: 0.754 MB / 0.5695 GB, free: 18.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.4832, allocations: 39.33 kB / 0.5695 GB, free: 18.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001174/0.4844, allocations: 0.8473 MB / 0.5703 GB, free: 18.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004201/0.4848, allocations: 0.8054 MB / 0.5711 GB, free: 17.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001886/0.485, allocations: 51.64 kB / 0.5712 GB, free: 17.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.533e-05/0.4851, allocations: 34.73 kB / 0.5712 GB, free: 17.79 MB / 378.7 MB Notification: Performance of SimCode: time 4.21e-07/0.4851, allocations: 3.938 kB / 0.5712 GB, free: 17.79 MB / 378.7 MB Notification: Performance of Templates: time 0.01404/0.4991, allocations: 9.584 MB / 0.5806 GB, free: 15.38 MB / 378.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.pipe 2>&1)