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.0007886/0.0007887, allocations: 94.73 kB / 16.3 MB, free: 6.453 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.0008054/0.0008054, allocations: 182.8 kB / 17.19 MB, free: 6.34 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.195/1.195, allocations: 223.2 MB / 241.1 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2774/0.2774, allocations: 38.07 MB / 330.3 MB, free: 14.19 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002708/0.0002709, allocations: 20 kB / 400 MB, free: 9.277 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2686, allocations: 59.16 MB / 459.1 MB, free: 30.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.001931/0.2706, allocations: 1.707 MB / 460.8 MB, free: 29.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005719/0.2712, allocations: 495.8 kB / 461.3 MB, free: 28.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.407e-05/0.2712, allocations: 5.125 kB / 461.3 MB, free: 28.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.2714, allocations: 11.11 kB / 461.3 MB, free: 28.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.606e-05/0.2714, allocations: 20.84 kB / 461.4 MB, free: 28.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002077/0.2717, allocations: 46.02 kB / 461.4 MB, free: 28.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.057e-05/0.2717, allocations: 33.33 kB / 461.4 MB, free: 28.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.078e-05/0.2718, allocations: 3.078 kB / 461.4 MB, free: 28.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.433e-05/0.2719, allocations: 20.41 kB / 461.5 MB, free: 28.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.347e-05/0.2719, allocations: 19.06 kB / 461.5 MB, free: 28.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.585e-06/0.2719, allocations: 0 / 461.5 MB, free: 28.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.272, allocations: 45.89 kB / 461.5 MB, free: 28.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.611e-05/0.2721, allocations: 9.391 kB / 461.5 MB, free: 28.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.564e-05/0.2721, allocations: 31.89 kB / 461.6 MB, free: 28.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.2722, allocations: 56.77 kB / 461.6 MB, free: 28.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.2722, allocations: 0 / 461.6 MB, free: 28.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2722, allocations: 1.125 kB / 461.6 MB, free: 28.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.436e-06/0.2722, allocations: 0 / 461.6 MB, free: 28.66 MB / 350.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.0002504/0.2725, allocations: 384.3 kB / 462 MB, free: 28.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.2725, allocations: 9.797 kB / 462 MB, free: 28.25 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.86e-05/0.2725, allocations: 6.312 kB / 462 MB, free: 28.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000111/0.2727, allocations: 179.2 kB / 462.2 MB, free: 28.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.2727, allocations: 2.188 kB / 462.2 MB, free: 28.04 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.2727, allocations: 4.922 kB / 462.2 MB, free: 28.04 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001038/0.2728, allocations: 51.16 kB / 462.2 MB, free: 28 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.2728, allocations: 0 / 462.2 MB, free: 28 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.086e-06/0.2728, allocations: 1.188 kB / 462.2 MB, free: 28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.2728, allocations: 0 / 462.2 MB, free: 28 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.726e-05/0.2729, allocations: 26.33 kB / 462.3 MB, free: 28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.469e-05/0.273, allocations: 160.4 kB / 462.4 MB, free: 27.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.374e-05/0.273, allocations: 51.78 kB / 462.5 MB, free: 27.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.162e-06/0.2731, allocations: 0 / 462.5 MB, free: 27.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.676e-05/0.2731, allocations: 35.55 kB / 462.5 MB, free: 27.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 8.51e-07/0.2731, allocations: 0 / 462.5 MB, free: 27.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002348/0.2733, allocations: 225.8 kB / 462.7 MB, free: 27.55 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.2734, allocations: 87.77 kB / 462.8 MB, free: 27.45 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.117e-05/0.2734, allocations: 116.2 kB / 462.9 MB, free: 27.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.375e-06/0.2735, allocations: 29.73 kB / 463 MB, free: 27.31 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.358e-05/0.2735, allocations: 90.91 kB / 463 MB, free: 27.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.2735, allocations: 25.5 kB / 463.1 MB, free: 27.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-06/0.2735, allocations: 0 / 463.1 MB, free: 27.2 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.872e-05/0.2736, allocations: 320.3 kB / 463.4 MB, free: 26.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.289e-05/0.2736, allocations: 21.28 kB / 463.4 MB, free: 26.88 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.445e-05/0.2737, allocations: 17.94 kB / 463.4 MB, free: 26.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.089e-05/0.2737, allocations: 62.94 kB / 463.5 MB, free: 26.84 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2737, allocations: 0 / 463.5 MB, free: 26.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001075/0.2738, allocations: 120.3 kB / 463.6 MB, free: 26.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.459e-05/0.2739, allocations: 41.47 kB / 463.6 MB, free: 26.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2739, allocations: 5.062 kB / 463.6 MB, free: 26.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.006e-05/0.2739, allocations: 0 / 463.6 MB, free: 26.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.202e-06/0.2739, allocations: 0.5312 kB / 463.6 MB, free: 26.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.2739, allocations: 5.812 kB / 463.7 MB, free: 26.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.209e-05/0.2739, allocations: 5.031 kB / 463.7 MB, free: 26.72 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.424e-05/0.274, allocations: 7.188 kB / 463.7 MB, free: 26.72 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.412e-05/0.274, allocations: 156.2 kB / 463.8 MB, free: 26.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.272e-05/0.2741, allocations: 8.078 kB / 463.8 MB, free: 26.57 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.231e-05/0.2741, allocations: 7.016 kB / 463.8 MB, free: 26.56 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.2741, allocations: 4.703 kB / 463.8 MB, free: 26.55 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.2741, allocations: 1.094 kB / 463.8 MB, free: 26.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2741, allocations: 4 kB / 463.8 MB, free: 26.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.478e-05/0.2742, allocations: 174.4 kB / 464 MB, free: 26.35 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.2742, allocations: 1.438 kB / 464 MB, free: 26.35 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.22e-07/0.2742, allocations: 0.75 kB / 464 MB, free: 26.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.2742, allocations: 1.125 kB / 464 MB, free: 26.35 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.2742, allocations: 1.469 kB / 464 MB, free: 26.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.2742, allocations: 9.969 kB / 464 MB, free: 26.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/0.2742, allocations: 3.953 kB / 464 MB, free: 26.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001992/0.2744, allocations: 203 kB / 464.2 MB, free: 26.22 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.071e-05/0.2745, allocations: 83.59 kB / 464.3 MB, free: 26.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.2745, allocations: 2.922 kB / 464.3 MB, free: 26.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.561e-05/0.2745, allocations: 5.062 kB / 464.3 MB, free: 26.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.772e-05/0.2745, allocations: 6.828 kB / 464.3 MB, free: 26.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.2746, allocations: 3.453 kB / 464.3 MB, free: 26.12 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.344e-05/0.2746, allocations: 93.55 kB / 464.4 MB, free: 26.04 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2746, allocations: 3.938 kB / 464.4 MB, free: 26.03 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002076/0.2748, allocations: 24.39 kB / 464.4 MB, free: 26.03 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001324/0.2749, allocations: 112.2 kB / 464.6 MB, free: 25.94 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002034/0.2752, allocations: 197.6 kB / 464.7 MB, free: 25.84 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2752, allocations: 0 / 464.7 MB, free: 25.84 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.2753, allocations: 147.5 kB / 464.9 MB, free: 25.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.2755, allocations: 13.52 kB / 464.9 MB, free: 25.74 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/0.2758, allocations: 228.8 kB / 465.1 MB, free: 25.59 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.276, allocations: 0.6939 MB / 465.8 MB, free: 24.9 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.524e-05/0.276, allocations: 6.031 kB / 465.8 MB, free: 24.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.387e-06/0.276, allocations: 8.438 kB / 465.8 MB, free: 24.89 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.276, allocations: 0 / 465.8 MB, free: 24.89 MB / 350.1 MB Notification: Performance of Templates: time 0.003074/0.2791, allocations: 0.9702 MB / 466.8 MB, free: 24.78 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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