Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008657/0.000866, allocations: 94.34 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.0008898/0.0008901, allocations: 184.4 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.196/1.196, allocations: 223.2 MB / 241.1 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2566/0.2566, allocations: 38.07 MB / 330.3 MB, free: 14.18 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004553/0.0004554, allocations: 8 kB / 400 MB, free: 9.266 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2725/0.2729, allocations: 59.16 MB / 459.1 MB, free: 30.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.001935/0.2749, allocations: 1.717 MB / 460.8 MB, free: 29.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005712/0.2755, allocations: 497 kB / 461.3 MB, free: 28.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.393e-05/0.2756, allocations: 1.25 kB / 461.3 MB, free: 28.69 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001359/0.2757, allocations: 10.19 kB / 461.3 MB, free: 28.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.264e-05/0.2758, allocations: 17.38 kB / 461.4 MB, free: 28.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000211/0.276, allocations: 49.27 kB / 461.4 MB, free: 28.65 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 6.082e-05/0.2761, allocations: 34.86 kB / 461.4 MB, free: 28.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.147e-05/0.2761, allocations: 2.203 kB / 461.4 MB, free: 28.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.698e-05/0.2762, allocations: 20.22 kB / 461.5 MB, free: 28.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.617e-05/0.2762, allocations: 18.09 kB / 461.5 MB, free: 28.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.696e-06/0.2763, allocations: 1.5 kB / 461.5 MB, free: 28.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001144/0.2764, allocations: 41.86 kB / 461.5 MB, free: 28.61 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.199e-05/0.2764, allocations: 18.91 kB / 461.5 MB, free: 28.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 1.986e-05/0.2764, allocations: 31.83 kB / 461.6 MB, free: 28.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.2766, allocations: 67.09 kB / 461.6 MB, free: 28.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2766, allocations: 0 / 461.6 MB, free: 28.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.2766, allocations: 0 / 461.6 MB, free: 28.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.787e-06/0.2766, allocations: 1.125 kB / 461.6 MB, free: 28.55 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0002903/0.2769, allocations: 390.6 kB / 462 MB, free: 28.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.2769, allocations: 8.875 kB / 462 MB, free: 28.15 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.265e-05/0.277, allocations: 7.344 kB / 462 MB, free: 28.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.2771, allocations: 176.9 kB / 462.2 MB, free: 27.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.2771, allocations: 9.438 kB / 462.2 MB, free: 27.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.2771, allocations: 3.953 kB / 462.2 MB, free: 27.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.2773, allocations: 64.14 kB / 462.3 MB, free: 27.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.2773, allocations: 3.938 kB / 462.3 MB, free: 27.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.454e-06/0.2773, allocations: 0 / 462.3 MB, free: 27.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.2773, allocations: 0.9688 kB / 462.3 MB, free: 27.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.655e-05/0.2774, allocations: 28.64 kB / 462.3 MB, free: 27.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001011/0.2775, allocations: 163.4 kB / 462.5 MB, free: 27.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.76e-05/0.2775, allocations: 63.58 kB / 462.5 MB, free: 27.64 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.692e-06/0.2775, allocations: 0.75 kB / 462.5 MB, free: 27.64 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.675e-05/0.2776, allocations: 35.55 kB / 462.6 MB, free: 27.6 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.2776, allocations: 0 / 462.6 MB, free: 27.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002767/0.2779, allocations: 265.1 kB / 462.8 MB, free: 27.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.2779, allocations: 91.19 kB / 462.9 MB, free: 27.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.181e-05/0.278, allocations: 115 kB / 463 MB, free: 27.22 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.246e-06/0.278, allocations: 30.86 kB / 463.1 MB, free: 27.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.641e-05/0.278, allocations: 95.55 kB / 463.2 MB, free: 27.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.856e-05/0.2781, allocations: 39.47 kB / 463.2 MB, free: 27.06 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/0.2781, allocations: 1 kB / 463.2 MB, free: 27.06 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.288e-05/0.2781, allocations: 316 kB / 463.5 MB, free: 26.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.965e-05/0.2782, allocations: 29.23 kB / 463.5 MB, free: 26.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.4e-05/0.2782, allocations: 32.08 kB / 463.6 MB, free: 26.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.936e-05/0.2783, allocations: 78.44 kB / 463.6 MB, free: 26.7 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2783, allocations: 0 / 463.6 MB, free: 26.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001515/0.2785, allocations: 156.3 kB / 463.8 MB, free: 26.61 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.221e-05/0.2785, allocations: 45.16 kB / 463.8 MB, free: 26.58 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.2785, allocations: 4.891 kB / 463.8 MB, free: 26.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.2786, allocations: 0.7969 kB / 463.8 MB, free: 26.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.2786, allocations: 0.8438 kB / 463.8 MB, free: 26.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.2786, allocations: 0 / 463.8 MB, free: 26.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.63e-05/0.2786, allocations: 7.781 kB / 463.9 MB, free: 26.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.2786, allocations: 3.125 kB / 463.9 MB, free: 26.57 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 9.737e-05/0.2787, allocations: 164.8 kB / 464 MB, free: 26.42 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.445e-05/0.2787, allocations: 13.02 kB / 464 MB, free: 26.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.427e-05/0.2788, allocations: 7.422 kB / 464 MB, free: 26.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.2788, allocations: 4.656 kB / 464 MB, free: 26.4 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.2788, allocations: 1.188 kB / 464 MB, free: 26.4 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-06/0.2788, allocations: 0 / 464 MB, free: 26.4 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.399e-05/0.2789, allocations: 172.5 kB / 464.2 MB, free: 26.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2789, allocations: 1 kB / 464.2 MB, free: 26.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.483e-06/0.2789, allocations: 0 / 464.2 MB, free: 26.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.2789, allocations: 3.938 kB / 464.2 MB, free: 26.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.2789, allocations: 3.969 kB / 464.2 MB, free: 26.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2789, allocations: 1.25 kB / 464.2 MB, free: 26.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.2789, allocations: 7.953 kB / 464.2 MB, free: 26.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002675/0.2792, allocations: 274.5 kB / 464.5 MB, free: 26.06 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.089e-05/0.2792, allocations: 88.77 kB / 464.6 MB, free: 25.96 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.2793, allocations: 2.781 kB / 464.6 MB, free: 25.96 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.753e-05/0.2793, allocations: 2.125 kB / 464.6 MB, free: 25.96 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.265e-05/0.2793, allocations: 10.7 kB / 464.6 MB, free: 25.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.855e-06/0.2793, allocations: 3.125 kB / 464.6 MB, free: 25.95 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.661e-05/0.2794, allocations: 96.38 kB / 464.7 MB, free: 25.87 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2794, allocations: 0.9375 kB / 464.7 MB, free: 25.87 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002165/0.2796, allocations: 31.77 kB / 464.7 MB, free: 25.87 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.0001305/0.2797, allocations: 106.1 kB / 464.8 MB, free: 25.78 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002936/0.28, allocations: 290.5 kB / 465.1 MB, free: 25.64 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.28, allocations: 0 / 465.1 MB, free: 25.64 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001819/0.2802, allocations: 227.3 kB / 465.3 MB, free: 25.52 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001777/0.2804, allocations: 16.66 kB / 465.4 MB, free: 25.51 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003696/0.2808, allocations: 288.4 kB / 465.6 MB, free: 25.34 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.2809, allocations: 0.7019 MB / 466.3 MB, free: 24.65 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.541e-05/0.2809, allocations: 10.05 kB / 466.3 MB, free: 24.64 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.197e-06/0.281, allocations: 8.438 kB / 466.4 MB, free: 24.63 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.281, allocations: 0 / 466.4 MB, free: 24.63 MB / 350.1 MB Notification: Performance of Templates: time 0.003713/0.2847, allocations: 1.171 MB / 467.5 MB, free: 24.51 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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