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.0009483/0.0009483, allocations: 103.1 kB / 16.07 MB, free: 32 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.001665/0.001666, allocations: 179.9 kB / 16.97 MB, free: 6.875 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.496/1.496, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2081/0.2081, allocations: 8.079 MB / 300.2 MB, free: 2.938 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004655/0.0004655, allocations: 8 kB / 363.5 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1196, allocations: 52.51 MB / 416 MB, free: 8.387 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads): time 0.002696/0.1224, allocations: 1.897 MB / 417.9 MB, free: 6.484 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002757/0.1251, allocations: 1.66 MB / 419.6 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002722/0.1255, allocations: 4 kB / 419.6 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005081/0.126, allocations: 135.5 kB / 419.7 MB, free: 4.672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006589/0.1267, allocations: 167 kB / 419.9 MB, free: 4.508 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001827/0.1285, allocations: 0.907 MB / 420.8 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006828/0.1292, allocations: 398 kB / 421.2 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002541/0.1295, allocations: 115.8 kB / 421.3 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002664/0.1297, allocations: 155.3 kB / 421.4 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004/0.1301, allocations: 199.1 kB / 421.6 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.156e-05/0.1302, allocations: 20 kB / 421.6 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005816/0.1308, allocations: 211.8 kB / 421.8 MB, free: 2.523 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.5e-05/0.1309, allocations: 63.64 kB / 421.9 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002735/0.1312, allocations: 208.7 kB / 422.1 MB, free: 2.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009374/0.1322, allocations: 0.5141 MB / 422.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1322, allocations: 0 / 422.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1322, allocations: 4 kB / 422.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.78e-05/0.1322, allocations: 0 / 422.6 MB, free: 1.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.004217/0.1364, allocations: 1.088 MB / 423.7 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.1365, allocations: 8.031 kB / 423.7 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001991/0.1367, allocations: 44.47 kB / 423.8 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000521/0.1372, allocations: 327.5 kB / 424.1 MB, free: 188 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/0.1373, allocations: 24.94 kB / 424.1 MB, free: 164 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.702e-05/0.1373, allocations: 28.38 kB / 424.1 MB, free: 136 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.241/0.3784, allocations: 416.6 kB / 424.5 MB, free: 41.46 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.3785, allocations: 3 kB / 424.5 MB, free: 41.46 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.342e-05/0.3785, allocations: 12.31 kB / 424.6 MB, free: 41.46 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.3785, allocations: 9.672 kB / 424.6 MB, free: 41.46 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005946/0.3791, allocations: 408.2 kB / 425 MB, free: 41.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002543/0.3817, allocations: 1.558 MB / 426.5 MB, free: 40.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.3827, allocations: 0.5483 MB / 427.1 MB, free: 40.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003401/0.3831, allocations: 281.2 kB / 427.3 MB, free: 40.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.422e-05/0.3831, allocations: 17.16 kB / 427.4 MB, free: 40.78 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.3832, allocations: 45.31 kB / 427.4 MB, free: 40.74 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 3.376e-06/0.3832, allocations: 0 / 427.4 MB, free: 40.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=46): time 0.004509/0.3877, allocations: 1.637 MB / 429 MB, free: 40.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.3878, allocations: 57.84 kB / 429.1 MB, free: 40.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003782/0.3881, allocations: 277.1 kB / 429.4 MB, free: 40.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.113e-05/0.3882, allocations: 35.73 kB / 429.4 MB, free: 40.17 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.3883, allocations: 166 kB / 429.6 MB, free: 40.06 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.3885, allocations: 154.6 kB / 429.7 MB, free: 39.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.5e-05/0.3885, allocations: 52.08 kB / 429.8 MB, free: 39.94 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.391e-05/0.3886, allocations: 348.6 kB / 430.1 MB, free: 39.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003858/0.389, allocations: 254.6 kB / 430.4 MB, free: 39.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004447/0.3895, allocations: 278.5 kB / 430.6 MB, free: 39.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007044/0.3902, allocations: 0.5744 MB / 431.2 MB, free: 39.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.3902, allocations: 4 kB / 431.2 MB, free: 39.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002419/0.3926, allocations: 1.023 MB / 432.2 MB, free: 39.44 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.3927, allocations: 4.875 kB / 432.2 MB, free: 39.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.3927, allocations: 4.125 kB / 432.2 MB, free: 39.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001745/0.3944, allocations: 428 kB / 432.7 MB, free: 39.31 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002825/0.3947, allocations: 73.59 kB / 432.7 MB, free: 39.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005429/0.4002, allocations: 5.655 MB / 438.4 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003774/0.4006, allocations: 47.72 kB / 438.4 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/0.4006, allocations: 16.81 kB / 438.4 MB, free: 34.39 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002072/0.4008, allocations: 161.4 kB / 438.6 MB, free: 34.24 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.319e-05/0.4009, allocations: 34.84 kB / 438.6 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002248/0.4032, allocations: 1.002 MB / 439.6 MB, free: 33.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.4032, allocations: 7.688 kB / 439.6 MB, free: 33.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.4032, allocations: 3.938 kB / 439.7 MB, free: 33.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.4032, allocations: 0 / 439.7 MB, free: 33.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004927/0.4037, allocations: 0.555 MB / 440.2 MB, free: 33.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.4037, allocations: 0 / 440.2 MB, free: 33.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000189/0.4039, allocations: 59.53 kB / 440.3 MB, free: 33.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001795/0.4057, allocations: 424.6 kB / 440.7 MB, free: 33.28 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.162e-05/0.4058, allocations: 7.281 kB / 440.7 MB, free: 33.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004859/0.4106, allocations: 5.606 MB / 446.3 MB, free: 28.39 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.4106, allocations: 4.062 kB / 446.3 MB, free: 28.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002029/0.4127, allocations: 1.012 MB / 447.3 MB, free: 27.88 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.511e-05/0.4128, allocations: 129 kB / 447.4 MB, free: 27.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.457e-05/0.4128, allocations: 8.938 kB / 447.4 MB, free: 27.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003776/0.4132, allocations: 32.2 kB / 447.5 MB, free: 27.73 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001282/0.4133, allocations: 47.98 kB / 447.5 MB, free: 27.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.714e-05/0.4134, allocations: 19.56 kB / 447.5 MB, free: 27.71 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002153/0.4136, allocations: 196.4 kB / 447.7 MB, free: 27.6 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4136, allocations: 5.859 kB / 447.7 MB, free: 27.6 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006313/0.4143, allocations: 168.5 kB / 447.9 MB, free: 27.57 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 (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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,4), (2,4), (2,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002152/0.4145, allocations: 126.9 kB / 448 MB, free: 27.47 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001777/0.4163, allocations: 1.074 MB / 449.1 MB, free: 26.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.4163, allocations: 0 / 449.1 MB, free: 26.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001157/0.4175, allocations: 0.7601 MB / 449.9 MB, free: 26.31 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004558/0.4179, allocations: 43.41 kB / 449.9 MB, free: 26.29 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.4191, allocations: 0.9201 MB / 450.8 MB, free: 25.71 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002408/0.4193, allocations: 0.8022 MB / 451.6 MB, free: 25.01 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001926/0.4196, allocations: 53.14 kB / 451.7 MB, free: 24.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.079e-05/0.4196, allocations: 36.47 kB / 451.7 MB, free: 24.97 MB / 350.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4196, allocations: 0 / 451.7 MB, free: 24.97 MB / 350.1 MB Notification: Performance of Templates: time 0.01329/0.4329, allocations: 9.923 MB / 461.6 MB, free: 24.38 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: