Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.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.OneSourceThreeLinesOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource") translateModel(PowerSysPro.Examples.OneSourceThreeLinesOneSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 102 kB / 16.45 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 192.1 kB / 17.39 MB, free: 5.668 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.459/1.459, allocations: 222.9 MB / 241.1 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05806/0.05806, allocations: 8.104 MB / 299.3 MB, free: 6.609 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 63.89 kB / 414.5 MB, free: 21.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1387, allocations: 51.53 MB / 466 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesOneSource): time 0.003888/0.1427, allocations: 1.831 MB / 467.8 MB, free: 308 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002213/0.1449, allocations: 1.555 MB / 469.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.662e-05/0.145, allocations: 11.94 kB / 469.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003651/0.1454, allocations: 135.2 kB / 469.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000308/0.1457, allocations: 143.1 kB / 469.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001544/0.1473, allocations: 0.7935 MB / 470.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000393/0.1477, allocations: 302.5 kB / 470.8 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003389/0.148, allocations: 125.6 kB / 470.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001119/0.1481, allocations: 119.6 kB / 471 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001805/0.1483, allocations: 155.3 kB / 471.1 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.937e-05/0.1484, allocations: 24 kB / 471.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003118/0.1487, allocations: 179.8 kB / 471.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.489e-05/0.1487, allocations: 55.77 kB / 471.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000128/0.1489, allocations: 143.3 kB / 471.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004904/0.1494, allocations: 430.7 kB / 472 MB, free: 12.14 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1494, allocations: 0 / 472 MB, free: 12.14 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1494, allocations: 4 kB / 472 MB, free: 12.14 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.602e-06/0.1494, allocations: 0 / 472 MB, free: 12.14 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.003149/0.1526, allocations: 0.9631 MB / 472.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.1526, allocations: 12.03 kB / 472.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.928e-05/0.1527, allocations: 32.56 kB / 473 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003133/0.153, allocations: 276.2 kB / 473.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.1531, allocations: 24.81 kB / 473.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.502e-05/0.1531, allocations: 24.38 kB / 473.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005366/0.1537, allocations: 343.8 kB / 473.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.1537, allocations: 192 / 473.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.267e-05/0.1537, allocations: 7.938 kB / 473.6 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.1537, allocations: 4 kB / 473.6 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004673/0.1542, allocations: 337.6 kB / 474 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001629/0.1558, allocations: 1.021 MB / 475 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005746/0.1564, allocations: 390.5 kB / 475.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003773/0.1568, allocations: 232.8 kB / 475.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.157e-05/0.1569, allocations: 11.98 kB / 475.6 MB, free: 8.332 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.1569, allocations: 43.09 kB / 475.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 2.795e-06/0.1569, allocations: 0 / 475.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.00243/0.1594, allocations: 1.058 MB / 476.7 MB, free: 7.152 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.1594, allocations: 55.41 kB / 476.8 MB, free: 7.086 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002238/0.1597, allocations: 223 kB / 477 MB, free: 6.859 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.847e-05/0.1597, allocations: 37.7 kB / 477 MB, free: 6.816 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.1598, allocations: 148.5 kB / 477.2 MB, free: 6.668 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.756e-05/0.1599, allocations: 118.3 kB / 477.3 MB, free: 6.551 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.1601, allocations: 90.02 kB / 477.4 MB, free: 6.457 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1602, allocations: 334.8 kB / 477.7 MB, free: 6.121 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003407/0.1606, allocations: 240.8 kB / 477.9 MB, free: 5.887 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003405/0.1609, allocations: 239.9 kB / 478.2 MB, free: 5.652 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007108/0.1616, allocations: 0.5054 MB / 478.7 MB, free: 5.148 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.1616, allocations: 0 / 478.7 MB, free: 5.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001286/0.1629, allocations: 0.7247 MB / 479.4 MB, free: 4.406 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.163, allocations: 4 kB / 479.4 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.163, allocations: 0 / 479.4 MB, free: 4.402 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000689/0.1637, allocations: 158.5 kB / 479.6 MB, free: 4.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000375/0.1641, allocations: 83.88 kB / 479.6 MB, free: 4.156 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004219/0.1683, allocations: 4.613 MB / 484.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002603/0.1686, allocations: 31.62 kB / 484.3 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.262e-05/0.1686, allocations: 15.98 kB / 484.3 MB, free: 15.07 MB / 366.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 (50): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002031/0.1688, allocations: 157.8 kB / 484.4 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.71e-05/0.1689, allocations: 23.72 kB / 484.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001238/0.1701, allocations: 0.5923 MB / 485.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.1702, allocations: 8 kB / 485.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.1702, allocations: 0 / 485.1 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.197e-06/0.1702, allocations: 3.938 kB / 485.1 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004689/0.1706, allocations: 461.1 kB / 485.5 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.1707, allocations: 3.984 kB / 485.5 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002174/0.1709, allocations: 43.92 kB / 485.6 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005746/0.1715, allocations: 158.4 kB / 485.7 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.438e-05/0.1715, allocations: 8 kB / 485.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003838/0.1753, allocations: 4.603 MB / 490.3 MB, free: 8.523 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1754, allocations: 3.984 kB / 490.3 MB, free: 8.52 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.1764, allocations: 0.6234 MB / 491 MB, free: 7.871 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.751e-05/0.1765, allocations: 108.8 kB / 491.1 MB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.624e-05/0.1766, allocations: 4 kB / 491.1 MB, free: 7.742 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002161/0.1768, allocations: 11.94 kB / 491.1 MB, free: 7.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.994e-05/0.1769, allocations: 23.97 kB / 491.1 MB, free: 7.707 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.1769, allocations: 8 kB / 491.1 MB, free: 7.699 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000162/0.1771, allocations: 164.1 kB / 491.3 MB, free: 7.539 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1771, allocations: 4 kB / 491.3 MB, free: 7.535 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005148/0.1776, allocations: 123.9 kB / 491.4 MB, free: 7.414 MB / 366.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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002376/0.1778, allocations: 127.1 kB / 491.5 MB, free: 7.281 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00165/0.1795, allocations: 0.8773 MB / 492.4 MB, free: 6.363 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.1795, allocations: 0 / 492.4 MB, free: 6.363 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009824/0.1805, allocations: 0.5818 MB / 493 MB, free: 5.742 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.1808, allocations: 16.67 kB / 493 MB, free: 5.723 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001089/0.1819, allocations: 0.5569 MB / 493.6 MB, free: 5.141 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003509/0.1823, allocations: 0.761 MB / 494.3 MB, free: 4.352 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000139/0.1824, allocations: 38.25 kB / 494.4 MB, free: 4.312 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.772e-05/0.1825, allocations: 31.42 kB / 494.4 MB, free: 4.281 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1825, allocations: 4 kB / 494.4 MB, free: 4.277 MB / 366.1 MB Notification: Performance of Templates: time 0.009628/0.1921, allocations: 4.772 MB / 499.2 MB, free: 15.52 MB / 382.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.makefile (rm -f PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.sim & ./PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.OneSourceThreeLinesOneSource.pipe 2>&1)