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.0006795/0.0006797, allocations: 91.06 kB / 16.65 MB, free: 6.59 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.0007251/0.0007251, allocations: 184.7 kB / 17.56 MB, free: 6.199 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.211/1.211, allocations: 223.3 MB / 241.6 MB, free: 112 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1611/0.1611, allocations: 38.1 MB / 330.8 MB, free: 8.73 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003817/0.0003818, allocations: 11.98 kB / 400.7 MB, free: 34.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09299/0.0934, allocations: 59.16 MB / 459.9 MB, free: 7.059 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0): time 0.002529/0.09596, allocations: 1.752 MB / 461.6 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007278/0.09672, allocations: 0.526 MB / 462.2 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.862e-05/0.09678, allocations: 0 / 462.2 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001605/0.09695, allocations: 15.92 kB / 462.2 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.577e-05/0.09704, allocations: 19.89 kB / 462.2 MB, free: 4.723 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002298/0.09728, allocations: 63.84 kB / 462.3 MB, free: 4.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.09742, allocations: 119.6 kB / 462.4 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.349e-05/0.09747, allocations: 8 kB / 462.4 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.903e-05/0.09755, allocations: 23.91 kB / 462.4 MB, free: 4.512 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.294e-05/0.09762, allocations: 31.84 kB / 462.4 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.09763, allocations: 4 kB / 462.4 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.09778, allocations: 67.84 kB / 462.5 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.743e-05/0.09782, allocations: 15.92 kB / 462.5 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.77e-05/0.09787, allocations: 45.56 kB / 462.6 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.09802, allocations: 99.95 kB / 462.7 MB, free: 4.246 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.09803, allocations: 0 / 462.7 MB, free: 4.246 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.09804, allocations: 0 / 462.7 MB, free: 4.246 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.09805, allocations: 4 kB / 462.7 MB, free: 4.242 MB / 334.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.0003125/0.09837, allocations: 377.1 kB / 463 MB, free: 3.82 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.09841, allocations: 8.031 kB / 463 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.09845, allocations: 12.84 kB / 463.1 MB, free: 3.801 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.09859, allocations: 176.2 kB / 463.2 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.09861, allocations: 384 / 463.2 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.837e-06/0.09862, allocations: 4.125 kB / 463.2 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.09873, allocations: 57.62 kB / 463.3 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.021e-06/0.09874, allocations: 0 / 463.3 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-06/0.09876, allocations: 4 kB / 463.3 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.09877, allocations: 0 / 463.3 MB, free: 3.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.411e-05/0.0988, allocations: 19.98 kB / 463.3 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001248/0.09893, allocations: 165.6 kB / 463.5 MB, free: 3.289 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.166e-05/0.099, allocations: 50.5 kB / 463.5 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.758e-05/0.09905, allocations: 36.81 kB / 463.6 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.452e-06/0.09906, allocations: 0 / 463.6 MB, free: 3.191 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.09908, allocations: 34.56 kB / 463.6 MB, free: 3.148 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 7.32e-07/0.09909, allocations: 0 / 463.6 MB, free: 3.148 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002138/0.09931, allocations: 143.3 kB / 463.7 MB, free: 2.996 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.09935, allocations: 81.11 kB / 463.8 MB, free: 2.898 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.482e-05/0.09945, allocations: 117.8 kB / 463.9 MB, free: 2.773 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.09947, allocations: 37.62 kB / 464 MB, free: 2.73 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.992e-05/0.0995, allocations: 84.14 kB / 464 MB, free: 2.645 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.162e-05/0.09955, allocations: 19.66 kB / 464.1 MB, free: 2.625 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.536e-05/0.09958, allocations: 17.7 kB / 464.1 MB, free: 2.602 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.102e-05/0.09968, allocations: 318.9 kB / 464.4 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.142e-05/0.09971, allocations: 23.98 kB / 464.4 MB, free: 2.258 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.388e-05/0.09974, allocations: 19.98 kB / 464.4 MB, free: 2.238 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.453e-05/0.09984, allocations: 124.5 kB / 464.6 MB, free: 2.102 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.09985, allocations: 4 kB / 464.6 MB, free: 2.098 MB / 334.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001242/0.09998, allocations: 127.4 kB / 464.7 MB, free: 1.961 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.894e-05/0.1, allocations: 41.69 kB / 464.7 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1, allocations: 0 / 464.7 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.1001, allocations: 64 / 464.7 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.1001, allocations: 7.938 kB / 464.7 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.1001, allocations: 3.984 kB / 464.7 MB, free: 1.902 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.378e-05/0.1001, allocations: 4 kB / 464.7 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.1001, allocations: 0 / 464.7 MB, free: 1.898 MB / 334.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.669e-05/0.1002, allocations: 159.5 kB / 464.9 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.549e-05/0.1002, allocations: 8.281 kB / 464.9 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.475e-05/0.1003, allocations: 8.359 kB / 464.9 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-06/0.1003, allocations: 0 / 464.9 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1003, allocations: 0 / 464.9 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.1003, allocations: 7.938 kB / 464.9 MB, free: 1.699 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001021/0.1004, allocations: 173.6 kB / 465.1 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1004, allocations: 0 / 465.1 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.1004, allocations: 0 / 465.1 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.1004, allocations: 0 / 465.1 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.1004, allocations: 0 / 465.1 MB, free: 1.48 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1004, allocations: 4 kB / 465.1 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1004, allocations: 0 / 465.1 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002163/0.1007, allocations: 218.6 kB / 465.3 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.301e-05/0.1007, allocations: 88.94 kB / 465.4 MB, free: 1.133 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.1007, allocations: 4 kB / 465.4 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.569e-05/0.1007, allocations: 0 / 465.4 MB, free: 1.129 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.207e-05/0.1008, allocations: 7.984 kB / 465.4 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.1008, allocations: 0 / 465.4 MB, free: 1.121 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.478e-05/0.1008, allocations: 95.2 kB / 465.5 MB, free: 1.027 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1008, allocations: 0 / 465.5 MB, free: 1.027 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000226/0.1011, allocations: 35.94 kB / 465.5 MB, free: 0.9922 MB / 334.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 (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.0001567/0.1012, allocations: 119.2 kB / 465.7 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00022/0.1014, allocations: 191.3 kB / 465.8 MB, free: 0.668 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1015, allocations: 0 / 465.8 MB, free: 0.668 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.1016, allocations: 147.4 kB / 466 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002248/0.1018, allocations: 11.94 kB / 466 MB, free: 0.5 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003464/0.1022, allocations: 236.6 kB / 466.2 MB, free: 248 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.1024, allocations: 0.6887 MB / 466.9 MB, free: 15.53 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.586e-05/0.1024, allocations: 4 kB / 466.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.025e-05/0.1025, allocations: 7.438 kB / 466.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1025, allocations: 0 / 466.9 MB, free: 15.52 MB / 350.1 MB Notification: Performance of Templates: time 0.003004/0.1055, allocations: 0.9976 MB / 467.9 MB, free: 14.53 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