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.001205/0.001205, allocations: 100.3 kB / 15.73 MB, free: 436 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.001577/0.001577, allocations: 178.2 kB / 16.61 MB, free: 6.418 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.376/1.376, allocations: 223.2 MB / 240.6 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.2096/0.2096, allocations: 8.083 MB / 299.7 MB, free: 2.961 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003354, allocations: 12 kB / 362.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1352, allocations: 52.51 MB / 415.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceThreeLinesThreeLoads): time 0.002199/0.1374, allocations: 1.64 MB / 416.9 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002292/0.1398, allocations: 1.599 MB / 418.5 MB, free: 5.508 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.1399, allocations: 4 kB / 418.5 MB, free: 5.504 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003457/0.1402, allocations: 103.4 kB / 418.6 MB, free: 5.402 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003684/0.1406, allocations: 191.5 kB / 418.8 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001412/0.142, allocations: 0.7824 MB / 419.6 MB, free: 4.434 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004735/0.1425, allocations: 287.4 kB / 419.9 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000207/0.1427, allocations: 101.8 kB / 420 MB, free: 4.055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.1429, allocations: 147.5 kB / 420.1 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002505/0.1432, allocations: 191.2 kB / 420.3 MB, free: 3.723 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.572e-05/0.1432, allocations: 20 kB / 420.3 MB, free: 3.703 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003441/0.1436, allocations: 171.8 kB / 420.5 MB, free: 3.535 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.727e-05/0.1436, allocations: 67.73 kB / 420.5 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.404e-05/0.1437, allocations: 93.52 kB / 420.6 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004184/0.1441, allocations: 387.2 kB / 421 MB, free: 2.992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.1442, allocations: 0 / 421 MB, free: 2.992 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1442, allocations: 0 / 421 MB, free: 2.992 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.051e-06/0.1442, allocations: 0 / 421 MB, free: 2.992 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.003503/0.1477, allocations: 1.084 MB / 422.1 MB, free: 1.859 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.1477, allocations: 12.03 kB / 422.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001149/0.1479, allocations: 43.48 kB / 422.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004901/0.1484, allocations: 318.3 kB / 422.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.174e-05/0.1484, allocations: 24.56 kB / 422.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.204e-05/0.1485, allocations: 28 kB / 422.5 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006724/0.1492, allocations: 408.8 kB / 422.9 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.1492, allocations: 3.938 kB / 422.9 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.307e-05/0.1492, allocations: 16 kB / 422.9 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.1492, allocations: 8 kB / 422.9 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006172/0.1499, allocations: 418 kB / 423.4 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2412/0.3911, allocations: 1.562 MB / 424.9 MB, free: 40.55 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.3922, allocations: 0.5485 MB / 425.5 MB, free: 40.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.467e-05/0.3922, allocations: 14.5 kB / 425.5 MB, free: 40.52 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.3923, allocations: 41.95 kB / 425.5 MB, free: 40.48 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 3.166e-06/0.3923, allocations: 1.844 kB / 425.5 MB, free: 40.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=46): time 0.004211/0.3965, allocations: 1.623 MB / 427.1 MB, free: 40.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.3965, allocations: 54.91 kB / 427.2 MB, free: 40.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002993/0.3969, allocations: 280.9 kB / 427.5 MB, free: 39.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.47e-05/0.3969, allocations: 39.45 kB / 427.5 MB, free: 39.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.776e-05/0.397, allocations: 163.2 kB / 427.7 MB, free: 39.83 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.695e-05/0.3971, allocations: 155.9 kB / 427.8 MB, free: 39.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/0.3972, allocations: 9.875 kB / 427.8 MB, free: 39.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.151e-05/0.3972, allocations: 340.9 kB / 428.2 MB, free: 39.44 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000329/0.3976, allocations: 262 kB / 428.4 MB, free: 39.44 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003213/0.3979, allocations: 264.2 kB / 428.7 MB, free: 39.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003717/0.3983, allocations: 292.6 kB / 429 MB, free: 39.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3983, allocations: 0 / 429 MB, free: 39.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002031/0.4003, allocations: 1.016 MB / 430 MB, free: 39.33 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.4004, allocations: 3.094 kB / 430 MB, free: 39.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/0.4004, allocations: 7.125 kB / 430 MB, free: 39.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001724/0.4021, allocations: 424.8 kB / 430.4 MB, free: 39.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002887/0.4024, allocations: 75.38 kB / 430.5 MB, free: 39.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005512/0.4079, allocations: 5.754 MB / 436.2 MB, free: 35.03 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003205/0.4083, allocations: 41.56 kB / 436.3 MB, free: 35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.639e-05/0.4083, allocations: 18.09 kB / 436.3 MB, free: 34.99 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.0001715/0.4085, allocations: 165.4 kB / 436.5 MB, free: 34.84 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.466e-05/0.4086, allocations: 31.5 kB / 436.5 MB, free: 34.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002027/0.4106, allocations: 0.997 MB / 437.5 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.4106, allocations: 6.281 kB / 437.5 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.4106, allocations: 0 / 437.5 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.4106, allocations: 3.281 kB / 437.5 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005251/0.4112, allocations: 0.5611 MB / 438 MB, free: 34.01 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.4112, allocations: 0 / 438 MB, free: 34.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/0.4114, allocations: 62.64 kB / 438.1 MB, free: 34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001478/0.4128, allocations: 418.7 kB / 438.5 MB, free: 33.88 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.354e-05/0.4129, allocations: 20.06 kB / 438.5 MB, free: 33.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004524/0.4174, allocations: 5.695 MB / 444.2 MB, free: 28.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4174, allocations: 0 / 444.2 MB, free: 28.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/0.4193, allocations: 1.02 MB / 445.3 MB, free: 28.43 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.651e-05/0.4194, allocations: 118.2 kB / 445.4 MB, free: 28.3 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.919e-05/0.4195, allocations: 10.72 kB / 445.4 MB, free: 28.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003345/0.4198, allocations: 30.81 kB / 445.4 MB, free: 28.29 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.403e-05/0.4199, allocations: 42.12 kB / 445.5 MB, free: 28.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.155e-05/0.4199, allocations: 13.12 kB / 445.5 MB, free: 28.28 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001869/0.4201, allocations: 200.6 kB / 445.7 MB, free: 28.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4202, allocations: 3.25 kB / 445.7 MB, free: 28.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000616/0.4208, allocations: 168.1 kB / 445.8 MB, free: 28.13 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.0002018/0.421, allocations: 128.2 kB / 446 MB, free: 28.03 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001578/0.4226, allocations: 1.078 MB / 447 MB, free: 27.38 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.189e-06/0.4226, allocations: 0 / 447 MB, free: 27.38 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.4236, allocations: 0.7618 MB / 447.8 MB, free: 26.86 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.424, allocations: 43.09 kB / 447.8 MB, free: 26.84 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001014/0.425, allocations: 0.8633 MB / 448.7 MB, free: 26.3 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002062/0.4252, allocations: 0.8141 MB / 449.5 MB, free: 25.6 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001614/0.4254, allocations: 48.8 kB / 449.6 MB, free: 25.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.854e-05/0.4254, allocations: 36.75 kB / 449.6 MB, free: 25.57 MB / 350.1 MB Notification: Performance of SimCode: time 4.6e-07/0.4255, allocations: 0.6562 kB / 449.6 MB, free: 25.57 MB / 350.1 MB Notification: Performance of Templates: time 0.01273/0.4382, allocations: 9.599 MB / 459.2 MB, free: 24.98 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: