Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008114/0.0008117, allocations: 184.1 kB / 16.72 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.177/1.177, allocations: 225.7 MB / 243.2 MB, free: 8.477 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007917/0.0007917, allocations: 102.5 kB / 294.4 MB, free: 9.5 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2764/0.2764, allocations: 38.18 MB / 383.7 MB, free: 40.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002753/0.0002754, allocations: 8 kB / 453.5 MB, free: 8.785 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.249/0.2493, allocations: 59.15 MB / 0.5007 GB, free: 38.82 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.001776/0.2511, allocations: 1.818 MB / 0.5025 GB, free: 38.66 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005654/0.2517, allocations: 0.6613 MB / 0.5031 GB, free: 38.42 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.366e-05/0.2517, allocations: 0 / 0.5031 GB, free: 38.42 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001495/0.2519, allocations: 14.83 kB / 0.5031 GB, free: 38.42 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 7.57e-05/0.252, allocations: 26.44 kB / 0.5031 GB, free: 38.41 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002057/0.2522, allocations: 53.88 kB / 0.5032 GB, free: 38.41 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001129/0.2523, allocations: 117 kB / 0.5033 GB, free: 38.39 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.04e-05/0.2524, allocations: 9.406 kB / 0.5033 GB, free: 38.39 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.964e-05/0.2524, allocations: 26.69 kB / 0.5033 GB, free: 38.38 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.247e-05/0.2525, allocations: 35.25 kB / 0.5034 GB, free: 38.38 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.885e-06/0.2525, allocations: 1.062 kB / 0.5034 GB, free: 38.38 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.2527, allocations: 69.42 kB / 0.5034 GB, free: 38.37 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.331e-05/0.2527, allocations: 11.14 kB / 0.5035 GB, free: 38.37 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.977e-05/0.2527, allocations: 43.48 kB / 0.5035 GB, free: 38.33 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001534/0.2529, allocations: 107.4 kB / 0.5036 GB, free: 38.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.2529, allocations: 0 / 0.5036 GB, free: 38.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2529, allocations: 3.406 kB / 0.5036 GB, free: 38.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.241e-06/0.2529, allocations: 0 / 0.5036 GB, free: 38.32 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000217/0.2531, allocations: 371.4 kB / 0.504 GB, free: 37.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.2532, allocations: 9.406 kB / 0.504 GB, free: 37.93 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.678e-05/0.2532, allocations: 7.625 kB / 0.504 GB, free: 37.92 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.2533, allocations: 187.8 kB / 0.5041 GB, free: 37.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.2533, allocations: 4.125 kB / 0.5042 GB, free: 37.71 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.135e-05/0.2534, allocations: 5.719 kB / 0.5042 GB, free: 37.71 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.356e-05/0.2535, allocations: 48.64 kB / 0.5042 GB, free: 37.68 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.2535, allocations: 2.672 kB / 0.5042 GB, free: 37.68 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.203e-06/0.2535, allocations: 0 / 0.5042 GB, free: 37.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-06/0.2535, allocations: 0 / 0.5042 GB, free: 37.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.363e-05/0.2535, allocations: 18.58 kB / 0.5042 GB, free: 37.68 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.595e-05/0.2536, allocations: 159.4 kB / 0.5044 GB, free: 37.49 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.223e-05/0.2537, allocations: 47.81 kB / 0.5044 GB, free: 37.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.317e-05/0.2537, allocations: 40.08 kB / 0.5045 GB, free: 37.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.2537, allocations: 1.562 kB / 0.5045 GB, free: 37.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.2538, allocations: 35.53 kB / 0.5045 GB, free: 37.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=8): time 9.22e-07/0.2538, allocations: 0 / 0.5045 GB, free: 37.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002081/0.254, allocations: 152 kB / 0.5046 GB, free: 37.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.254, allocations: 83.61 kB / 0.5047 GB, free: 37.24 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.548e-05/0.2541, allocations: 116.5 kB / 0.5048 GB, free: 37.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.262e-06/0.2541, allocations: 25.7 kB / 0.5049 GB, free: 37.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.815e-05/0.2541, allocations: 88.52 kB / 0.5049 GB, free: 37.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.459e-05/0.2541, allocations: 27.92 kB / 0.505 GB, free: 37.01 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-06/0.2542, allocations: 1.281 kB / 0.505 GB, free: 37.01 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.583e-05/0.2542, allocations: 317 kB / 0.5053 GB, free: 36.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.812e-05/0.2542, allocations: 20.66 kB / 0.5053 GB, free: 36.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.22e-05/0.2543, allocations: 20.62 kB / 0.5053 GB, free: 36.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.414e-05/0.2543, allocations: 125.5 kB / 0.5054 GB, free: 36.62 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2544, allocations: 1.719 kB / 0.5054 GB, free: 36.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001079/0.2545, allocations: 126.7 kB / 0.5056 GB, free: 36.55 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.312e-05/0.2545, allocations: 46.27 kB / 0.5056 GB, free: 36.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.2545, allocations: 0 / 0.5056 GB, free: 36.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/0.2545, allocations: 2.094 kB / 0.5056 GB, free: 36.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.92e-07/0.2545, allocations: 2.5 kB / 0.5056 GB, free: 36.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.2545, allocations: 0.8438 kB / 0.5056 GB, free: 36.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.199e-05/0.2546, allocations: 1.938 kB / 0.5056 GB, free: 36.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.2546, allocations: 3.312 kB / 0.5056 GB, free: 36.52 MB / 378.7 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 6.794e-05/0.2547, allocations: 164 kB / 0.5058 GB, free: 36.37 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.187e-05/0.2547, allocations: 9.719 kB / 0.5058 GB, free: 36.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.498e-06/0.2547, allocations: 6.266 kB / 0.5058 GB, free: 36.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.72e-07/0.2547, allocations: 1.156 kB / 0.5058 GB, free: 36.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2547, allocations: 4.656 kB / 0.5058 GB, free: 36.36 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2547, allocations: 1.812 kB / 0.5058 GB, free: 36.36 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.1e-05/0.2548, allocations: 174 kB / 0.5059 GB, free: 36.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2548, allocations: 1.656 kB / 0.506 GB, free: 36.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.2548, allocations: 1.469 kB / 0.506 GB, free: 36.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.92e-07/0.2548, allocations: 0 / 0.506 GB, free: 36.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.2548, allocations: 6.797 kB / 0.506 GB, free: 36.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2548, allocations: 0.5625 kB / 0.506 GB, free: 36.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.2548, allocations: 0 / 0.506 GB, free: 36.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001896/0.255, allocations: 217.6 kB / 0.5062 GB, free: 36.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.797e-05/0.255, allocations: 88.53 kB / 0.5063 GB, free: 35.95 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.2551, allocations: 1 kB / 0.5063 GB, free: 35.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.463e-05/0.2551, allocations: 3.5 kB / 0.5063 GB, free: 35.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.731e-05/0.2551, allocations: 2.375 kB / 0.5063 GB, free: 35.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.2551, allocations: 2.406 kB / 0.5063 GB, free: 35.95 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.831e-05/0.2552, allocations: 91.25 kB / 0.5063 GB, free: 35.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.2552, allocations: 0 / 0.5063 GB, free: 35.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001995/0.2554, allocations: 36.89 kB / 0.5064 GB, free: 35.87 MB / 378.7 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.0001279/0.2555, allocations: 118.2 kB / 0.5065 GB, free: 35.78 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002043/0.2557, allocations: 195.3 kB / 0.5067 GB, free: 35.72 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.2557, allocations: 0 / 0.5067 GB, free: 35.72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.2558, allocations: 150.1 kB / 0.5068 GB, free: 35.65 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001916/0.256, allocations: 12.11 kB / 0.5068 GB, free: 35.65 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002962/0.2563, allocations: 233.2 kB / 0.5071 GB, free: 35.52 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.74e-05/0.2564, allocations: 0.6918 MB / 0.5077 GB, free: 34.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.099e-05/0.2565, allocations: 1.797 kB / 0.5077 GB, free: 34.82 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.644e-06/0.2565, allocations: 8.938 kB / 0.5077 GB, free: 34.82 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2565, allocations: 0 / 0.5077 GB, free: 34.82 MB / 378.7 MB Notification: Performance of Templates: time 0.002855/0.2593, allocations: 0.9976 MB / 0.5087 GB, free: 34.73 MB / 378.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches