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.0007446/0.0007447, allocations: 88.59 kB / 16.31 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.0008574/0.0008575, allocations: 183.1 kB / 17.21 MB, free: 6.324 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.213/1.213, allocations: 223.3 MB / 241.2 MB, free: 320 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1603/0.1603, allocations: 38.09 MB / 330.4 MB, free: 8.871 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003135/0.0003135, allocations: 8 kB / 400.1 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09224/0.09257, allocations: 59.18 MB / 459.2 MB, free: 7.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.002311/0.09493, allocations: 1.717 MB / 461 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007599/0.09572, allocations: 0.4951 MB / 461.5 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.666e-05/0.09579, allocations: 4 kB / 461.5 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001084/0.09591, allocations: 7.984 kB / 461.5 MB, free: 5.176 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.09603, allocations: 31.84 kB / 461.5 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002084/0.09626, allocations: 47.8 kB / 461.5 MB, free: 5.098 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001016/0.09637, allocations: 91.7 kB / 461.6 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.629e-05/0.09642, allocations: 0 / 461.6 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.882e-05/0.09651, allocations: 27.92 kB / 461.7 MB, free: 4.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.872e-05/0.09657, allocations: 27.84 kB / 461.7 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.09658, allocations: 0 / 461.7 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.09671, allocations: 47.92 kB / 461.7 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.182e-05/0.09675, allocations: 19.92 kB / 461.8 MB, free: 4.887 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.637e-05/0.09678, allocations: 37.64 kB / 461.8 MB, free: 4.844 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 9.9e-05/0.09688, allocations: 64.14 kB / 461.9 MB, free: 4.781 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.0969, allocations: 0 / 461.9 MB, free: 4.781 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.0969, allocations: 0 / 461.9 MB, free: 4.781 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.657e-06/0.09691, allocations: 0 / 461.9 MB, free: 4.781 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003573/0.09727, allocations: 388.9 kB / 462.2 MB, free: 4.348 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.09731, allocations: 11.97 kB / 462.2 MB, free: 4.336 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.425e-05/0.09735, allocations: 7.906 kB / 462.3 MB, free: 4.328 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.09752, allocations: 175 kB / 462.4 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.783e-06/0.09753, allocations: 4 kB / 462.4 MB, free: 4.113 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.09755, allocations: 7.953 kB / 462.4 MB, free: 4.105 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.09767, allocations: 57.67 kB / 462.5 MB, free: 4.043 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.09769, allocations: 7.938 kB / 462.5 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.0977, allocations: 0 / 462.5 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.09771, allocations: 0 / 462.5 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.334e-05/0.09776, allocations: 27.98 kB / 462.5 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001358/0.0979, allocations: 157.7 kB / 462.7 MB, free: 3.805 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.661e-05/0.09797, allocations: 58.56 kB / 462.7 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.139e-05/0.09803, allocations: 44.88 kB / 462.8 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.082e-06/0.09804, allocations: 0 / 462.8 MB, free: 3.691 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.09807, allocations: 34.52 kB / 462.8 MB, free: 3.648 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 2.585e-06/0.09808, allocations: 4 kB / 462.8 MB, free: 3.645 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002392/0.09832, allocations: 183.3 kB / 463 MB, free: 3.453 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.475e-05/0.09838, allocations: 89.11 kB / 463.1 MB, free: 3.348 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.846e-05/0.09847, allocations: 122.1 kB / 463.2 MB, free: 3.219 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.09849, allocations: 33.73 kB / 463.2 MB, free: 3.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.297e-05/0.09853, allocations: 84.14 kB / 463.3 MB, free: 3.094 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.946e-05/0.09857, allocations: 39.36 kB / 463.4 MB, free: 3.055 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-06/0.09858, allocations: 0 / 463.4 MB, free: 3.055 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.0987, allocations: 322.8 kB / 463.7 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.486e-05/0.09874, allocations: 27.98 kB / 463.7 MB, free: 2.703 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.354e-05/0.09878, allocations: 32.42 kB / 463.7 MB, free: 2.672 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.401e-05/0.09885, allocations: 77.73 kB / 463.8 MB, free: 2.59 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.09885, allocations: 32 / 463.8 MB, free: 2.59 MB / 334.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001504/0.09901, allocations: 155.1 kB / 464 MB, free: 2.426 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.579e-05/0.09907, allocations: 57.62 kB / 464 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.09908, allocations: 0 / 464 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.729e-06/0.09909, allocations: 0 / 464 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.02e-07/0.0991, allocations: 0 / 464 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.09911, allocations: 0 / 464 MB, free: 2.363 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.482e-05/0.09913, allocations: 4 kB / 464 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.09916, allocations: 7.984 kB / 464 MB, free: 2.352 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001139/0.09928, allocations: 163.5 kB / 464.2 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.438e-05/0.0993, allocations: 11.94 kB / 464.2 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.539e-05/0.09932, allocations: 16.31 kB / 464.2 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.09933, allocations: 0 / 464.2 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.09933, allocations: 0 / 464.2 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-06/0.09934, allocations: 0 / 464.2 MB, free: 2.145 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001092/0.09945, allocations: 181.5 kB / 464.4 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.09946, allocations: 3.984 kB / 464.4 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.09947, allocations: 0 / 464.4 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.09947, allocations: 4 kB / 464.4 MB, free: 1.91 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.09949, allocations: 4 kB / 464.4 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.0995, allocations: 7.953 kB / 464.4 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.0995, allocations: 0 / 464.4 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.0998, allocations: 278.5 kB / 464.7 MB, free: 1.602 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.226e-05/0.09984, allocations: 81.02 kB / 464.8 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.09986, allocations: 4 kB / 464.8 MB, free: 1.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.773e-05/0.09989, allocations: 3.984 kB / 464.8 MB, free: 1.496 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.908e-05/0.09991, allocations: 7.953 kB / 464.8 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.09992, allocations: 4 kB / 464.8 MB, free: 1.484 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.372e-05/0.09997, allocations: 95.3 kB / 464.9 MB, free: 1.391 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09998, allocations: 0 / 464.9 MB, free: 1.391 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002163/0.1002, allocations: 36 kB / 464.9 MB, free: 1.355 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 (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.0001443/0.1004, allocations: 115.2 kB / 465 MB, free: 1.234 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002841/0.1006, allocations: 291.2 kB / 465.3 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.1007, allocations: 0 / 465.3 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001734/0.1008, allocations: 219.3 kB / 465.5 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002344/0.1011, allocations: 20.09 kB / 465.5 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003926/0.1015, allocations: 288.9 kB / 465.8 MB, free: 392 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002603/0.1017, allocations: 0.6965 MB / 466.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.709e-05/0.1018, allocations: 4 kB / 466.5 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.062e-05/0.1018, allocations: 7.438 kB / 466.5 MB, free: 15.65 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1018, allocations: 0 / 466.5 MB, free: 15.65 MB / 350.1 MB Notification: Performance of Templates: time 0.003278/0.1051, allocations: 1.176 MB / 467.7 MB, free: 14.48 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