Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(PowerSystems.Examples.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line") translateModel(PowerSystems.Examples.AC3ph.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009609/0.000961, allocations: 95.06 kB / 16.3 MB, free: 5.523 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.0009842/0.0009843, allocations: 184.5 kB / 17.2 MB, free: 5.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.4 MB / 223.3 MB, free: 13.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1633/0.1633, allocations: 38.04 MB / 309.7 MB, free: 6.133 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004916/0.0004916, allocations: 19.12 kB / 376.5 MB, free: 3.211 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2702/0.2707, allocations: 56.32 MB / 432.8 MB, free: 18.86 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Line): time 0.004592/0.2754, allocations: 5.113 MB / 437.9 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002883/0.2783, allocations: 1.938 MB / 439.9 MB, free: 11.78 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003561/0.2787, allocations: 35.75 kB / 439.9 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003475/0.279, allocations: 135.2 kB / 440 MB, free: 11.61 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005988/0.2797, allocations: 299 kB / 440.3 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000745/0.2804, allocations: 343.2 kB / 440.6 MB, free: 10.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004006/0.2808, allocations: 427.5 kB / 441.1 MB, free: 10.57 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007054/0.2815, allocations: 0.5631 MB / 441.6 MB, free: 9.973 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003246/0.2819, allocations: 263 kB / 441.9 MB, free: 9.715 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004183/0.2823, allocations: 343 kB / 442.2 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.153e-05/0.2824, allocations: 28 kB / 442.2 MB, free: 9.352 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002473/0.2826, allocations: 103.9 kB / 442.3 MB, free: 9.25 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001904/0.2828, allocations: 243.4 kB / 442.6 MB, free: 9.012 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.2829, allocations: 133.4 kB / 442.7 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004151/0.2834, allocations: 0.604 MB / 443.3 MB, free: 8.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2834, allocations: 0 / 443.3 MB, free: 8.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2834, allocations: 3.938 kB / 443.3 MB, free: 8.266 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.2834, allocations: 0 / 443.3 MB, free: 8.266 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001423/0.2848, allocations: 0.8083 MB / 444.1 MB, free: 7.41 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.2849, allocations: 8.031 kB / 444.1 MB, free: 7.402 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009664/0.2858, allocations: 143.1 kB / 444.3 MB, free: 7.262 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008748/0.2867, allocations: 0.4953 MB / 444.8 MB, free: 6.719 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.589e-05/0.2868, allocations: 33 kB / 444.8 MB, free: 6.688 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003191/0.2871, allocations: 135.8 kB / 444.9 MB, free: 6.555 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000962/0.2881, allocations: 0.8548 MB / 445.8 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.2881, allocations: 4 kB / 445.8 MB, free: 5.629 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.857e-05/0.2882, allocations: 16 kB / 445.8 MB, free: 5.613 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000418/0.2886, allocations: 68.94 kB / 445.9 MB, free: 5.543 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00076/0.2894, allocations: 0.6204 MB / 446.5 MB, free: 4.926 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003609/0.293, allocations: 3.789 MB / 450.3 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008616/0.2939, allocations: 0.5346 MB / 450.8 MB, free: 428 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.365e-05/0.2939, allocations: 12.48 kB / 450.8 MB, free: 416 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.466e-05/0.294, allocations: 42.94 kB / 450.9 MB, free: 364 kB / 318.1 MB Notification: Performance of pre-optimization done (n=48): time 2.635e-06/0.294, allocations: 0 / 450.9 MB, free: 364 kB / 318.1 MB Notification: Performance of matching and sorting (n=49): time 0.003001/0.297, allocations: 1.817 MB / 452.7 MB, free: 14.49 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.594e-05/0.2971, allocations: 89.55 kB / 452.8 MB, free: 14.38 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005516/0.2976, allocations: 413.8 kB / 453.2 MB, free: 13.97 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.804e-05/0.2977, allocations: 37.7 kB / 453.2 MB, free: 13.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002998/0.298, allocations: 331.6 kB / 453.5 MB, free: 13.6 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002009/0.2982, allocations: 197.2 kB / 453.7 MB, free: 13.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.273e-05/0.2983, allocations: 16 kB / 453.8 MB, free: 13.39 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.2984, allocations: 370.7 kB / 454.1 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005543/0.299, allocations: 377.4 kB / 454.5 MB, free: 12.65 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007137/0.2997, allocations: 0.5863 MB / 455.1 MB, free: 11.97 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006494/0.3004, allocations: 481.7 kB / 455.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3004, allocations: 0 / 455.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004248/0.3046, allocations: 1.995 MB / 457.5 MB, free: 9.488 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.622e-05/0.3047, allocations: 8 kB / 457.5 MB, free: 9.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/0.3047, allocations: 8 kB / 457.6 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002265/0.307, allocations: 0.9618 MB / 458.5 MB, free: 8.504 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004234/0.3074, allocations: 123.8 kB / 458.6 MB, free: 8.383 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01005/0.3175, allocations: 7.645 MB / 466.3 MB, free: 472 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005505/0.3181, allocations: 39.97 kB / 466.3 MB, free: 432 kB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.671e-05/0.3181, allocations: 28 kB / 466.4 MB, free: 404 kB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 58 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 6,(23,24.6%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003969/0.3186, allocations: 245.6 kB / 466.6 MB, free: 148 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.172e-05/0.3186, allocations: 55.41 kB / 466.6 MB, free: 92 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001186/0.3198, allocations: 0.7218 MB / 467.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.3199, allocations: 8 kB / 467.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.3199, allocations: 3.953 kB / 467.4 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/0.3199, allocations: 3.984 kB / 467.4 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002662/0.3225, allocations: 1.513 MB / 468.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.188e-05/0.3226, allocations: 8 kB / 468.9 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009865/0.3236, allocations: 195.8 kB / 469.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/0.3236, allocations: 7.953 kB / 469.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.857e-05/0.3237, allocations: 31.98 kB / 469.1 MB, free: 13.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.3237, allocations: 7.938 kB / 469.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3237, allocations: 0 / 469.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.3251, allocations: 1.024 MB / 470.2 MB, free: 12.44 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001522/0.3252, allocations: 132.4 kB / 470.3 MB, free: 12.29 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.767e-05/0.3253, allocations: 23.98 kB / 470.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003176/0.3256, allocations: 27.97 kB / 470.3 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.497e-05/0.3257, allocations: 40.34 kB / 470.4 MB, free: 12.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.155e-05/0.3258, allocations: 19.98 kB / 470.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003214/0.3261, allocations: 271.1 kB / 470.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3261, allocations: 0 / 470.7 MB, free: 11.92 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001023/0.3271, allocations: 220 kB / 470.9 MB, free: 11.71 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 21 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.v[3,1],line.v[3,2],line.v[3,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4],line.i[3,1],line.i[3,2],line.i[3,3],line.i[3,4]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002223/0.3274, allocations: 127.2 kB / 471 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002527/0.3299, allocations: 1.448 MB / 472.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3299, allocations: 4 kB / 472.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004288/0.3304, allocations: 302.3 kB / 472.8 MB, free: 9.801 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005112/0.3309, allocations: 114.8 kB / 472.9 MB, free: 9.688 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004527/0.3354, allocations: 3.257 MB / 476.1 MB, free: 6.398 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006142/0.3361, allocations: 0.9964 MB / 477.1 MB, free: 5.371 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005519/0.3366, allocations: 200.6 kB / 477.3 MB, free: 5.172 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.3368, allocations: 47.44 kB / 477.4 MB, free: 5.125 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3368, allocations: 4 kB / 477.4 MB, free: 5.121 MB / 350.1 MB Notification: Performance of Templates: time 0.01647/0.3533, allocations: 9.763 MB / 487.1 MB, free: 11.38 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Line.pipe 2>&1) Environment - environmentSimulation: