Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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_matrixEqCirc3,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_matrixEqCirc3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,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_matrixEqCirc3") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 177.9 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.209/1.209, allocations: 225.7 MB / 243.2 MB, free: 8.52 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.0007632/0.0007631, allocations: 94.39 kB / 294.4 MB, free: 9.527 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.274/0.274, allocations: 38.18 MB / 383.7 MB, free: 40.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003004/0.0003004, allocations: 11.94 kB / 453.5 MB, free: 8.793 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.255, allocations: 59.15 MB / 0.5007 GB, free: 38.95 MB / 378.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.001774/0.2569, allocations: 1.816 MB / 0.5025 GB, free: 38.79 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005712/0.2574, allocations: 0.6633 MB / 0.5031 GB, free: 38.55 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.833e-05/0.2575, allocations: 1.438 kB / 0.5031 GB, free: 38.55 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 9.884e-05/0.2576, allocations: 9.125 kB / 0.5031 GB, free: 38.55 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 7.386e-05/0.2577, allocations: 29.47 kB / 0.5031 GB, free: 38.54 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002221/0.2579, allocations: 59.98 kB / 0.5032 GB, free: 38.54 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000114/0.258, allocations: 114.9 kB / 0.5033 GB, free: 38.52 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.842e-05/0.2581, allocations: 3.281 kB / 0.5033 GB, free: 38.52 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.825e-05/0.2581, allocations: 30.88 kB / 0.5033 GB, free: 38.52 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.589e-05/0.2582, allocations: 39.14 kB / 0.5034 GB, free: 38.5 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.167e-06/0.2582, allocations: 1.438 kB / 0.5034 GB, free: 38.5 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001406/0.2584, allocations: 72.67 kB / 0.5034 GB, free: 38.5 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.316e-05/0.2584, allocations: 39.8 kB / 0.5035 GB, free: 38.5 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.998e-05/0.2585, allocations: 68.61 kB / 0.5035 GB, free: 38.44 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001715/0.2586, allocations: 158.4 kB / 0.5037 GB, free: 38.4 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2587, allocations: 3.375 kB / 0.5037 GB, free: 38.4 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2587, allocations: 1.906 kB / 0.5037 GB, free: 38.4 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.487e-06/0.2587, allocations: 0 / 0.5037 GB, free: 38.4 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.000254/0.2589, allocations: 465.8 kB / 0.5041 GB, free: 37.97 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.106e-05/0.259, allocations: 9.938 kB / 0.5042 GB, free: 37.97 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.964e-05/0.259, allocations: 13.22 kB / 0.5042 GB, free: 37.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.2591, allocations: 199.8 kB / 0.5044 GB, free: 37.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.427e-06/0.2591, allocations: 5.688 kB / 0.5044 GB, free: 37.75 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.2591, allocations: 1.219 kB / 0.5044 GB, free: 37.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001373/0.2593, allocations: 136.2 kB / 0.5045 GB, free: 37.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.2593, allocations: 1.438 kB / 0.5045 GB, free: 37.71 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.813e-06/0.2593, allocations: 0.6875 kB / 0.5045 GB, free: 37.71 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-06/0.2593, allocations: 0 / 0.5045 GB, free: 37.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.886e-05/0.2594, allocations: 89.78 kB / 0.5046 GB, free: 37.71 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001039/0.2595, allocations: 210.3 kB / 0.5048 GB, free: 37.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.2596, allocations: 149.1 kB / 0.5049 GB, free: 37.48 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.434e-05/0.2597, allocations: 145.6 kB / 0.5051 GB, free: 37.46 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.803e-06/0.2597, allocations: 0 / 0.5051 GB, free: 37.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.417e-05/0.2598, allocations: 35.47 kB / 0.5051 GB, free: 37.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=40): time 1.593e-06/0.2598, allocations: 3.984 kB / 0.5051 GB, free: 37.42 MB / 378.7 MB Notification: Performance of matching and sorting (n=40): time 0.0004819/0.2603, allocations: 468.7 kB / 0.5056 GB, free: 37.34 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/0.2603, allocations: 108.2 kB / 0.5057 GB, free: 37.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.431e-05/0.2604, allocations: 145.8 kB / 0.5058 GB, free: 37.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.612e-06/0.2604, allocations: 32.89 kB / 0.5058 GB, free: 37.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.762e-05/0.2605, allocations: 97.64 kB / 0.5059 GB, free: 37.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.903e-05/0.2605, allocations: 132.3 kB / 0.506 GB, free: 36.94 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.055e-06/0.2605, allocations: 3.938 kB / 0.506 GB, free: 36.94 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.78e-05/0.2606, allocations: 337.5 kB / 0.5064 GB, free: 36.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.17e-05/0.2607, allocations: 97.59 kB / 0.5065 GB, free: 36.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.255e-05/0.2608, allocations: 91.16 kB / 0.5066 GB, free: 36.62 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002682/0.261, allocations: 362.5 kB / 0.5069 GB, free: 36.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.261, allocations: 0 / 0.5069 GB, free: 36.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002723/0.2613, allocations: 322.2 kB / 0.5072 GB, free: 36.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.579e-05/0.2614, allocations: 84.86 kB / 0.5073 GB, free: 36.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2614, allocations: 4.609 kB / 0.5073 GB, free: 36.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.2614, allocations: 1.719 kB / 0.5073 GB, free: 36.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.21e-07/0.2614, allocations: 0 / 0.5073 GB, free: 36.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.2615, allocations: 3.219 kB / 0.5073 GB, free: 36.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.049e-05/0.2615, allocations: 24.38 kB / 0.5073 GB, free: 36.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.2615, allocations: 7.125 kB / 0.5073 GB, free: 36.41 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.000164/0.2617, allocations: 238.9 kB / 0.5076 GB, free: 36.26 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.2617, allocations: 20.75 kB / 0.5076 GB, free: 36.25 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.86e-05/0.2618, allocations: 13.47 kB / 0.5076 GB, free: 36.25 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.2618, allocations: 0 / 0.5076 GB, free: 36.25 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.2618, allocations: 0.9375 kB / 0.5076 GB, free: 36.25 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.2618, allocations: 0.5156 kB / 0.5076 GB, free: 36.25 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.2619, allocations: 231.8 kB / 0.5078 GB, free: 36.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.2619, allocations: 3.094 kB / 0.5078 GB, free: 36.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.2619, allocations: 0 / 0.5078 GB, free: 36.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.2619, allocations: 1.094 kB / 0.5078 GB, free: 36.05 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.2619, allocations: 7.25 kB / 0.5078 GB, free: 36.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.2619, allocations: 0 / 0.5078 GB, free: 36.05 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.262, allocations: 1.859 kB / 0.5078 GB, free: 36.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009151/0.2629, allocations: 0.895 MB / 0.5087 GB, free: 35.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.58e-05/0.2629, allocations: 100.6 kB / 0.5088 GB, free: 35.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.832e-05/0.2629, allocations: 7.062 kB / 0.5088 GB, free: 35.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.193e-05/0.263, allocations: 5.609 kB / 0.5088 GB, free: 35.82 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/0.263, allocations: 6.25 kB / 0.5088 GB, free: 35.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.263, allocations: 8.312 kB / 0.5088 GB, free: 35.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.207e-05/0.2631, allocations: 124.1 kB / 0.5089 GB, free: 35.74 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2631, allocations: 0 / 0.5089 GB, free: 35.74 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002326/0.2633, allocations: 64.28 kB / 0.509 GB, free: 35.74 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.0001311/0.2635, allocations: 126.4 kB / 0.5091 GB, free: 35.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001074/0.2646, allocations: 1.58 MB / 0.5107 GB, free: 35.09 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.2646, allocations: 2.969 kB / 0.5107 GB, free: 35.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006984/0.2653, allocations: 1.368 MB / 0.512 GB, free: 34.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002161/0.2655, allocations: 26.92 kB / 0.512 GB, free: 34.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006457/0.2662, allocations: 0.6978 MB / 0.5127 GB, free: 33.99 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001509/0.2663, allocations: 0.7443 MB / 0.5134 GB, free: 33.3 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 1.606e-05/0.2663, allocations: 4.578 kB / 0.5134 GB, free: 33.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.674e-06/0.2664, allocations: 9.281 kB / 0.5134 GB, free: 33.29 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.2664, allocations: 2.781 kB / 0.5134 GB, free: 33.29 MB / 378.7 MB Notification: Performance of Templates: time 0.004116/0.2705, allocations: 2.371 MB / 0.5158 GB, free: 33.09 MB / 378.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches