Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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_matrixTrDat1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001506, 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.001463/0.001463, 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.293/1.293, allocations: 222.9 MB / 242.2 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1716/0.1716, allocations: 38.03 MB / 330.4 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 64.98 kB / 399.5 MB, free: 34.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1246, allocations: 58.07 MB / 457.5 MB, free: 8.035 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.004917/0.1295, allocations: 2.087 MB / 459.6 MB, free: 5.926 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003532/0.1331, allocations: 2.049 MB / 461.7 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.657e-05/0.1332, allocations: 4 kB / 461.7 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.1335, allocations: 11.92 kB / 461.7 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001137/0.1336, allocations: 27.83 kB / 461.7 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002666/0.1363, allocations: 0.8417 MB / 462.5 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.1364, allocations: 87.64 kB / 462.6 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.943e-05/0.1365, allocations: 4.172 kB / 462.6 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.527e-05/0.1366, allocations: 31.91 kB / 462.7 MB, free: 2.863 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.119e-05/0.1367, allocations: 43.77 kB / 462.7 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.1367, allocations: 0 / 462.7 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002192/0.1389, allocations: 1.259 MB / 464 MB, free: 1.559 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.602e-05/0.139, allocations: 19.91 kB / 464 MB, free: 1.539 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.59e-05/0.1391, allocations: 23.81 kB / 464 MB, free: 1.516 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002219/0.1413, allocations: 1.325 MB / 465.3 MB, free: 192 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.1413, allocations: 0 / 465.3 MB, free: 192 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1413, allocations: 0 / 465.3 MB, free: 192 kB / 334.1 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.1413, allocations: 4 kB / 465.3 MB, free: 188 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000903/0.1422, allocations: 0.5163 MB / 465.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.097e-05/0.1423, allocations: 15.89 kB / 465.9 MB, free: 15.6 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.953e-05/0.1424, allocations: 4.844 kB / 465.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.1425, allocations: 187.6 kB / 466.1 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.1426, allocations: 8 kB / 466.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.1426, allocations: 0 / 466.1 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.1427, allocations: 65.67 kB / 466.1 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.1428, allocations: 3.984 kB / 466.1 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.1428, allocations: 0 / 466.1 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.299e-06/0.1428, allocations: 0 / 466.1 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.728e-05/0.1429, allocations: 31.98 kB / 466.2 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000166/0.143, allocations: 177.4 kB / 466.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.465e-05/0.1431, allocations: 70.44 kB / 466.4 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.976e-05/0.1432, allocations: 45.09 kB / 466.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.1432, allocations: 0 / 466.5 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.1432, allocations: 38.5 kB / 466.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.1432, allocations: 0 / 466.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003183/0.1436, allocations: 191.2 kB / 466.7 MB, free: 14.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.1436, allocations: 89.05 kB / 466.8 MB, free: 14.56 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.1438, allocations: 133 kB / 466.9 MB, free: 14.42 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.1438, allocations: 29.73 kB / 466.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.731e-05/0.1438, allocations: 96.12 kB / 467 MB, free: 14.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.024e-05/0.1439, allocations: 39.44 kB / 467.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/0.1439, allocations: 21.72 kB / 467.1 MB, free: 14.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.1441, allocations: 326.8 kB / 467.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.07e-05/0.1441, allocations: 27.98 kB / 467.4 MB, free: 13.87 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.075e-05/0.1442, allocations: 35.97 kB / 467.5 MB, free: 13.83 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.1443, allocations: 160.2 kB / 467.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1443, allocations: 4.031 kB / 467.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002115/0.1446, allocations: 163.1 kB / 467.8 MB, free: 13.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.212e-05/0.1446, allocations: 45.69 kB / 467.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1447, allocations: 0 / 467.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.1447, allocations: 0 / 467.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.1447, allocations: 0 / 467.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.1447, allocations: 0 / 467.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.68e-05/0.1448, allocations: 7.938 kB / 467.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.1448, allocations: 4 kB / 467.8 MB, free: 13.42 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.000143/0.1449, allocations: 175.5 kB / 468 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.192e-05/0.145, allocations: 7.906 kB / 468 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.299e-05/0.145, allocations: 12.72 kB / 468 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.145, allocations: 0 / 468 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.145, allocations: 0 / 468 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.145, allocations: 0 / 468 MB, free: 13.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.1452, allocations: 189.5 kB / 468.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.1452, allocations: 0 / 468.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.493e-06/0.1452, allocations: 0 / 468.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.165e-06/0.1452, allocations: 0 / 468.2 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.1452, allocations: 8 kB / 468.2 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.616e-05/0.1452, allocations: 7.938 kB / 468.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.1453, allocations: 0 / 468.2 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003807/0.1456, allocations: 294.9 kB / 468.5 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.778e-05/0.1457, allocations: 81.02 kB / 468.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.1458, allocations: 4 kB / 468.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.363e-05/0.1458, allocations: 0 / 468.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.971e-05/0.1458, allocations: 7.938 kB / 468.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.1459, allocations: 7.984 kB / 468.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.618e-05/0.146, allocations: 103.3 kB / 468.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.146, allocations: 4 kB / 468.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001331/0.1473, allocations: 319.8 kB / 469 MB, free: 12.11 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.001667/0.149, allocations: 366.9 kB / 469.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004739/0.1495, allocations: 299.3 kB / 469.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.1495, allocations: 0 / 469.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002603/0.1498, allocations: 223.3 kB / 469.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004634/0.1502, allocations: 13.91 kB / 469.9 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006683/0.1509, allocations: 342.5 kB / 470.2 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003673/0.1513, allocations: 0.7078 MB / 471 MB, free: 10.1 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.724e-05/0.1513, allocations: 7.438 kB / 471 MB, free: 10.09 MB / 350.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1513, allocations: 0 / 471 MB, free: 10.09 MB / 350.1 MB Notification: Performance of Templates: time 0.01102/0.1624, allocations: 5.975 MB / 476.9 MB, free: 4.113 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.pipe 2>&1)