Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.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_matrixTrDat0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 115.8 kB / 17.74 MB, free: 5.336 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.001192/0.001193, allocations: 189.6 kB / 18.67 MB, free: 4.41 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.408/1.408, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1763/0.1763, allocations: 37.98 MB / 309.9 MB, free: 5.945 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.001662/0.001662, allocations: 79.88 kB / 432.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1083, allocations: 55.23 MB / 487.8 MB, free: 8.332 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.003741/0.1121, allocations: 2.107 MB / 489.9 MB, free: 6.207 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003145/0.1152, allocations: 2.085 MB / 492 MB, free: 4.109 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.881e-05/0.1153, allocations: 0 / 492 MB, free: 4.109 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001977/0.1155, allocations: 11.92 kB / 492 MB, free: 4.098 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.1157, allocations: 27.83 kB / 492 MB, free: 4.07 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.002591/0.1183, allocations: 0.8264 MB / 492.8 MB, free: 3.242 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001776/0.1184, allocations: 79.62 kB / 492.9 MB, free: 3.164 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.763e-05/0.1185, allocations: 8.188 kB / 492.9 MB, free: 3.156 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001023/0.1186, allocations: 27.91 kB / 493 MB, free: 3.129 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000116/0.1187, allocations: 51.77 kB / 493 MB, free: 3.078 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.1188, allocations: 0 / 493 MB, free: 3.078 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002336/0.1211, allocations: 1.407 MB / 494.4 MB, free: 1.668 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.152e-05/0.1212, allocations: 7.984 kB / 494.4 MB, free: 1.66 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.419e-05/0.1212, allocations: 23.81 kB / 494.4 MB, free: 1.637 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002057/0.1233, allocations: 1.314 MB / 495.8 MB, free: 328 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1233, allocations: 0 / 495.8 MB, free: 328 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1233, allocations: 4 kB / 495.8 MB, free: 324 kB / 366.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.1233, allocations: 3.938 kB / 495.8 MB, free: 320 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008808/0.1242, allocations: 0.5047 MB / 496.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.1243, allocations: 11.89 kB / 496.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.09e-05/0.1243, allocations: 8.844 kB / 496.3 MB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.1245, allocations: 187.4 kB / 496.5 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-06/0.1245, allocations: 4 kB / 496.5 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.1246, allocations: 0 / 496.5 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.1247, allocations: 57.61 kB / 496.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.1247, allocations: 7.938 kB / 496.5 MB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.1248, allocations: 0 / 496.5 MB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.1248, allocations: 0 / 496.5 MB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.563e-05/0.1248, allocations: 20 kB / 496.6 MB, free: 15.42 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001552/0.125, allocations: 165.6 kB / 496.7 MB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.82e-05/0.1251, allocations: 50.56 kB / 496.8 MB, free: 15.15 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.04e-05/0.1251, allocations: 32.88 kB / 496.8 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.287e-06/0.1251, allocations: 0 / 496.8 MB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.1252, allocations: 34.56 kB / 496.8 MB, free: 15.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 9.82e-07/0.1252, allocations: 7.938 kB / 496.8 MB, free: 15.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002707/0.1255, allocations: 147.4 kB / 497 MB, free: 14.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.1255, allocations: 89.09 kB / 497.1 MB, free: 14.8 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.958e-05/0.1256, allocations: 117.8 kB / 497.2 MB, free: 14.68 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.1256, allocations: 25.7 kB / 497.2 MB, free: 14.64 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.015e-05/0.1257, allocations: 96.12 kB / 497.3 MB, free: 14.55 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.799e-05/0.1257, allocations: 27.59 kB / 497.3 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.852e-05/0.1258, allocations: 21.7 kB / 497.4 MB, free: 14.49 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.997e-05/0.1259, allocations: 322.8 kB / 497.7 MB, free: 14.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.895e-05/0.1259, allocations: 19.98 kB / 497.7 MB, free: 14.15 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.325e-05/0.126, allocations: 27.98 kB / 497.7 MB, free: 14.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.1261, allocations: 128.5 kB / 497.8 MB, free: 13.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1261, allocations: 4 kB / 497.9 MB, free: 13.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001612/0.1263, allocations: 127.3 kB / 498 MB, free: 13.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.566e-05/0.1263, allocations: 41.69 kB / 498 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1264, allocations: 4.062 kB / 498 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.1264, allocations: 0 / 498 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.1264, allocations: 0 / 498 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.1264, allocations: 0 / 498 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.613e-05/0.1265, allocations: 4 kB / 498 MB, free: 13.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.995e-05/0.1265, allocations: 3.984 kB / 498 MB, free: 13.78 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.0001219/0.1266, allocations: 159.5 kB / 498.2 MB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/0.1266, allocations: 7.906 kB / 498.2 MB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.919e-05/0.1267, allocations: 12.36 kB / 498.2 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1267, allocations: 4 kB / 498.2 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.1267, allocations: 3.938 kB / 498.2 MB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.1267, allocations: 0 / 498.2 MB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.1268, allocations: 177.5 kB / 498.4 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1268, allocations: 0 / 498.4 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.285e-06/0.1268, allocations: 7.938 kB / 498.4 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1268, allocations: 0 / 498.4 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-06/0.1269, allocations: 0 / 498.4 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.1269, allocations: 4 kB / 498.4 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.175e-06/0.1269, allocations: 3.984 kB / 498.4 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.1271, allocations: 222.6 kB / 498.6 MB, free: 13.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.809e-05/0.1272, allocations: 81.02 kB / 498.7 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.1272, allocations: 4 kB / 498.7 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.416e-05/0.1272, allocations: 0 / 498.7 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.341e-05/0.1273, allocations: 7.984 kB / 498.7 MB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.1273, allocations: 0 / 498.7 MB, free: 12.99 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.452e-05/0.1273, allocations: 99.27 kB / 498.8 MB, free: 12.89 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1273, allocations: 0 / 498.8 MB, free: 12.89 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001015/0.1284, allocations: 319.9 kB / 499.1 MB, free: 12.58 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.001249/0.1296, allocations: 371.8 kB / 499.5 MB, free: 12.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002628/0.1299, allocations: 203.3 kB / 499.7 MB, free: 12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1299, allocations: 0 / 499.7 MB, free: 12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001191/0.13, allocations: 147.4 kB / 499.8 MB, free: 11.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.1303, allocations: 16.11 kB / 499.8 MB, free: 11.83 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004875/0.1308, allocations: 266 kB / 0.4884 GB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.1311, allocations: 0.6924 MB / 0.4891 GB, free: 10.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.765e-05/0.1311, allocations: 7.438 kB / 0.4891 GB, free: 10.81 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.1311, allocations: 4 kB / 0.4891 GB, free: 10.8 MB / 382.1 MB Notification: Performance of Templates: time 0.009885/0.141, allocations: 5.701 MB / 0.4946 GB, free: 5.094 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.pipe 2>&1)