Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008629/0.0008627, allocations: 95.12 kB / 16.3 MB, free: 5.996 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.0009858/0.0009858, allocations: 184.5 kB / 17.2 MB, free: 5.914 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.237/1.237, allocations: 223.2 MB / 241.1 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2607/0.2607, allocations: 38.07 MB / 330.3 MB, free: 14.27 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002914/0.0002914, allocations: 12 kB / 400 MB, free: 9.305 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.2563, allocations: 59.16 MB / 459.1 MB, free: 30.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.001834/0.2582, allocations: 1.709 MB / 460.8 MB, free: 29.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005299/0.2587, allocations: 498.4 kB / 461.3 MB, free: 28.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.604e-05/0.2588, allocations: 3.938 kB / 461.3 MB, free: 28.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001274/0.2589, allocations: 10.97 kB / 461.3 MB, free: 28.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.304e-05/0.2589, allocations: 17.41 kB / 461.4 MB, free: 28.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002344/0.2592, allocations: 45.66 kB / 461.4 MB, free: 28.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.311e-05/0.2592, allocations: 34.23 kB / 461.4 MB, free: 28.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.054e-05/0.2593, allocations: 2.766 kB / 461.4 MB, free: 28.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.39e-05/0.2594, allocations: 21.83 kB / 461.5 MB, free: 28.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.752e-05/0.2594, allocations: 24 kB / 461.5 MB, free: 28.72 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.047e-06/0.2594, allocations: 5 kB / 461.5 MB, free: 28.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.2596, allocations: 37.95 kB / 461.5 MB, free: 28.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.819e-05/0.2596, allocations: 37.47 kB / 461.6 MB, free: 28.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.368e-05/0.2596, allocations: 39.19 kB / 461.6 MB, free: 28.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.2598, allocations: 93.62 kB / 461.7 MB, free: 28.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.2598, allocations: 1.062 kB / 461.7 MB, free: 28.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2598, allocations: 3.938 kB / 461.7 MB, free: 28.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.949e-06/0.2598, allocations: 0 / 461.7 MB, free: 28.63 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0003237/0.2601, allocations: 472.4 kB / 462.2 MB, free: 28.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.2602, allocations: 9.125 kB / 462.2 MB, free: 28.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.568e-05/0.2602, allocations: 17.16 kB / 462.2 MB, free: 28.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.2604, allocations: 194.5 kB / 462.4 MB, free: 27.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.2604, allocations: 1.438 kB / 462.4 MB, free: 27.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.214e-05/0.2604, allocations: 5.391 kB / 462.4 MB, free: 27.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.2606, allocations: 128.2 kB / 462.5 MB, free: 27.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-06/0.2606, allocations: 1.094 kB / 462.5 MB, free: 27.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.2606, allocations: 0 / 462.5 MB, free: 27.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.2606, allocations: 1.906 kB / 462.5 MB, free: 27.9 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.819e-05/0.2607, allocations: 93.22 kB / 462.6 MB, free: 27.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001331/0.2608, allocations: 209.7 kB / 462.8 MB, free: 27.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.261, allocations: 152.2 kB / 462.9 MB, free: 27.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.183e-06/0.261, allocations: 1.188 kB / 462.9 MB, free: 27.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.683e-05/0.261, allocations: 38.45 kB / 463 MB, free: 27.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 9.31e-07/0.261, allocations: 1.156 kB / 463 MB, free: 27.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.000588/0.2616, allocations: 0.5491 MB / 463.5 MB, free: 27.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.2617, allocations: 108.4 kB / 463.6 MB, free: 27.19 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.2618, allocations: 151.9 kB / 463.8 MB, free: 27.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.514e-06/0.2618, allocations: 25.7 kB / 463.8 MB, free: 27.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.147e-05/0.2618, allocations: 94.12 kB / 463.9 MB, free: 26.94 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.445e-05/0.2619, allocations: 138.3 kB / 464 MB, free: 26.83 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/0.2619, allocations: 1 kB / 464 MB, free: 26.83 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.468e-05/0.262, allocations: 332.6 kB / 464.4 MB, free: 26.51 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.604e-05/0.2621, allocations: 92.22 kB / 464.5 MB, free: 26.49 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.295e-05/0.2622, allocations: 98.11 kB / 464.6 MB, free: 26.46 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.2623, allocations: 186.9 kB / 464.7 MB, free: 26.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2623, allocations: 0 / 464.7 MB, free: 26.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002917/0.2626, allocations: 317.3 kB / 465 MB, free: 26.28 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.82e-05/0.2627, allocations: 87.83 kB / 465.1 MB, free: 26.24 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.2627, allocations: 4.984 kB / 465.1 MB, free: 26.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.2627, allocations: 0 / 465.1 MB, free: 26.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/0.2627, allocations: 1.609 kB / 465.1 MB, free: 26.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.2628, allocations: 0 / 465.1 MB, free: 26.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.453e-05/0.2628, allocations: 24.38 kB / 465.2 MB, free: 26.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.2628, allocations: 6.391 kB / 465.2 MB, free: 26.22 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 0.0001588/0.263, allocations: 232.4 kB / 465.4 MB, free: 26.06 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.263, allocations: 21.16 kB / 465.4 MB, free: 26.05 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.465e-05/0.2631, allocations: 15.44 kB / 465.4 MB, free: 26.05 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.2631, allocations: 4.703 kB / 465.4 MB, free: 26.04 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.2631, allocations: 3.938 kB / 465.4 MB, free: 26.04 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.2631, allocations: 0 / 465.4 MB, free: 26.04 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.2632, allocations: 226.5 kB / 465.7 MB, free: 25.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2632, allocations: 0.75 kB / 465.7 MB, free: 25.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.2632, allocations: 1 kB / 465.7 MB, free: 25.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.2632, allocations: 3.984 kB / 465.7 MB, free: 25.82 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.81e-05/0.2632, allocations: 16.09 kB / 465.7 MB, free: 25.81 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.2632, allocations: 0 / 465.7 MB, free: 25.81 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.2633, allocations: 3.953 kB / 465.7 MB, free: 25.81 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008558/0.2641, allocations: 0.8932 MB / 466.6 MB, free: 25.56 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.079e-05/0.2642, allocations: 99.16 kB / 466.7 MB, free: 25.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.86e-05/0.2642, allocations: 6.625 kB / 466.7 MB, free: 25.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.267e-05/0.2642, allocations: 6.344 kB / 466.7 MB, free: 25.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.871e-05/0.2643, allocations: 11.3 kB / 466.7 MB, free: 25.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.2643, allocations: 6.344 kB / 466.7 MB, free: 25.44 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.623e-05/0.2643, allocations: 114.4 kB / 466.8 MB, free: 25.36 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.91e-07/0.2643, allocations: 1.375 kB / 466.8 MB, free: 25.36 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002539/0.2646, allocations: 69.58 kB / 466.9 MB, free: 25.35 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.0001391/0.2648, allocations: 112.8 kB / 467 MB, free: 25.26 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001154/0.2659, allocations: 1.587 MB / 468.6 MB, free: 24.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2659, allocations: 0 / 468.6 MB, free: 24.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000866/0.2668, allocations: 1.37 MB / 470 MB, free: 23.65 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/0.267, allocations: 23.2 kB / 470 MB, free: 23.64 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007716/0.2678, allocations: 0.6707 MB / 470.6 MB, free: 23.35 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001882/0.268, allocations: 0.7503 MB / 471.4 MB, free: 22.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.724e-05/0.268, allocations: 2.875 kB / 471.4 MB, free: 22.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.025e-05/0.268, allocations: 12.56 kB / 471.4 MB, free: 22.64 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.268, allocations: 0 / 471.4 MB, free: 22.64 MB / 350.1 MB Notification: Performance of Templates: time 0.00497/0.273, allocations: 2.307 MB / 473.7 MB, free: 22.43 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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