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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001077/0.001077, allocations: 184.9 kB / 16.39 MB, free: 5.758 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.363/1.363, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007474/0.0007473, allocations: 92.97 kB / 270.9 MB, free: 8.387 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1636/0.1636, allocations: 38.06 MB / 357.2 MB, free: 1.902 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000321/0.000321, allocations: 8 kB / 424 MB, free: 37.7 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2875, allocations: 56.32 MB / 480.3 MB, free: 9.555 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1167/0.4042, allocations: 87.09 MB / 0.5541 GB, free: 15.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002253/0.4045, allocations: 83.95 kB / 0.5542 GB, free: 15.26 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004709/0.4092, allocations: 1.551 MB / 0.5557 GB, free: 13.71 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.906e-06/0.4093, allocations: 4 kB / 0.5557 GB, free: 13.7 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.455e-06/0.4093, allocations: 11.88 kB / 0.5557 GB, free: 13.69 MB / 394.7 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.0003259/0.4096, allocations: 397 kB / 0.5561 GB, free: 13.25 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.4097, allocations: 15.98 kB / 0.5561 GB, free: 13.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.111e-05/0.4097, allocations: 3.906 kB / 0.5561 GB, free: 13.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.4099, allocations: 182.9 kB / 0.5563 GB, free: 13.01 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.4099, allocations: 0 / 0.5563 GB, free: 13.01 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.4099, allocations: 4 kB / 0.5563 GB, free: 13.01 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.41, allocations: 57.69 kB / 0.5563 GB, free: 12.95 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.59e-06/0.41, allocations: 4 kB / 0.5563 GB, free: 12.94 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.4101, allocations: 0 / 0.5563 GB, free: 12.94 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.4101, allocations: 3.984 kB / 0.5563 GB, free: 12.94 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.943e-05/0.4101, allocations: 35.91 kB / 0.5564 GB, free: 12.9 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001404/0.4103, allocations: 165.6 kB / 0.5565 GB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.299e-05/0.4103, allocations: 54.56 kB / 0.5566 GB, free: 12.63 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.542e-06/0.4104, allocations: 0 / 0.5566 GB, free: 12.63 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.4104, allocations: 38.59 kB / 0.5566 GB, free: 12.58 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.002e-06/0.4104, allocations: 0 / 0.5566 GB, free: 12.58 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003207/0.4107, allocations: 271.4 kB / 0.5569 GB, free: 12.29 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.973e-05/0.4108, allocations: 89.09 kB / 0.557 GB, free: 12.18 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.622e-05/0.4109, allocations: 113 kB / 0.5571 GB, free: 12.07 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.351e-05/0.4109, allocations: 25.7 kB / 0.5571 GB, free: 12.04 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.402e-05/0.4109, allocations: 84.14 kB / 0.5572 GB, free: 11.95 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.469e-05/0.411, allocations: 39.45 kB / 0.5572 GB, free: 11.91 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.307e-06/0.411, allocations: 0 / 0.5572 GB, free: 11.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.4111, allocations: 326.9 kB / 0.5575 GB, free: 11.58 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.988e-05/0.4112, allocations: 27.98 kB / 0.5576 GB, free: 11.55 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.409e-05/0.4112, allocations: 27.98 kB / 0.5576 GB, free: 11.53 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.247e-05/0.4113, allocations: 74.55 kB / 0.5577 GB, free: 11.45 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4113, allocations: 3.953 kB / 0.5577 GB, free: 11.45 MB / 394.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001678/0.4115, allocations: 151.1 kB / 0.5578 GB, free: 11.29 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.282e-05/0.4116, allocations: 45.69 kB / 0.5578 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.4116, allocations: 0 / 0.5578 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.4116, allocations: 0 / 0.5578 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.064e-06/0.4116, allocations: 8.047 kB / 0.5579 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.4116, allocations: 0 / 0.5579 GB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.824e-05/0.4116, allocations: 15.84 kB / 0.5579 GB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.4117, allocations: 4 kB / 0.5579 GB, free: 11.21 MB / 394.7 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.0001218/0.4118, allocations: 159.5 kB / 0.558 GB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.726e-05/0.4118, allocations: 11.86 kB / 0.558 GB, free: 11.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.716e-05/0.4118, allocations: 12.38 kB / 0.558 GB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.4118, allocations: 0 / 0.558 GB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.4119, allocations: 0 / 0.558 GB, free: 11.01 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.4119, allocations: 11.92 kB / 0.5581 GB, free: 11 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001169/0.412, allocations: 165.7 kB / 0.5582 GB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.412, allocations: 0 / 0.5582 GB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.617e-06/0.412, allocations: 7.953 kB / 0.5582 GB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.072e-06/0.412, allocations: 0 / 0.5582 GB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.301e-05/0.412, allocations: 7.984 kB / 0.5582 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.412, allocations: 0 / 0.5582 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.412, allocations: 0 / 0.5582 GB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/0.4123, allocations: 286.5 kB / 0.5585 GB, free: 10.47 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.869e-05/0.4124, allocations: 92.94 kB / 0.5586 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.4124, allocations: 7.953 kB / 0.5586 GB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.893e-05/0.4125, allocations: 4 kB / 0.5586 GB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.891e-05/0.4125, allocations: 0 / 0.5586 GB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.4125, allocations: 4 kB / 0.5586 GB, free: 10.34 MB / 394.7 MB Notification: Performance of sorting global known variables: time 5.027e-05/0.4126, allocations: 91.27 kB / 0.5587 GB, free: 10.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4126, allocations: 0 / 0.5587 GB, free: 10.25 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002111/0.4128, allocations: 28 kB / 0.5587 GB, free: 10.23 MB / 394.7 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.0001977/0.413, allocations: 119.2 kB / 0.5588 GB, free: 10.1 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003105/0.4133, allocations: 291.3 kB / 0.5591 GB, free: 9.805 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4133, allocations: 0 / 0.5591 GB, free: 9.805 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001768/0.4135, allocations: 223.3 kB / 0.5593 GB, free: 9.574 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001399/0.4136, allocations: 11.94 kB / 0.5593 GB, free: 9.562 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004143/0.4141, allocations: 293.5 kB / 0.5596 GB, free: 9.25 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000254/0.4143, allocations: 0.7004 MB / 0.5603 GB, free: 8.523 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.44e-05/0.4143, allocations: 0 / 0.5603 GB, free: 8.523 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.399e-05/0.4144, allocations: 11.44 kB / 0.5603 GB, free: 8.512 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4144, allocations: 0 / 0.5603 GB, free: 8.512 MB / 394.7 MB Notification: Performance of Templates: time 0.003124/0.4175, allocations: 1.178 MB / 0.5615 GB, free: 7.348 MB / 394.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.makefile (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) 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