Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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-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_matrixTrDat3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_d.4.|zr_q.1.|zr_q.2.|zr_q.3.|zr_q.4.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_d.4.|zr_q.1.|zr_q.2.|zr_q.3.|zr_q.4.",fileNamePrefix="PowerSystems_latest_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.001774/0.001774, allocations: 110.2 kB / 17.29 MB, free: 6.059 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.002283/0.002284, allocations: 197.3 kB / 18.21 MB, free: 5.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.239/2.239, allocations: 222.9 MB / 241.9 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.3496/0.3496, allocations: 38.04 MB / 330.1 MB, free: 8.93 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002612/0.002612, allocations: 65.12 kB / 398.9 MB, free: 34.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1806, allocations: 58.06 MB / 457 MB, free: 8.406 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.006664/0.1873, allocations: 2.14 MB / 459.1 MB, free: 6.242 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005981/0.1933, allocations: 2.055 MB / 461.2 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.075e-05/0.1935, allocations: 0 / 461.2 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002072/0.1937, allocations: 15.92 kB / 461.2 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001896/0.194, allocations: 23.89 kB / 461.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00434/0.1983, allocations: 0.7531 MB / 462 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002663/0.1986, allocations: 79.7 kB / 462.1 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.199e-05/0.1987, allocations: 4.172 kB / 462.1 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.1989, allocations: 39.84 kB / 462.1 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001514/0.199, allocations: 51.81 kB / 462.2 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.583e-05/0.1991, allocations: 4 kB / 462.2 MB, free: 3.207 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00338/0.2025, allocations: 1.259 MB / 463.4 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.2026, allocations: 43.84 kB / 463.5 MB, free: 1.902 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.2028, allocations: 67.48 kB / 463.5 MB, free: 1.836 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002471/0.2053, allocations: 0.9746 MB / 464.5 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.575e-06/0.2053, allocations: 0 / 464.5 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.2053, allocations: 0 / 464.5 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.2053, allocations: 4 kB / 464.5 MB, free: 0.8555 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.001552/0.2069, allocations: 0.5941 MB / 465.1 MB, free: 212 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.165e-05/0.207, allocations: 11.89 kB / 465.1 MB, free: 200 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.982e-05/0.2071, allocations: 20.66 kB / 465.1 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003828/0.2075, allocations: 231.3 kB / 465.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.2075, allocations: 0 / 465.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.2075, allocations: 0 / 465.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003981/0.208, allocations: 134.6 kB / 465.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.208, allocations: 0 / 465.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.281e-05/0.208, allocations: 0 / 465.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.2081, allocations: 4 kB / 465.5 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002375/0.2083, allocations: 104.3 kB / 465.6 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003399/0.2087, allocations: 209.6 kB / 465.8 MB, free: 15.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003245/0.209, allocations: 166.5 kB / 466 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002655/0.2093, allocations: 140.9 kB / 466.1 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.2093, allocations: 0 / 466.1 MB, free: 15.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.756e-05/0.2094, allocations: 42.55 kB / 466.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.515e-06/0.2094, allocations: 3.938 kB / 466.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.001251/0.2107, allocations: 487.6 kB / 466.6 MB, free: 14.56 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001135/0.2108, allocations: 109.1 kB / 466.7 MB, free: 14.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/0.2111, allocations: 170.9 kB / 466.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.276e-05/0.2112, allocations: 25.7 kB / 466.9 MB, free: 14.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001095/0.2113, allocations: 112.7 kB / 467 MB, free: 14.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001908/0.2115, allocations: 126.1 kB / 467.2 MB, free: 13.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.2116, allocations: 33.7 kB / 467.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002315/0.2119, allocations: 338.8 kB / 467.5 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002172/0.2121, allocations: 99.95 kB / 467.6 MB, free: 13.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.2123, allocations: 100.9 kB / 467.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006664/0.213, allocations: 384.3 kB / 468.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.213, allocations: 0 / 468.1 MB, free: 13.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007255/0.2138, allocations: 338.9 kB / 468.4 MB, free: 12.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001779/0.214, allocations: 89.62 kB / 468.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.214, allocations: 0 / 468.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.214, allocations: 0 / 468.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.214e-06/0.214, allocations: 0 / 468.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.2141, allocations: 3.938 kB / 468.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.2142, allocations: 23.69 kB / 468.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.862e-05/0.2143, allocations: 8 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.0003623/0.2147, allocations: 239.4 kB / 468.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.946e-05/0.2148, allocations: 23.81 kB / 468.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.502e-05/0.2148, allocations: 22.58 kB / 468.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.2148, allocations: 0 / 468.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.2148, allocations: 0 / 468.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2149, allocations: 0 / 468.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003217/0.2152, allocations: 237.2 kB / 469.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.2152, allocations: 0 / 469.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.443e-06/0.2152, allocations: 0 / 469.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.135e-06/0.2152, allocations: 4 kB / 469.1 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.371e-05/0.2153, allocations: 12 kB / 469.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.2153, allocations: 3.984 kB / 469.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.2153, allocations: 0 / 469.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/0.2172, allocations: 0.9159 MB / 470 MB, free: 11.01 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.785e-05/0.2173, allocations: 100.7 kB / 470.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.477e-05/0.2174, allocations: 8 kB / 470.1 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.2175, allocations: 7.938 kB / 470.1 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.2176, allocations: 12.03 kB / 470.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.682e-05/0.2176, allocations: 8 kB / 470.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000178/0.2178, allocations: 132.2 kB / 470.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.51e-07/0.2179, allocations: 0 / 470.3 MB, free: 10.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001785/0.2197, allocations: 359.9 kB / 470.6 MB, free: 10.38 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.002031/0.2217, allocations: 367.7 kB / 471 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002636/0.2244, allocations: 1.6 MB / 472.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.2244, allocations: 0 / 472.6 MB, free: 8.398 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002011/0.2264, allocations: 1.378 MB / 473.9 MB, free: 7.008 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/0.2269, allocations: 16 kB / 474 MB, free: 6.992 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/0.2287, allocations: 0.7735 MB / 474.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005431/0.2293, allocations: 0.755 MB / 475.5 MB, free: 5.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.392e-05/0.2293, allocations: 7.438 kB / 475.5 MB, free: 5.402 MB / 350.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2293, allocations: 0 / 475.5 MB, free: 5.402 MB / 350.1 MB Notification: Performance of Templates: time 0.02069/0.25, allocations: 7.115 MB / 482.6 MB, free: 14.27 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches