Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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_matrixTrDat3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001958/0.001958, allocations: 110.2 kB / 17.28 MB, free: 6.219 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.002618/0.002618, allocations: 197.3 kB / 18.21 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 3.048/3.048, allocations: 222.9 MB / 241.9 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.5462/0.5462, allocations: 38.02 MB / 330.1 MB, free: 8.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002288/0.002288, allocations: 68.48 kB / 398.9 MB, free: 34.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.2006, allocations: 58.07 MB / 457 MB, free: 8.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.007723/0.2085, allocations: 2.136 MB / 459.1 MB, free: 6.254 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0052/0.2137, allocations: 2.057 MB / 461.2 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.2139, allocations: 4 kB / 461.2 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002306/0.2142, allocations: 11.92 kB / 461.2 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000187/0.2144, allocations: 27.83 kB / 461.2 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003946/0.2184, allocations: 0.7565 MB / 462 MB, free: 3.391 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002421/0.2187, allocations: 79.64 kB / 462.1 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.814e-05/0.2187, allocations: 4.188 kB / 462.1 MB, free: 3.309 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001866/0.2189, allocations: 39.89 kB / 462.1 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000148/0.2191, allocations: 55.75 kB / 462.2 MB, free: 3.215 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.2191, allocations: 4 kB / 462.2 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003714/0.2229, allocations: 1.255 MB / 463.4 MB, free: 1.953 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001518/0.2231, allocations: 51.78 kB / 463.5 MB, free: 1.902 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.2232, allocations: 59.48 kB / 463.5 MB, free: 1.844 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002905/0.2261, allocations: 0.9747 MB / 464.5 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.318e-06/0.2262, allocations: 3.938 kB / 464.5 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.847e-06/0.2262, allocations: 0 / 464.5 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.307e-05/0.2262, allocations: 3.938 kB / 464.5 MB, free: 0.8594 MB / 334.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.001874/0.2281, allocations: 0.598 MB / 465.1 MB, free: 212 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.169e-05/0.2282, allocations: 11.89 kB / 465.1 MB, free: 200 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001143/0.2283, allocations: 20.66 kB / 465.1 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004673/0.2288, allocations: 219.5 kB / 465.4 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.2288, allocations: 3.938 kB / 465.4 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.2289, allocations: 8 kB / 465.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003731/0.2292, allocations: 134.6 kB / 465.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.2293, allocations: 0 / 465.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.2293, allocations: 0 / 465.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.2293, allocations: 0 / 465.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001944/0.2295, allocations: 100.3 kB / 465.6 MB, free: 15.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003543/0.2299, allocations: 221.6 kB / 465.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.2302, allocations: 158.5 kB / 466 MB, free: 15.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002463/0.2305, allocations: 144.9 kB / 466.1 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.2305, allocations: 0 / 466.1 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.6e-05/0.2305, allocations: 34.55 kB / 466.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.513e-06/0.2306, allocations: 0 / 466.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.001154/0.2317, allocations: 491.5 kB / 466.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/0.2319, allocations: 113.1 kB / 466.7 MB, free: 14.44 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002658/0.2321, allocations: 174.9 kB / 466.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.375e-05/0.2322, allocations: 25.7 kB / 466.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.2323, allocations: 104.8 kB / 467 MB, free: 14.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/0.2325, allocations: 130.1 kB / 467.2 MB, free: 13.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.267e-05/0.2326, allocations: 33.7 kB / 467.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002314/0.2329, allocations: 338.8 kB / 467.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/0.2331, allocations: 99.95 kB / 467.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001739/0.2333, allocations: 100.9 kB / 467.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005961/0.2339, allocations: 380.3 kB / 468.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2339, allocations: 0 / 468.1 MB, free: 13.03 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0006934/0.2346, allocations: 338.9 kB / 468.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001767/0.2348, allocations: 85.62 kB / 468.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.2348, allocations: 0 / 468.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/0.2349, allocations: 0 / 468.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.791e-06/0.2349, allocations: 4 kB / 468.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.2349, allocations: 0 / 468.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.235, allocations: 23.69 kB / 468.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.133e-05/0.2351, allocations: 12.06 kB / 468.6 MB, free: 12.55 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.0003717/0.2355, allocations: 243.3 kB / 468.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.981e-05/0.2356, allocations: 19.81 kB / 468.8 MB, free: 12.28 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.849e-05/0.2356, allocations: 14.64 kB / 468.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.2356, allocations: 3.938 kB / 468.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.2356, allocations: 3.938 kB / 468.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.2357, allocations: 0 / 468.8 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003185/0.236, allocations: 241.2 kB / 469.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.236, allocations: 4 kB / 469.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.293e-06/0.236, allocations: 4 kB / 469.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.236, allocations: 0 / 469.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.714e-05/0.2361, allocations: 8 kB / 469.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.2361, allocations: 0 / 469.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.2361, allocations: 3.984 kB / 469.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001628/0.2377, allocations: 0.9159 MB / 470 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001202/0.2379, allocations: 108.7 kB / 470.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.997e-05/0.2379, allocations: 8 kB / 470.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.541e-05/0.238, allocations: 12.03 kB / 470.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.451e-05/0.2381, allocations: 7.984 kB / 470.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.691e-05/0.2382, allocations: 8 kB / 470.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001859/0.2384, allocations: 127.2 kB / 470.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.2384, allocations: 0 / 470.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001853/0.2403, allocations: 352 kB / 470.6 MB, free: 10.39 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.001987/0.2423, allocations: 370 kB / 471 MB, free: 10.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002229/0.2445, allocations: 1.604 MB / 472.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.2445, allocations: 0 / 472.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001758/0.2463, allocations: 1.374 MB / 474 MB, free: 7.012 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.2467, allocations: 16 kB / 474 MB, free: 6.996 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.2482, allocations: 0.7697 MB / 474.7 MB, free: 6.195 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006372/0.2489, allocations: 0.7517 MB / 475.5 MB, free: 5.418 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.677e-05/0.2489, allocations: 7.438 kB / 475.5 MB, free: 5.41 MB / 350.1 MB Notification: Performance of SimCode: time 8.31e-07/0.2489, allocations: 4 kB / 475.5 MB, free: 5.406 MB / 350.1 MB Notification: Performance of Templates: time 0.01953/0.2685, allocations: 7.107 MB / 482.6 MB, free: 14.29 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe 2>&1)