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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.001678/0.001678, allocations: 104.2 kB / 17.59 MB, free: 5.559 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.001867/0.001867, allocations: 191.4 kB / 18.51 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2053/0.2053, allocations: 38.02 MB / 330.4 MB, free: 8.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 71.64 kB / 399.5 MB, free: 34.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1025, allocations: 58.05 MB / 457.5 MB, free: 8.074 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.00384/0.1064, allocations: 2.099 MB / 459.6 MB, free: 5.953 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00379/0.1102, allocations: 2.035 MB / 461.7 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001339/0.1104, allocations: 4 kB / 461.7 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003148/0.1108, allocations: 15.91 kB / 461.7 MB, free: 3.887 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001512/0.111, allocations: 31.78 kB / 461.7 MB, free: 3.855 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002674/0.1137, allocations: 0.8306 MB / 462.5 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.1138, allocations: 87.61 kB / 462.6 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.457e-05/0.1139, allocations: 4.188 kB / 462.6 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.41e-05/0.114, allocations: 31.91 kB / 462.7 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.229e-05/0.1141, allocations: 39.77 kB / 462.7 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.1141, allocations: 0 / 462.7 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002032/0.1162, allocations: 1.263 MB / 464 MB, free: 1.598 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.984e-05/0.1162, allocations: 19.94 kB / 464 MB, free: 1.578 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.646e-05/0.1163, allocations: 11.88 kB / 464 MB, free: 1.566 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001899/0.1182, allocations: 1.314 MB / 465.3 MB, free: 256 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.1182, allocations: 0 / 465.3 MB, free: 256 kB / 334.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.1182, allocations: 4 kB / 465.3 MB, free: 252 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.1182, allocations: 3.938 kB / 465.3 MB, free: 248 kB / 334.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.0009247/0.1192, allocations: 0.5008 MB / 465.8 MB, free: 15.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.1192, allocations: 15.89 kB / 465.8 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.343e-05/0.1193, allocations: 8.844 kB / 465.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001983/0.1195, allocations: 194.2 kB / 466 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.1195, allocations: 0 / 466 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.1195, allocations: 0 / 466 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.1197, allocations: 57.67 kB / 466.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.1197, allocations: 0 / 466.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.1197, allocations: 0 / 466.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/0.1197, allocations: 0 / 466.1 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.007e-05/0.1198, allocations: 19.94 kB / 466.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001837/0.12, allocations: 173.6 kB / 466.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.006e-05/0.1201, allocations: 50.55 kB / 466.3 MB, free: 15.08 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.313e-05/0.1201, allocations: 32.88 kB / 466.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.102e-05/0.1201, allocations: 0 / 466.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.23e-05/0.1202, allocations: 34.56 kB / 466.4 MB, free: 15 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.392e-06/0.1202, allocations: 0 / 466.4 MB, free: 15 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002716/0.1205, allocations: 155.3 kB / 466.5 MB, free: 14.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/0.1205, allocations: 93.12 kB / 466.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.824e-05/0.1206, allocations: 117.8 kB / 466.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.1206, allocations: 25.7 kB / 466.8 MB, free: 14.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.579e-05/0.1207, allocations: 92.12 kB / 466.9 MB, free: 14.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4e-05/0.1207, allocations: 27.56 kB / 466.9 MB, free: 14.45 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.864e-05/0.1208, allocations: 17.7 kB / 466.9 MB, free: 14.43 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.876e-05/0.1209, allocations: 322.8 kB / 467.2 MB, free: 14.1 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.105e-05/0.1209, allocations: 23.98 kB / 467.2 MB, free: 14.08 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.214e-05/0.121, allocations: 23.98 kB / 467.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001174/0.1211, allocations: 132.2 kB / 467.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.1211, allocations: 0 / 467.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001525/0.1213, allocations: 127.2 kB / 467.5 MB, free: 13.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.076e-05/0.1213, allocations: 45.69 kB / 467.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.1213, allocations: 0 / 467.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.1213, allocations: 0 / 467.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.72e-07/0.1214, allocations: 0 / 467.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.1214, allocations: 0 / 467.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.184e-05/0.1214, allocations: 4.062 kB / 467.6 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.1214, allocations: 7.984 kB / 467.6 MB, free: 13.71 MB / 350.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.0001113/0.1216, allocations: 155.5 kB / 467.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.044e-05/0.1216, allocations: 7.906 kB / 467.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.046e-05/0.1216, allocations: 20.3 kB / 467.8 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.1216, allocations: 0 / 467.8 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1216, allocations: 3.938 kB / 467.8 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.1216, allocations: 0 / 467.8 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.1218, allocations: 165.6 kB / 467.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1218, allocations: 4 kB / 467.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-07/0.1218, allocations: 4 kB / 467.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1218, allocations: 0 / 467.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.1218, allocations: 4 kB / 467.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.1218, allocations: 3.984 kB / 467.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1218, allocations: 0 / 467.9 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002528/0.1221, allocations: 222.5 kB / 468.2 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.386e-05/0.1221, allocations: 88.95 kB / 468.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.1222, allocations: 4 kB / 468.2 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.396e-05/0.1222, allocations: 4.031 kB / 468.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.173e-05/0.1222, allocations: 7.984 kB / 468.3 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.1222, allocations: 4 kB / 468.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.745e-05/0.1223, allocations: 94.27 kB / 468.4 MB, free: 12.82 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1223, allocations: 0 / 468.4 MB, free: 12.82 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009714/0.1233, allocations: 312 kB / 468.7 MB, free: 12.52 MB / 350.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.001151/0.1244, allocations: 378.8 kB / 469 MB, free: 12.14 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002462/0.1247, allocations: 191.3 kB / 469.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1247, allocations: 0 / 469.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.1248, allocations: 155.3 kB / 469.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000256/0.1251, allocations: 12.25 kB / 469.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000461/0.1256, allocations: 266.1 kB / 469.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.1258, allocations: 0.6924 MB / 470.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.639e-05/0.1259, allocations: 11.44 kB / 470.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1259, allocations: 0 / 470.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of Templates: time 0.01008/0.136, allocations: 5.757 MB / 476.1 MB, free: 4.988 MB / 350.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)