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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001075/0.001075, 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.001675/0.001676, allocations: 174.8 kB / 16.63 MB, free: 6.891 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.511/1.511, allocations: 223.3 MB / 240.7 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2228/0.2228, allocations: 8.088 MB / 299.9 MB, free: 2.883 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003823/0.0003823, allocations: 12 kB / 362.9 MB, free: 13.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1505, allocations: 52.52 MB / 415.4 MB, free: 8.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads): time 0.002677/0.1533, allocations: 1.778 MB / 417.1 MB, free: 6.949 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003024/0.1563, allocations: 1.587 MB / 418.7 MB, free: 5.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003635/0.1567, allocations: 4 kB / 418.7 MB, free: 5.344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005403/0.1573, allocations: 115.4 kB / 418.9 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007092/0.158, allocations: 163 kB / 419 MB, free: 5.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.1598, allocations: 0.7747 MB / 419.8 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007221/0.1605, allocations: 374.1 kB / 420.2 MB, free: 3.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002778/0.1608, allocations: 105.8 kB / 420.3 MB, free: 3.828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000306/0.1611, allocations: 155.4 kB / 420.4 MB, free: 3.676 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000415/0.1616, allocations: 191.2 kB / 420.6 MB, free: 3.488 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.7e-05/0.1617, allocations: 16 kB / 420.6 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006102/0.1623, allocations: 195.8 kB / 420.8 MB, free: 3.281 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.811e-05/0.1624, allocations: 67.67 kB / 420.9 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001565/0.1626, allocations: 89.52 kB / 421 MB, free: 3.121 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006199/0.1632, allocations: 391.2 kB / 421.3 MB, free: 2.738 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1632, allocations: 4 kB / 421.3 MB, free: 2.734 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.497e-06/0.1632, allocations: 4 kB / 421.3 MB, free: 2.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.852e-05/0.1632, allocations: 0 / 421.3 MB, free: 2.73 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: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.003832/0.1671, allocations: 1.084 MB / 422.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.1671, allocations: 12.03 kB / 422.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001875/0.1673, allocations: 47.48 kB / 422.5 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005078/0.1678, allocations: 314.3 kB / 422.8 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.926e-05/0.1679, allocations: 28.56 kB / 422.8 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.274e-05/0.168, allocations: 28 kB / 422.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007309/0.1687, allocations: 416.7 kB / 423.3 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.1687, allocations: 0 / 423.3 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.389e-05/0.1688, allocations: 12 kB / 423.3 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.1688, allocations: 8 kB / 423.3 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008327/0.1696, allocations: 410 kB / 423.7 MB, free: 308 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2751/0.4447, allocations: 1.55 MB / 425.2 MB, free: 40.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.4458, allocations: 0.5501 MB / 425.8 MB, free: 40.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003628/0.4462, allocations: 282.9 kB / 426.1 MB, free: 40.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.575e-05/0.4463, allocations: 15.5 kB / 426.1 MB, free: 40.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/0.4463, allocations: 43.53 kB / 426.1 MB, free: 40.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 3.677e-06/0.4463, allocations: 0 / 426.1 MB, free: 40.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=46): time 0.003831/0.4501, allocations: 1.628 MB / 427.7 MB, free: 39.99 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.4502, allocations: 58.62 kB / 427.8 MB, free: 39.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.4505, allocations: 278 kB / 428.1 MB, free: 39.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.844e-05/0.4505, allocations: 36.39 kB / 428.1 MB, free: 39.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.4506, allocations: 162.8 kB / 428.3 MB, free: 39.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.614e-05/0.4507, allocations: 161.8 kB / 428.4 MB, free: 39.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.734e-05/0.4508, allocations: 17.98 kB / 428.4 MB, free: 39.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.876e-05/0.4509, allocations: 340.6 kB / 428.8 MB, free: 39.3 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003346/0.4512, allocations: 263 kB / 429 MB, free: 39.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003201/0.4515, allocations: 269.8 kB / 429.3 MB, free: 39.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003681/0.4519, allocations: 289.3 kB / 429.6 MB, free: 39.29 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.4519, allocations: 0 / 429.6 MB, free: 39.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001932/0.4538, allocations: 1.018 MB / 430.6 MB, free: 39.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.852e-05/0.4539, allocations: 6.531 kB / 430.6 MB, free: 39.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.4539, allocations: 0 / 430.6 MB, free: 39.2 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001497/0.4554, allocations: 426.1 kB / 431 MB, free: 39.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.4557, allocations: 78.02 kB / 431.1 MB, free: 39.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005234/0.4609, allocations: 5.654 MB / 436.7 MB, free: 34.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003312/0.4613, allocations: 47.94 kB / 436.8 MB, free: 34.65 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.778e-05/0.4613, allocations: 13.75 kB / 436.8 MB, free: 34.64 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 (46): * Single equations (assignments): 43 * 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.0001911/0.4615, allocations: 165.4 kB / 437 MB, free: 34.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.523e-05/0.4616, allocations: 36.12 kB / 437 MB, free: 34.48 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001961/0.4635, allocations: 0.9969 MB / 438 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.4636, allocations: 6.219 kB / 438 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.4636, allocations: 3.516 kB / 438 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.4636, allocations: 0 / 438 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004691/0.4641, allocations: 0.5634 MB / 438.6 MB, free: 33.65 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.4641, allocations: 0.875 kB / 438.6 MB, free: 33.65 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001711/0.4642, allocations: 59.89 kB / 438.6 MB, free: 33.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001368/0.4656, allocations: 419.3 kB / 439 MB, free: 33.52 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.953e-05/0.4657, allocations: 17.97 kB / 439.1 MB, free: 33.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004449/0.4701, allocations: 5.585 MB / 444.6 MB, free: 28.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.4701, allocations: 10.92 kB / 444.7 MB, free: 28.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001741/0.4719, allocations: 1.015 MB / 445.7 MB, free: 28.12 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.753e-05/0.472, allocations: 118.2 kB / 445.8 MB, free: 28 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.557e-05/0.472, allocations: 7.25 kB / 445.8 MB, free: 27.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003046/0.4723, allocations: 37.7 kB / 445.8 MB, free: 27.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.895e-05/0.4724, allocations: 49.31 kB / 445.9 MB, free: 27.97 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.369e-05/0.4725, allocations: 16.44 kB / 445.9 MB, free: 27.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001791/0.4727, allocations: 195.8 kB / 446.1 MB, free: 27.85 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4727, allocations: 3.25 kB / 446.1 MB, free: 27.85 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006086/0.4733, allocations: 164.1 kB / 446.2 MB, free: 27.83 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 (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.0001943/0.4735, allocations: 130.3 kB / 446.4 MB, free: 27.72 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001578/0.4751, allocations: 1.072 MB / 447.4 MB, free: 27.08 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.4751, allocations: 3.375 kB / 447.4 MB, free: 27.08 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.4761, allocations: 0.7571 MB / 448.2 MB, free: 26.56 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.4765, allocations: 55.03 kB / 448.3 MB, free: 26.53 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.4776, allocations: 0.8551 MB / 449.1 MB, free: 26 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001975/0.4778, allocations: 0.7985 MB / 449.9 MB, free: 25.29 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001827/0.478, allocations: 54 kB / 450 MB, free: 25.27 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.107e-05/0.4781, allocations: 39.36 kB / 450 MB, free: 25.26 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4781, allocations: 0 / 450 MB, free: 25.26 MB / 350.1 MB Notification: Performance of Templates: time 0.01184/0.4899, allocations: 9.646 MB / 459.6 MB, free: 24.66 MB / 350.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesThreeLoads.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: