Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 112.7 kB / 17.75 MB, free: 5.332 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.000947/0.000947, allocations: 187 kB / 18.68 MB, free: 4.406 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.281/1.281, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1708/0.1708, allocations: 38.04 MB / 330.6 MB, free: 8.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 59.91 kB / 458.8 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3013, allocations: 58.05 MB / 0.5048 GB, free: 7.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.002878/0.3042, allocations: 2.038 MB / 0.5068 GB, free: 6.332 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006607/0.3049, allocations: 0.5312 MB / 0.5073 GB, free: 5.973 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.646e-05/0.3049, allocations: 1.438 kB / 0.5073 GB, free: 5.973 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001871/0.3051, allocations: 9.172 kB / 0.5073 GB, free: 5.969 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.19e-05/0.3052, allocations: 30.58 kB / 0.5073 GB, free: 5.953 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.3055, allocations: 59.23 kB / 0.5074 GB, free: 5.934 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.3056, allocations: 63.11 kB / 0.5074 GB, free: 5.91 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.63e-05/0.3057, allocations: 11.56 kB / 0.5075 GB, free: 5.902 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.676e-05/0.3058, allocations: 34.36 kB / 0.5075 GB, free: 5.887 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.343e-05/0.3058, allocations: 30.41 kB / 0.5075 GB, free: 5.875 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.087e-06/0.3058, allocations: 0 / 0.5075 GB, free: 5.875 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.306, allocations: 75.39 kB / 0.5076 GB, free: 5.852 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.038e-05/0.3061, allocations: 14.92 kB / 0.5076 GB, free: 5.844 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.805e-05/0.3061, allocations: 13.5 kB / 0.5076 GB, free: 5.836 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001836/0.3063, allocations: 99.72 kB / 0.5077 GB, free: 5.812 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.3063, allocations: 4.906 kB / 0.5077 GB, free: 5.809 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3063, allocations: 0 / 0.5077 GB, free: 5.809 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.3063, allocations: 0 / 0.5077 GB, free: 5.809 MB / 382.1 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.0002893/0.3066, allocations: 386.4 kB / 0.5081 GB, free: 5.406 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.3067, allocations: 13.7 kB / 0.5081 GB, free: 5.402 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.42e-05/0.3067, allocations: 8.328 kB / 0.5081 GB, free: 5.398 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.3068, allocations: 176.5 kB / 0.5083 GB, free: 5.195 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.372e-06/0.3068, allocations: 384 / 0.5083 GB, free: 5.195 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.504e-05/0.3069, allocations: 5.969 kB / 0.5083 GB, free: 5.191 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.307, allocations: 51.02 kB / 0.5083 GB, free: 5.156 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.307, allocations: 0 / 0.5083 GB, free: 5.156 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.307, allocations: 5.844 kB / 0.5083 GB, free: 5.152 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.307, allocations: 0 / 0.5083 GB, free: 5.152 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.967e-05/0.3071, allocations: 21.55 kB / 0.5084 GB, free: 5.148 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001138/0.3072, allocations: 161.5 kB / 0.5085 GB, free: 4.953 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.869e-05/0.3073, allocations: 46.89 kB / 0.5085 GB, free: 4.918 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.434e-05/0.3073, allocations: 40.72 kB / 0.5086 GB, free: 4.895 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.779e-06/0.3073, allocations: 3.094 kB / 0.5086 GB, free: 4.895 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.496e-05/0.3073, allocations: 35.66 kB / 0.5086 GB, free: 4.852 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.3073, allocations: 0 / 0.5086 GB, free: 4.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002398/0.3076, allocations: 148.5 kB / 0.5088 GB, free: 4.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.3076, allocations: 84.92 kB / 0.5088 GB, free: 4.676 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.456e-05/0.3077, allocations: 111.2 kB / 0.509 GB, free: 4.574 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.3077, allocations: 26.83 kB / 0.509 GB, free: 4.543 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.636e-05/0.3078, allocations: 86.62 kB / 0.5091 GB, free: 4.457 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.562e-05/0.3078, allocations: 29.17 kB / 0.5091 GB, free: 4.434 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.18e-05/0.3078, allocations: 17.83 kB / 0.5091 GB, free: 4.418 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.781e-05/0.3079, allocations: 323.1 kB / 0.5094 GB, free: 4.098 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.873e-05/0.3079, allocations: 21.08 kB / 0.5094 GB, free: 4.094 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.268e-05/0.308, allocations: 17.83 kB / 0.5095 GB, free: 4.094 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.3081, allocations: 127.4 kB / 0.5096 GB, free: 4.012 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3081, allocations: 0 / 0.5096 GB, free: 4.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001558/0.3083, allocations: 127.8 kB / 0.5097 GB, free: 3.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.274e-05/0.3084, allocations: 46.31 kB / 0.5097 GB, free: 3.895 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.3084, allocations: 4.547 kB / 0.5097 GB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.3084, allocations: 64 / 0.5097 GB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.114e-06/0.3084, allocations: 5.344 kB / 0.5097 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.3084, allocations: 0.7969 kB / 0.5098 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.518e-05/0.3084, allocations: 2.781 kB / 0.5098 GB, free: 3.887 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.3085, allocations: 2.219 kB / 0.5098 GB, free: 3.887 MB / 382.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 9.562e-05/0.3086, allocations: 152 kB / 0.5099 GB, free: 3.742 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.745e-05/0.3086, allocations: 11.92 kB / 0.5099 GB, free: 3.734 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.5e-05/0.3086, allocations: 11.28 kB / 0.5099 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3086, allocations: 0 / 0.5099 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3086, allocations: 0.7031 kB / 0.5099 GB, free: 3.727 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.714e-05/0.3086, allocations: 88 kB / 0.51 GB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.3087, allocations: 6.312 kB / 0.51 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.609e-05/0.3087, allocations: 1.859 kB / 0.51 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.3087, allocations: 2.156 kB / 0.51 GB, free: 3.621 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002826/0.309, allocations: 339.7 kB / 0.5103 GB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002438/0.3092, allocations: 356.9 kB / 0.5107 GB, free: 3.129 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.827e-05/0.3093, allocations: 77.52 kB / 0.5108 GB, free: 3.098 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.518e-05/0.3094, allocations: 87.56 kB / 0.5108 GB, free: 3.023 MB / 382.1 MB Notification: Performance of Backend: time 3.51e-07/0.3094, allocations: 0 / 0.5108 GB, free: 3.023 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000472/0.3099, allocations: 243.1 kB / 0.5111 GB, free: 2.863 MB / 382.1 MB Notification: Performance of SimCode: time 0.0005116/0.3104, allocations: 0.6812 MB / 0.5117 GB, free: 2.191 MB / 382.1 MB Notification: Performance of Templates: time 0.003902/0.3143, allocations: 1.095 MB / 0.5128 GB, free: 2.082 MB / 382.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches