Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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_matrixEqCirc3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 87.91 kB / 16.31 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.001207/0.001207, allocations: 183.6 kB / 17.21 MB, free: 6.316 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.423/1.423, allocations: 205.4 MB / 223.4 MB, free: 5.484 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2953/0.2953, allocations: 38.05 MB / 309.7 MB, free: 8.906 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.000514/0.0005141, allocations: 14.34 kB / 376.5 MB, free: 15.14 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09498/0.09551, allocations: 56.34 MB / 432.9 MB, free: 6.695 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.002171/0.09772, allocations: 1.717 MB / 434.6 MB, free: 4.961 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007597/0.09851, allocations: 0.5427 MB / 435.1 MB, free: 4.414 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.677e-05/0.09858, allocations: 0 / 435.1 MB, free: 4.414 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001147/0.0987, allocations: 3.938 kB / 435.1 MB, free: 4.41 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.926e-05/0.09879, allocations: 31.83 kB / 435.2 MB, free: 4.379 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002551/0.09905, allocations: 47.86 kB / 435.2 MB, free: 4.332 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001173/0.09918, allocations: 83.72 kB / 435.3 MB, free: 4.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.653e-05/0.09925, allocations: 7.984 kB / 435.3 MB, free: 4.242 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.474e-05/0.09935, allocations: 35.84 kB / 435.3 MB, free: 4.207 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.785e-05/0.09942, allocations: 35.84 kB / 435.4 MB, free: 4.172 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.09944, allocations: 4 kB / 435.4 MB, free: 4.168 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.09956, allocations: 39.95 kB / 435.4 MB, free: 4.129 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.943e-05/0.09963, allocations: 39.91 kB / 435.4 MB, free: 4.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.987e-05/0.09969, allocations: 45.56 kB / 435.5 MB, free: 4.039 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.09984, allocations: 84.11 kB / 435.6 MB, free: 3.957 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.09985, allocations: 0 / 435.6 MB, free: 3.957 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.09986, allocations: 0 / 435.6 MB, free: 3.957 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.09987, allocations: 4 kB / 435.6 MB, free: 3.953 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0004355/0.1003, allocations: 468.5 kB / 436 MB, free: 3.441 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.1004, allocations: 12.03 kB / 436 MB, free: 3.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.848e-05/0.1004, allocations: 23.67 kB / 436.1 MB, free: 3.406 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.1006, allocations: 191.3 kB / 436.3 MB, free: 3.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.1006, allocations: 4 kB / 436.3 MB, free: 3.176 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.849e-06/0.1006, allocations: 0 / 436.3 MB, free: 3.176 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.1008, allocations: 130.6 kB / 436.4 MB, free: 3.043 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.1008, allocations: 0 / 436.4 MB, free: 3.043 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.714e-06/0.1008, allocations: 0 / 436.4 MB, free: 3.043 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.1008, allocations: 0 / 436.4 MB, free: 3.043 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.843e-05/0.1009, allocations: 104.2 kB / 436.5 MB, free: 2.941 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001502/0.101, allocations: 198.1 kB / 436.7 MB, free: 2.699 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.1012, allocations: 146.9 kB / 436.8 MB, free: 2.547 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001095/0.1013, allocations: 145.1 kB / 437 MB, free: 2.402 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.412e-06/0.1013, allocations: 0 / 437 MB, free: 2.402 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.1013, allocations: 38.48 kB / 437 MB, free: 2.355 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 8.22e-07/0.1013, allocations: 0 / 437 MB, free: 2.355 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.0004947/0.1018, allocations: 479.8 kB / 437.5 MB, free: 1.875 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.713e-05/0.1019, allocations: 109.1 kB / 437.6 MB, free: 1.75 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.1021, allocations: 146.9 kB / 437.7 MB, free: 1.59 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.1021, allocations: 25.7 kB / 437.7 MB, free: 1.559 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.44e-05/0.1021, allocations: 96.8 kB / 437.8 MB, free: 1.461 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.601e-05/0.1022, allocations: 134 kB / 438 MB, free: 1.328 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-06/0.1022, allocations: 0 / 438 MB, free: 1.328 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.886e-05/0.1023, allocations: 330.8 kB / 438.3 MB, free: 0.9961 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.041e-05/0.1024, allocations: 91.97 kB / 438.4 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.351e-05/0.1025, allocations: 95.95 kB / 438.5 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.1027, allocations: 183 kB / 438.7 MB, free: 0.6289 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.1027, allocations: 3.938 kB / 438.7 MB, free: 0.625 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002904/0.103, allocations: 322.9 kB / 439 MB, free: 304 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.056e-05/0.103, allocations: 85.62 kB / 439.1 MB, free: 212 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.1031, allocations: 4 kB / 439.1 MB, free: 208 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.1031, allocations: 0 / 439.1 MB, free: 208 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.465e-06/0.1031, allocations: 4 kB / 439.1 MB, free: 204 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.1031, allocations: 0 / 439.1 MB, free: 204 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.418e-05/0.1031, allocations: 19.75 kB / 439.1 MB, free: 184 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.1032, allocations: 16.02 kB / 439.1 MB, free: 168 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001802/0.1034, allocations: 227.4 kB / 439.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.713e-05/0.1034, allocations: 19.81 kB / 439.3 MB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.133e-05/0.1034, allocations: 13.95 kB / 439.4 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.1034, allocations: 0 / 439.4 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.1034, allocations: 0 / 439.4 MB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1034, allocations: 3.984 kB / 439.4 MB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.1036, allocations: 237.2 kB / 439.6 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-06/0.1036, allocations: 0 / 439.6 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.236e-06/0.1036, allocations: 0 / 439.6 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.1036, allocations: 7.938 kB / 439.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.67e-05/0.1036, allocations: 8 kB / 439.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1036, allocations: 0 / 439.6 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1037, allocations: 3.938 kB / 439.6 MB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008177/0.1045, allocations: 0.8926 MB / 440.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.404e-05/0.1045, allocations: 100.8 kB / 440.6 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.641e-05/0.1046, allocations: 4 kB / 440.6 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.184e-05/0.1046, allocations: 4 kB / 440.6 MB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/0.1046, allocations: 12.03 kB / 440.6 MB, free: 14.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.1047, allocations: 11.94 kB / 440.6 MB, free: 14.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.033e-05/0.1047, allocations: 116.5 kB / 440.7 MB, free: 14.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1047, allocations: 0 / 440.7 MB, free: 14.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002502/0.105, allocations: 56 kB / 440.8 MB, free: 14.35 MB / 382.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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.0001659/0.1052, allocations: 119.2 kB / 440.9 MB, free: 14.22 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001248/0.1064, allocations: 1.585 MB / 442.5 MB, free: 12.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.1064, allocations: 4.062 kB / 442.5 MB, free: 12.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009311/0.1074, allocations: 1.37 MB / 443.9 MB, free: 11.24 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.1076, allocations: 31.86 kB / 443.9 MB, free: 11.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007637/0.1084, allocations: 0.6745 MB / 444.6 MB, free: 10.51 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.1087, allocations: 0.7442 MB / 445.3 MB, free: 9.738 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.284e-05/0.1087, allocations: 8 kB / 445.3 MB, free: 9.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.158e-05/0.1087, allocations: 7.438 kB / 445.3 MB, free: 9.723 MB / 382.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1087, allocations: 0 / 445.3 MB, free: 9.723 MB / 382.1 MB Notification: Performance of Templates: time 0.004788/0.1135, allocations: 2.313 MB / 447.7 MB, free: 7.406 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1) Environment - environmentSimulation: