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.002521/0.002521, allocations: 114.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.003873/0.003873, 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.255/3.255, allocations: 222.9 MB / 241.9 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.4647/0.4647, allocations: 38.03 MB / 330.1 MB, free: 8.988 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 73.39 kB / 398.9 MB, free: 34.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.2128, allocations: 58.06 MB / 457 MB, free: 8.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.006987/0.2199, allocations: 2.14 MB / 459.1 MB, free: 6.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004932/0.2249, allocations: 2.055 MB / 461.2 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001232/0.2251, allocations: 0 / 461.2 MB, free: 4.203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002318/0.2253, allocations: 7.922 kB / 461.2 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.2256, allocations: 27.89 kB / 461.2 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004175/0.2298, allocations: 0.7564 MB / 462 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002756/0.2301, allocations: 75.7 kB / 462.1 MB, free: 3.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.984e-05/0.2302, allocations: 8.188 kB / 462.1 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001618/0.2304, allocations: 35.78 kB / 462.1 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.2305, allocations: 47.81 kB / 462.1 MB, free: 3.25 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.2306, allocations: 4 kB / 462.1 MB, free: 3.246 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003232/0.2338, allocations: 1.259 MB / 463.4 MB, free: 1.984 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.908e-05/0.2339, allocations: 19.92 kB / 463.4 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.673e-05/0.234, allocations: 23.81 kB / 463.5 MB, free: 1.941 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002204/0.2362, allocations: 0.9512 MB / 464.4 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.2363, allocations: 0 / 464.4 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.977e-06/0.2363, allocations: 4 kB / 464.4 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.2363, allocations: 0 / 464.4 MB, free: 0.9844 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001235/0.2376, allocations: 0.5125 MB / 464.9 MB, free: 428 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.724e-05/0.2376, allocations: 15.89 kB / 464.9 MB, free: 412 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.82e-05/0.2377, allocations: 12.78 kB / 464.9 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003917/0.2382, allocations: 195.6 kB / 465.1 MB, free: 164 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.2382, allocations: 0 / 465.1 MB, free: 164 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.2382, allocations: 7.984 kB / 465.1 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002739/0.2385, allocations: 65.67 kB / 465.2 MB, free: 84 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.2386, allocations: 0 / 465.2 MB, free: 84 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.934e-05/0.2386, allocations: 0 / 465.2 MB, free: 84 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.2386, allocations: 0 / 465.2 MB, free: 84 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.2387, allocations: 35.92 kB / 465.2 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003197/0.2391, allocations: 177.4 kB / 465.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001498/0.2392, allocations: 58.56 kB / 465.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.2394, allocations: 52.86 kB / 465.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.2394, allocations: 0 / 465.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.44e-05/0.2394, allocations: 34.56 kB / 465.6 MB, free: 15.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 2.735e-06/0.2394, allocations: 0 / 465.6 MB, free: 15.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.000617/0.2401, allocations: 195.3 kB / 465.8 MB, free: 15.46 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.2402, allocations: 89.09 kB / 465.8 MB, free: 15.35 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002124/0.2404, allocations: 132.2 kB / 466 MB, free: 15.21 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.2405, allocations: 25.7 kB / 466 MB, free: 15.18 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.361e-05/0.2406, allocations: 96.17 kB / 466.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.526e-05/0.2407, allocations: 35.45 kB / 466.1 MB, free: 15.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.887e-05/0.2408, allocations: 25.7 kB / 466.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0003547/0.2412, allocations: 326.8 kB / 466.5 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.2413, allocations: 27.98 kB / 466.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.2414, allocations: 31.98 kB / 466.5 MB, free: 14.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000328/0.2418, allocations: 160.2 kB / 466.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.2418, allocations: 0 / 466.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003948/0.2422, allocations: 167.1 kB / 466.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.787e-05/0.2423, allocations: 45.69 kB / 466.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.574e-05/0.2424, allocations: 3.984 kB / 466.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.2424, allocations: 3.938 kB / 466.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.046e-06/0.2424, allocations: 0 / 466.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.2424, allocations: 0 / 466.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.121e-05/0.2425, allocations: 7.938 kB / 466.9 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.833e-05/0.2426, allocations: 4 kB / 466.9 MB, free: 14.21 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.0002486/0.2429, allocations: 167.5 kB / 467.1 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.986e-05/0.2429, allocations: 11.94 kB / 467.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.592e-05/0.243, allocations: 8.719 kB / 467.1 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.243, allocations: 3.984 kB / 467.1 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.243, allocations: 0 / 467.1 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.243, allocations: 0 / 467.1 MB, free: 14.01 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002479/0.2433, allocations: 185.5 kB / 467.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2433, allocations: 0 / 467.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.075e-06/0.2433, allocations: 0 / 467.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.2433, allocations: 0 / 467.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.141e-05/0.2434, allocations: 8 kB / 467.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.247e-06/0.2434, allocations: 0 / 467.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.2434, allocations: 4 kB / 467.3 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.2444, allocations: 302.8 kB / 467.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.6e-05/0.2445, allocations: 85 kB / 467.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.994e-05/0.2446, allocations: 4 kB / 467.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.661e-05/0.2447, allocations: 0 / 467.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.2447, allocations: 4 kB / 467.7 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.37e-05/0.2448, allocations: 4 kB / 467.7 MB, free: 13.33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001439/0.2449, allocations: 105.6 kB / 467.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.2449, allocations: 0 / 467.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001815/0.2468, allocations: 327.8 kB / 468.1 MB, free: 12.91 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.00192/0.2487, allocations: 362.1 kB / 468.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005881/0.2493, allocations: 303.2 kB / 468.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.2493, allocations: 4.062 kB / 468.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003088/0.2496, allocations: 223.3 kB / 469 MB, free: 12.01 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004549/0.2501, allocations: 11.98 kB / 469 MB, free: 12 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009695/0.2511, allocations: 358.5 kB / 469.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004953/0.2516, allocations: 0.7039 MB / 470 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.666e-05/0.2517, allocations: 11.44 kB / 470.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of SimCode: time 1.343e-06/0.2517, allocations: 0 / 470.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of Templates: time 0.02134/0.273, allocations: 5.979 MB / 476 MB, free: 4.883 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)