Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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_matrixTrDat2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 108.3 kB / 17.74 MB, free: 5.191 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.001862/0.001862, allocations: 192.4 kB / 18.67 MB, free: 4.266 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.446/1.446, allocations: 205.1 MB / 224.5 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1833/0.1833, allocations: 37.97 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.001727/0.001727, allocations: 71.91 kB / 432.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09352/0.09526, allocations: 55.24 MB / 487.8 MB, free: 8.332 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.003685/0.09899, allocations: 2.103 MB / 489.9 MB, free: 6.207 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003148/0.1022, allocations: 2.089 MB / 492 MB, free: 4.105 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.632e-05/0.1023, allocations: 4 kB / 492 MB, free: 4.102 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001473/0.1025, allocations: 7.922 kB / 492 MB, free: 4.094 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.1026, allocations: 31.83 kB / 492 MB, free: 4.062 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1895:3-1973:18:writable] Warning: Pure function 'Modelica.Math.Matrices.eigenValues' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgeev_eigenValues'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:2829:3-2870:10:writable] Warning: Pure function 'Modelica.Math.Matrices.inv' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgetrf'. Notification: Performance of NFTyping.typeClassSections: time 0.002509/0.1051, allocations: 0.8224 MB / 492.8 MB, free: 3.238 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001645/0.1053, allocations: 83.69 kB / 492.9 MB, free: 3.156 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.559e-05/0.1053, allocations: 4.188 kB / 492.9 MB, free: 3.152 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.1055, allocations: 39.78 kB / 493 MB, free: 3.113 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.204e-05/0.1056, allocations: 39.83 kB / 493 MB, free: 3.074 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.1056, allocations: 0 / 493 MB, free: 3.074 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002192/0.1078, allocations: 1.407 MB / 494.4 MB, free: 1.664 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.516e-05/0.1078, allocations: 31.91 kB / 494.4 MB, free: 1.633 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.55e-05/0.1079, allocations: 39.62 kB / 494.5 MB, free: 1.594 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00191/0.1098, allocations: 1.356 MB / 495.8 MB, free: 240 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1099, allocations: 0 / 495.8 MB, free: 240 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1099, allocations: 0 / 495.8 MB, free: 240 kB / 366.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.1099, allocations: 0 / 495.8 MB, free: 240 kB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0008979/0.1108, allocations: 0.5592 MB / 496.4 MB, free: 15.62 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.1108, allocations: 11.89 kB / 496.4 MB, free: 15.61 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.213e-05/0.1109, allocations: 12.75 kB / 496.4 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.1111, allocations: 199.6 kB / 496.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.1111, allocations: 4 kB / 496.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.584e-05/0.1111, allocations: 4 kB / 496.6 MB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.1113, allocations: 97.52 kB / 496.7 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.1113, allocations: 0 / 496.7 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/0.1114, allocations: 0 / 496.7 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.1114, allocations: 7.938 kB / 496.7 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.837e-05/0.1115, allocations: 59.97 kB / 496.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001652/0.1116, allocations: 197.4 kB / 497 MB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.1118, allocations: 102.5 kB / 497.1 MB, free: 14.83 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.872e-05/0.1119, allocations: 88.86 kB / 497.2 MB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/0.1119, allocations: 0 / 497.2 MB, free: 14.74 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.1119, allocations: 38.56 kB / 497.2 MB, free: 14.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=24): time 1.162e-06/0.1119, allocations: 0 / 497.2 MB, free: 14.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=24): time 0.0005008/0.1124, allocations: 327.2 kB / 497.5 MB, free: 14.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.374e-05/0.1125, allocations: 93.09 kB / 497.6 MB, free: 14.25 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.1126, allocations: 150.2 kB / 497.8 MB, free: 14.1 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.1126, allocations: 29.73 kB / 497.8 MB, free: 14.06 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.735e-05/0.1127, allocations: 100.6 kB / 497.9 MB, free: 13.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.011e-05/0.1128, allocations: 78.72 kB / 498 MB, free: 13.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-05/0.1128, allocations: 29.7 kB / 498 MB, free: 13.85 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.113, allocations: 330.8 kB / 498.3 MB, free: 13.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.316e-05/0.113, allocations: 63.97 kB / 498.4 MB, free: 13.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.801e-05/0.1131, allocations: 59.97 kB / 498.4 MB, free: 13.4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002433/0.1134, allocations: 253.7 kB / 498.7 MB, free: 13.14 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.1134, allocations: 4.031 kB / 498.7 MB, free: 13.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002662/0.1136, allocations: 246.8 kB / 498.9 MB, free: 12.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.836e-05/0.1137, allocations: 61.67 kB / 499 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1137, allocations: 0 / 499 MB, free: 12.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.1138, allocations: 7.922 kB / 499 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.61e-07/0.1138, allocations: 0 / 499 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.1138, allocations: 0 / 499 MB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.663e-05/0.1138, allocations: 15.84 kB / 499 MB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.389e-05/0.1139, allocations: 4 kB / 499 MB, free: 12.79 MB / 382.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 0.0001506/0.114, allocations: 195.5 kB / 499.2 MB, free: 12.58 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.1141, allocations: 15.91 kB / 499.2 MB, free: 12.56 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.023e-05/0.1141, allocations: 17.17 kB / 499.2 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1141, allocations: 0 / 499.2 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1141, allocations: 0 / 499.2 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1141, allocations: 0 / 499.2 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.1143, allocations: 209.4 kB / 499.5 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1143, allocations: 0 / 499.5 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.82e-07/0.1143, allocations: 0 / 499.5 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1143, allocations: 0 / 499.5 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.1143, allocations: 7.938 kB / 499.5 MB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1143, allocations: 11.94 kB / 499.5 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1143, allocations: 0 / 499.5 MB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00054/0.1149, allocations: 0.5139 MB / 500 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.555e-05/0.1149, allocations: 92.86 kB / 0.4884 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.115, allocations: 11.98 kB / 0.4884 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.215e-05/0.115, allocations: 0 / 0.4884 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.133e-05/0.1151, allocations: 8 kB / 0.4884 GB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.1151, allocations: 8 kB / 0.4884 GB, free: 11.6 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.711e-05/0.1152, allocations: 119.1 kB / 0.4885 GB, free: 11.48 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1152, allocations: 0 / 0.4885 GB, free: 11.48 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009267/0.1161, allocations: 339.9 kB / 0.4888 GB, free: 11.15 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001181/0.1173, allocations: 367 kB / 0.4892 GB, free: 10.78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006757/0.118, allocations: 0.71 MB / 0.4899 GB, free: 10.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.118, allocations: 4.062 kB / 0.4899 GB, free: 10.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004461/0.1185, allocations: 0.5735 MB / 0.4904 GB, free: 9.469 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/0.1187, allocations: 15.94 kB / 0.4904 GB, free: 9.453 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007095/0.1194, allocations: 491.4 kB / 0.4909 GB, free: 8.941 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.1197, allocations: 0.7238 MB / 0.4916 GB, free: 8.191 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.689e-05/0.1197, allocations: 19.44 kB / 0.4916 GB, free: 8.172 MB / 382.1 MB Notification: Performance of SimCode: time 1.884e-06/0.1197, allocations: 0 / 0.4916 GB, free: 8.172 MB / 382.1 MB Notification: Performance of Templates: time 0.01069/0.1304, allocations: 6.453 MB / 0.4979 GB, free: 1.707 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.pipe 2>&1)