Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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.Precalculation.Z_matrixEqCirc0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 107.8 kB / 17.74 MB, free: 5.227 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.001067/0.001067, allocations: 190.4 kB / 18.67 MB, free: 4.305 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.374/1.374, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1863/0.1863, allocations: 37.99 MB / 309.9 MB, free: 5.949 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.001562/0.001562, allocations: 71.89 kB / 432.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09334/0.09491, allocations: 55.23 MB / 487.8 MB, free: 8.332 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.003411/0.09836, allocations: 2.052 MB / 489.8 MB, free: 6.258 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008193/0.09921, allocations: 0.5581 MB / 490.4 MB, free: 5.695 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.965e-05/0.09928, allocations: 4 kB / 490.4 MB, free: 5.691 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001685/0.09946, allocations: 11.92 kB / 490.4 MB, free: 5.68 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.025e-05/0.09958, allocations: 39.81 kB / 490.5 MB, free: 5.641 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003202/0.0999, allocations: 63.84 kB / 490.5 MB, free: 5.578 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.1001, allocations: 63.7 kB / 490.6 MB, free: 5.516 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.3e-05/0.1001, allocations: 4 kB / 490.6 MB, free: 5.512 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.198e-05/0.1002, allocations: 31.84 kB / 490.6 MB, free: 5.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.002e-05/0.1002, allocations: 23.91 kB / 490.6 MB, free: 5.457 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.307e-06/0.1003, allocations: 0 / 490.6 MB, free: 5.457 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.1004, allocations: 79.83 kB / 490.7 MB, free: 5.379 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.179e-05/0.1005, allocations: 15.92 kB / 490.7 MB, free: 5.363 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.904e-05/0.1005, allocations: 19.88 kB / 490.8 MB, free: 5.344 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001714/0.1007, allocations: 107.7 kB / 490.9 MB, free: 5.238 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1007, allocations: 0 / 490.9 MB, free: 5.238 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1007, allocations: 3.938 kB / 490.9 MB, free: 5.234 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.007e-06/0.1007, allocations: 0 / 490.9 MB, free: 5.234 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003528/0.1011, allocations: 381 kB / 491.2 MB, free: 4.809 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.1011, allocations: 11.89 kB / 491.2 MB, free: 4.797 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.245e-05/0.1012, allocations: 8.875 kB / 491.3 MB, free: 4.789 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.1013, allocations: 176.2 kB / 491.4 MB, free: 4.578 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.211e-06/0.1013, allocations: 4.375 kB / 491.4 MB, free: 4.574 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.1014, allocations: 8.125 kB / 491.4 MB, free: 4.566 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001053/0.1015, allocations: 49.69 kB / 491.5 MB, free: 4.512 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.522e-06/0.1015, allocations: 0 / 491.5 MB, free: 4.512 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.1015, allocations: 0 / 491.5 MB, free: 4.512 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.1015, allocations: 0 / 491.5 MB, free: 4.512 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.025e-05/0.1016, allocations: 27.92 kB / 491.5 MB, free: 4.484 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00013/0.1017, allocations: 157.7 kB / 491.7 MB, free: 4.281 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.724e-05/0.1018, allocations: 46.56 kB / 491.7 MB, free: 4.227 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.976e-05/0.1018, allocations: 36.81 kB / 491.7 MB, free: 4.188 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.429e-06/0.1018, allocations: 0 / 491.7 MB, free: 4.188 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.1018, allocations: 34.56 kB / 491.8 MB, free: 4.145 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 8.41e-07/0.1018, allocations: 0 / 491.8 MB, free: 4.145 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002305/0.1021, allocations: 155.2 kB / 491.9 MB, free: 3.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.1021, allocations: 81.11 kB / 492 MB, free: 3.883 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.913e-05/0.1022, allocations: 113.8 kB / 492.1 MB, free: 3.762 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.1022, allocations: 29.73 kB / 492.2 MB, free: 3.727 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.044e-05/0.1023, allocations: 88.12 kB / 492.2 MB, free: 3.637 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/0.1023, allocations: 31.7 kB / 492.3 MB, free: 3.605 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.594e-05/0.1024, allocations: 17.7 kB / 492.3 MB, free: 3.582 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1025, allocations: 323.2 kB / 492.6 MB, free: 3.258 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.403e-05/0.1025, allocations: 23.98 kB / 492.6 MB, free: 3.234 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.488e-05/0.1025, allocations: 15.98 kB / 492.6 MB, free: 3.219 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.1026, allocations: 124.2 kB / 492.8 MB, free: 3.082 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1027, allocations: 7.969 kB / 492.8 MB, free: 3.074 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001286/0.1028, allocations: 123.2 kB / 492.9 MB, free: 2.941 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.288e-05/0.1028, allocations: 45.69 kB / 492.9 MB, free: 2.891 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.1029, allocations: 0 / 492.9 MB, free: 2.891 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.1029, allocations: 0 / 492.9 MB, free: 2.891 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/0.1029, allocations: 0 / 492.9 MB, free: 2.891 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.1029, allocations: 0 / 492.9 MB, free: 2.891 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.739e-05/0.1029, allocations: 11.89 kB / 492.9 MB, free: 2.879 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.1029, allocations: 4 kB / 493 MB, free: 2.875 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.513e-05/0.103, allocations: 155.6 kB / 493.1 MB, free: 2.707 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.873e-05/0.1031, allocations: 7.938 kB / 493.1 MB, free: 2.699 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.163e-05/0.1031, allocations: 8.375 kB / 493.1 MB, free: 2.691 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.1031, allocations: 3.984 kB / 493.1 MB, free: 2.688 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/0.1031, allocations: 0 / 493.1 MB, free: 2.688 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.606e-05/0.1031, allocations: 88.95 kB / 493.2 MB, free: 2.582 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.1032, allocations: 0 / 493.2 MB, free: 2.582 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.69e-05/0.1032, allocations: 4 kB / 493.2 MB, free: 2.578 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.434e-05/0.1032, allocations: 0 / 493.2 MB, free: 2.578 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002634/0.1035, allocations: 337.9 kB / 493.5 MB, free: 2.223 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002664/0.1037, allocations: 364.3 kB / 493.9 MB, free: 1.844 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.986e-05/0.1038, allocations: 67.98 kB / 494 MB, free: 1.777 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.459e-05/0.1039, allocations: 91.27 kB / 494.1 MB, free: 1.688 MB / 366.1 MB Notification: Performance of Backend: time 3.9e-07/0.1039, allocations: 0 / 494.1 MB, free: 1.688 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0004718/0.1044, allocations: 245.7 kB / 494.3 MB, free: 1.43 MB / 366.1 MB Notification: Performance of SimCode: time 0.0005462/0.1049, allocations: 0.6711 MB / 495 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of Templates: time 0.00349/0.1084, allocations: 1.086 MB / 496.1 MB, free: 15.61 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe 2>&1)