Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/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_matrixEqCirc2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000801/0.0008011, allocations: 94.11 kB / 16.3 MB, free: 5.996 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.0008263/0.0008263, allocations: 182.8 kB / 17.2 MB, free: 5.914 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.226/1.226, allocations: 223.2 MB / 241.1 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2825/0.2825, allocations: 38.08 MB / 330.3 MB, free: 14.2 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002899/0.0002899, allocations: 11.98 kB / 400 MB, free: 9.277 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2267, allocations: 59.15 MB / 459.1 MB, free: 30.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.001585/0.2283, allocations: 1.711 MB / 460.8 MB, free: 29 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004802/0.2288, allocations: 0.4899 MB / 461.3 MB, free: 28.67 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.821e-05/0.2289, allocations: 1.344 kB / 461.3 MB, free: 28.67 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001121/0.229, allocations: 10.02 kB / 461.3 MB, free: 28.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.103e-05/0.229, allocations: 16.98 kB / 461.4 MB, free: 28.65 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002106/0.2292, allocations: 49.42 kB / 461.4 MB, free: 28.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 5.388e-05/0.2293, allocations: 31.45 kB / 461.4 MB, free: 28.62 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.938e-05/0.2293, allocations: 2.688 kB / 461.4 MB, free: 28.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.917e-05/0.2294, allocations: 28.77 kB / 461.5 MB, free: 28.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.23e-05/0.2294, allocations: 14.42 kB / 461.5 MB, free: 28.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.634e-06/0.2295, allocations: 2.031 kB / 461.5 MB, free: 28.6 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.954e-05/0.2296, allocations: 44.45 kB / 461.5 MB, free: 28.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.741e-05/0.2296, allocations: 27.88 kB / 461.6 MB, free: 28.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.011e-05/0.2296, allocations: 36.61 kB / 461.6 MB, free: 28.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001066/0.2297, allocations: 75.97 kB / 461.7 MB, free: 28.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.2297, allocations: 0 / 461.7 MB, free: 28.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2298, allocations: 1.438 kB / 461.7 MB, free: 28.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.085e-06/0.2298, allocations: 0 / 461.7 MB, free: 28.53 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0002491/0.23, allocations: 427.8 kB / 462.1 MB, free: 28.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.864e-05/0.2301, allocations: 11.23 kB / 462.1 MB, free: 28.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.092e-05/0.2301, allocations: 15.19 kB / 462.1 MB, free: 28.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.2302, allocations: 178.1 kB / 462.3 MB, free: 27.89 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.2302, allocations: 9.688 kB / 462.3 MB, free: 27.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.2302, allocations: 4.828 kB / 462.3 MB, free: 27.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.2304, allocations: 87.77 kB / 462.4 MB, free: 27.83 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.171e-06/0.2304, allocations: 0 / 462.4 MB, free: 27.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.2304, allocations: 1.062 kB / 462.4 MB, free: 27.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.2304, allocations: 0.75 kB / 462.4 MB, free: 27.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.916e-05/0.2305, allocations: 57.09 kB / 462.4 MB, free: 27.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001014/0.2306, allocations: 183.5 kB / 462.6 MB, free: 27.61 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.61e-05/0.2307, allocations: 96.61 kB / 462.7 MB, free: 27.56 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-06/0.2307, allocations: 1.219 kB / 462.7 MB, free: 27.56 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.633e-05/0.2307, allocations: 43.2 kB / 462.8 MB, free: 27.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 8.81e-07/0.2307, allocations: 1.219 kB / 462.8 MB, free: 27.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.0003625/0.2311, allocations: 392.2 kB / 463.1 MB, free: 27.3 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.622e-05/0.2311, allocations: 98.09 kB / 463.2 MB, free: 27.2 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.539e-05/0.2312, allocations: 130.1 kB / 463.4 MB, free: 27.1 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.843e-06/0.2312, allocations: 25.7 kB / 463.4 MB, free: 27.07 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.486e-05/0.2312, allocations: 94.25 kB / 463.5 MB, free: 26.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.689e-05/0.2313, allocations: 83.03 kB / 463.6 MB, free: 26.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-06/0.2313, allocations: 1.125 kB / 463.6 MB, free: 26.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.146e-05/0.2313, allocations: 323.7 kB / 463.9 MB, free: 26.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.765e-05/0.2314, allocations: 64.33 kB / 463.9 MB, free: 26.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.119e-05/0.2315, allocations: 60.22 kB / 464 MB, free: 26.56 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.449e-05/0.2316, allocations: 122.3 kB / 464.1 MB, free: 26.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2316, allocations: 0 / 464.1 MB, free: 26.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001878/0.2318, allocations: 221.6 kB / 464.3 MB, free: 26.42 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.912e-05/0.2318, allocations: 65.56 kB / 464.4 MB, free: 26.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.2318, allocations: 4.922 kB / 464.4 MB, free: 26.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.926e-06/0.2318, allocations: 0 / 464.4 MB, free: 26.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.282e-06/0.2319, allocations: 0.7969 kB / 464.4 MB, free: 26.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.2319, allocations: 5.016 kB / 464.4 MB, free: 26.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.285e-05/0.2319, allocations: 16.91 kB / 464.4 MB, free: 26.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.2319, allocations: 4.984 kB / 464.4 MB, free: 26.36 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001064/0.232, allocations: 192.5 kB / 464.6 MB, free: 26.21 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.914e-05/0.2321, allocations: 13.17 kB / 464.6 MB, free: 26.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.223e-05/0.2321, allocations: 12.36 kB / 464.6 MB, free: 26.2 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2321, allocations: 5.047 kB / 464.6 MB, free: 26.2 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2321, allocations: 0.7969 kB / 464.6 MB, free: 26.2 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.2321, allocations: 0 / 464.6 MB, free: 26.2 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.536e-05/0.2322, allocations: 199.5 kB / 464.8 MB, free: 25.99 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.2322, allocations: 0 / 464.8 MB, free: 25.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.082e-06/0.2322, allocations: 9.75 kB / 464.9 MB, free: 25.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.2322, allocations: 0 / 464.9 MB, free: 25.98 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.2322, allocations: 4.188 kB / 464.9 MB, free: 25.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.2322, allocations: 2.016 kB / 464.9 MB, free: 25.98 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.2322, allocations: 3.953 kB / 464.9 MB, free: 25.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004528/0.2327, allocations: 0.5069 MB / 465.4 MB, free: 25.8 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.134e-05/0.2327, allocations: 88.86 kB / 465.5 MB, free: 25.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.2327, allocations: 5.094 kB / 465.5 MB, free: 25.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.53e-05/0.2328, allocations: 11.44 kB / 465.5 MB, free: 25.69 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.828e-05/0.2328, allocations: 6.953 kB / 465.5 MB, free: 25.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.2328, allocations: 4.5 kB / 465.5 MB, free: 25.68 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.164e-05/0.2329, allocations: 104.4 kB / 465.6 MB, free: 25.6 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.2329, allocations: 0 / 465.6 MB, free: 25.6 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002219/0.2331, allocations: 52.78 kB / 465.6 MB, free: 25.59 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001136/0.2332, allocations: 107.3 kB / 465.7 MB, free: 25.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005264/0.2337, allocations: 0.7077 MB / 466.5 MB, free: 25.16 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.2338, allocations: 0 / 466.5 MB, free: 25.16 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003519/0.2341, allocations: 0.5681 MB / 467 MB, free: 24.85 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001491/0.2343, allocations: 10.44 kB / 467 MB, free: 24.85 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004909/0.2348, allocations: 461.4 kB / 467.5 MB, free: 24.63 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.2349, allocations: 0.7244 MB / 468.2 MB, free: 23.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.465e-05/0.2349, allocations: 2.891 kB / 468.2 MB, free: 23.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.534e-06/0.2349, allocations: 8.906 kB / 468.2 MB, free: 23.93 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2349, allocations: 3.938 kB / 468.2 MB, free: 23.92 MB / 350.1 MB Notification: Performance of Templates: time 0.003771/0.2387, allocations: 1.686 MB / 469.9 MB, free: 23.76 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.makefile Environment - environmentSimulation: (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches