Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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_matrixEqCirc1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zr_q.2.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.|zx_q.1,2.|zx_q.2,1.|zx_q.2,2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zr_q.2.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.|zx_q.1,2.|zx_q.2,1.|zx_q.2,2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00082/0.0008201, allocations: 178.4 kB / 16.71 MB, free: 5.09 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.193/1.193, allocations: 225.7 MB / 243.2 MB, free: 8.496 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.0007212/0.0007213, allocations: 93.88 kB / 294.4 MB, free: 9.52 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.2778/0.2778, allocations: 38.18 MB / 383.7 MB, free: 40.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002906/0.0002906, allocations: 15.98 kB / 453.6 MB, free: 8.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2612/0.2615, allocations: 59.15 MB / 0.5007 GB, free: 38.97 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.00189/0.2635, allocations: 1.81 MB / 0.5025 GB, free: 38.82 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005961/0.2641, allocations: 0.6647 MB / 0.5031 GB, free: 38.58 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.134e-05/0.2641, allocations: 0 / 0.5031 GB, free: 38.58 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.2642, allocations: 15.12 kB / 0.5031 GB, free: 38.58 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.2644, allocations: 23.89 kB / 0.5031 GB, free: 38.57 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002047/0.2646, allocations: 58.84 kB / 0.5032 GB, free: 38.57 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001176/0.2647, allocations: 113.6 kB / 0.5033 GB, free: 38.55 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.319e-05/0.2647, allocations: 5.031 kB / 0.5033 GB, free: 38.55 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.33e-05/0.2648, allocations: 29.09 kB / 0.5033 GB, free: 38.54 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.678e-05/0.2649, allocations: 34.95 kB / 0.5034 GB, free: 38.54 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.417e-06/0.2649, allocations: 4.094 kB / 0.5034 GB, free: 38.54 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.2651, allocations: 70.52 kB / 0.5034 GB, free: 38.53 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.204e-05/0.2651, allocations: 17 kB / 0.5035 GB, free: 38.53 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.474e-05/0.2651, allocations: 45.91 kB / 0.5035 GB, free: 38.48 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001643/0.2653, allocations: 109.1 kB / 0.5036 GB, free: 38.47 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.2653, allocations: 3.438 kB / 0.5036 GB, free: 38.47 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2653, allocations: 0 / 0.5036 GB, free: 38.47 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.2653, allocations: 0.625 kB / 0.5036 GB, free: 38.47 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0002356/0.2656, allocations: 392.4 kB / 0.504 GB, free: 38.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.2656, allocations: 8.469 kB / 0.504 GB, free: 38.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.734e-05/0.2657, allocations: 4.188 kB / 0.504 GB, free: 38.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.2658, allocations: 186.7 kB / 0.5042 GB, free: 37.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.223e-06/0.2658, allocations: 384 / 0.5042 GB, free: 37.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.2658, allocations: 7.062 kB / 0.5042 GB, free: 37.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.952e-05/0.2659, allocations: 64.62 kB / 0.5042 GB, free: 37.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.862e-06/0.2659, allocations: 5.969 kB / 0.5042 GB, free: 37.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.2659, allocations: 1.281 kB / 0.5042 GB, free: 37.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.467e-06/0.2659, allocations: 0 / 0.5042 GB, free: 37.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.417e-05/0.266, allocations: 28.42 kB / 0.5043 GB, free: 37.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.293e-05/0.2661, allocations: 167.4 kB / 0.5044 GB, free: 37.63 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.498e-05/0.2662, allocations: 66.56 kB / 0.5045 GB, free: 37.6 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.724e-05/0.2662, allocations: 44.75 kB / 0.5045 GB, free: 37.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.283e-06/0.2662, allocations: 3.578 kB / 0.5045 GB, free: 37.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.475e-05/0.2662, allocations: 32.44 kB / 0.5046 GB, free: 37.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=12): time 8.02e-07/0.2663, allocations: 0 / 0.5046 GB, free: 37.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002205/0.2665, allocations: 177.2 kB / 0.5047 GB, free: 37.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.2665, allocations: 96.2 kB / 0.5048 GB, free: 37.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.289e-05/0.2666, allocations: 117.5 kB / 0.5049 GB, free: 37.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.072e-06/0.2666, allocations: 30.89 kB / 0.505 GB, free: 37.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.007e-05/0.2666, allocations: 88.77 kB / 0.5051 GB, free: 37.17 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.2667, allocations: 37.59 kB / 0.5051 GB, free: 37.14 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.2667, allocations: 0 / 0.5051 GB, free: 37.14 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.51e-05/0.2667, allocations: 324.4 kB / 0.5054 GB, free: 36.83 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.762e-05/0.2668, allocations: 25.62 kB / 0.5054 GB, free: 36.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.857e-05/0.2669, allocations: 29.69 kB / 0.5055 GB, free: 36.83 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.267, allocations: 154.7 kB / 0.5056 GB, free: 36.76 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2671, allocations: 0 / 0.5056 GB, free: 36.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001823/0.2672, allocations: 155.1 kB / 0.5058 GB, free: 36.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.144e-05/0.2673, allocations: 50.14 kB / 0.5058 GB, free: 36.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.2673, allocations: 0.6562 kB / 0.5058 GB, free: 36.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.2673, allocations: 0.625 kB / 0.5058 GB, free: 36.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.333e-06/0.2673, allocations: 1.344 kB / 0.5058 GB, free: 36.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.2674, allocations: 7.312 kB / 0.5058 GB, free: 36.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.488e-05/0.2674, allocations: 11.25 kB / 0.5058 GB, free: 36.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.151e-05/0.2674, allocations: 3.359 kB / 0.5058 GB, free: 36.64 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 0.0001136/0.2676, allocations: 164.3 kB / 0.506 GB, free: 36.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.822e-05/0.2676, allocations: 13.09 kB / 0.506 GB, free: 36.49 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.324e-05/0.2676, allocations: 8.922 kB / 0.506 GB, free: 36.48 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.2676, allocations: 2.062 kB / 0.506 GB, free: 36.48 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.2676, allocations: 1 kB / 0.506 GB, free: 36.48 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.2676, allocations: 1.469 kB / 0.506 GB, free: 36.48 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.338e-05/0.2677, allocations: 175.7 kB / 0.5062 GB, free: 36.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2677, allocations: 0.7031 kB / 0.5062 GB, free: 36.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.42e-07/0.2677, allocations: 1.281 kB / 0.5062 GB, free: 36.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2677, allocations: 2.594 kB / 0.5062 GB, free: 36.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.2677, allocations: 3.594 kB / 0.5062 GB, free: 36.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2678, allocations: 1 kB / 0.5062 GB, free: 36.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2678, allocations: 0 / 0.5062 GB, free: 36.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002922/0.2681, allocations: 279.3 kB / 0.5065 GB, free: 36.19 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.175e-05/0.2681, allocations: 87.14 kB / 0.5065 GB, free: 36.09 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.912e-05/0.2681, allocations: 5 kB / 0.5065 GB, free: 36.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.14e-05/0.2681, allocations: 2.094 kB / 0.5065 GB, free: 36.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.005e-05/0.2682, allocations: 9.938 kB / 0.5066 GB, free: 36.08 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.2682, allocations: 3.906 kB / 0.5066 GB, free: 36.08 MB / 378.7 MB Notification: Performance of sorting global known variables: time 4.074e-05/0.2682, allocations: 96.36 kB / 0.5066 GB, free: 36 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2682, allocations: 0.625 kB / 0.5066 GB, free: 36 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002971/0.2685, allocations: 33.08 kB / 0.5067 GB, free: 36 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.0001447/0.2687, allocations: 123.3 kB / 0.5068 GB, free: 35.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003225/0.269, allocations: 287.1 kB / 0.5071 GB, free: 35.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.269, allocations: 1.031 kB / 0.5071 GB, free: 35.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002063/0.2692, allocations: 222.8 kB / 0.5073 GB, free: 35.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00022/0.2695, allocations: 12.95 kB / 0.5073 GB, free: 35.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004174/0.2699, allocations: 301.2 kB / 0.5076 GB, free: 35.63 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.27, allocations: 0.6995 MB / 0.5083 GB, free: 34.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.976e-05/0.2701, allocations: 4.516 kB / 0.5083 GB, free: 34.93 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.087e-06/0.2701, allocations: 8.312 kB / 0.5083 GB, free: 34.93 MB / 378.7 MB Notification: Performance of SimCode: time 8.91e-07/0.2701, allocations: 1 kB / 0.5083 GB, free: 34.93 MB / 378.7 MB Notification: Performance of Templates: time 0.004108/0.2742, allocations: 1.212 MB / 0.5095 GB, free: 34.81 MB / 378.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches