Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.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_matrixEqCirc2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_q.1.|zr_q.2.|zr_q.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001772/0.001779, allocations: 107.3 kB / 16.51 MB, free: 6.715 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.002008/0.002008, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.395/1.395, allocations: 222.9 MB / 241.1 MB, free: 15.34 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1694/0.1694, allocations: 38.04 MB / 329.3 MB, free: 9.039 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 61.45 kB / 398.1 MB, free: 34.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09528/0.09652, allocations: 58.06 MB / 456.2 MB, free: 8.504 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2): time 0.0033/0.09986, allocations: 2.088 MB / 458.3 MB, free: 6.391 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007665/0.1007, allocations: 0.5338 MB / 458.8 MB, free: 5.855 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.936e-05/0.1007, allocations: 0 / 458.8 MB, free: 5.855 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.1009, allocations: 15.86 kB / 458.8 MB, free: 5.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.998e-05/0.101, allocations: 23.91 kB / 458.8 MB, free: 5.816 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002704/0.1012, allocations: 55.86 kB / 458.9 MB, free: 5.762 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001158/0.1014, allocations: 111.8 kB / 459 MB, free: 5.652 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.931e-05/0.1014, allocations: 7.984 kB / 459 MB, free: 5.645 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.498e-05/0.1015, allocations: 23.86 kB / 459 MB, free: 5.621 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.073e-05/0.1016, allocations: 35.84 kB / 459.1 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.278e-06/0.1016, allocations: 0 / 459.1 MB, free: 5.586 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001603/0.1017, allocations: 83.77 kB / 459.1 MB, free: 5.504 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.84e-05/0.1018, allocations: 23.92 kB / 459.2 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.152e-05/0.1019, allocations: 27.75 kB / 459.2 MB, free: 5.453 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.1021, allocations: 139.7 kB / 459.3 MB, free: 5.316 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.1021, allocations: 0 / 459.3 MB, free: 5.316 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.1021, allocations: 0 / 459.3 MB, free: 5.316 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.157e-06/0.1021, allocations: 0 / 459.3 MB, free: 5.316 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.000422/0.1025, allocations: 424.9 kB / 459.7 MB, free: 4.848 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.1026, allocations: 12.03 kB / 459.8 MB, free: 4.836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.179e-05/0.1026, allocations: 16.73 kB / 459.8 MB, free: 4.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000166/0.1028, allocations: 196.1 kB / 460 MB, free: 4.59 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.1028, allocations: 4.375 kB / 460 MB, free: 4.586 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.1028, allocations: 4.125 kB / 460 MB, free: 4.582 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.103, allocations: 85.67 kB / 460 MB, free: 4.492 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.103, allocations: 4 kB / 460.1 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.103, allocations: 0 / 460.1 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.103, allocations: 0 / 460.1 MB, free: 4.488 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.1031, allocations: 59.92 kB / 460.1 MB, free: 4.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001588/0.1033, allocations: 181.5 kB / 460.3 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001008/0.1034, allocations: 102.5 kB / 460.4 MB, free: 4.094 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.824e-05/0.1035, allocations: 87.66 kB / 460.5 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.673e-06/0.1035, allocations: 0 / 460.5 MB, free: 4.008 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.1036, allocations: 30.56 kB / 460.5 MB, free: 3.969 MB / 334.1 MB Notification: Performance of pre-optimization done (n=24): time 8.42e-07/0.1036, allocations: 4 kB / 460.5 MB, free: 3.965 MB / 334.1 MB Notification: Performance of matching and sorting (n=24): time 0.000405/0.104, allocations: 311.4 kB / 460.8 MB, free: 3.648 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.1041, allocations: 97.09 kB / 460.9 MB, free: 3.535 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001011/0.1042, allocations: 132.2 kB / 461 MB, free: 3.398 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.199e-05/0.1042, allocations: 25.7 kB / 461.1 MB, free: 3.367 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.786e-05/0.1043, allocations: 92.58 kB / 461.2 MB, free: 3.273 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.575e-05/0.1043, allocations: 78.75 kB / 461.2 MB, free: 3.195 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.928e-05/0.1044, allocations: 29.7 kB / 461.3 MB, free: 3.16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001692/0.1046, allocations: 326.8 kB / 461.6 MB, free: 2.832 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.797e-05/0.1046, allocations: 56 kB / 461.6 MB, free: 2.777 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.229e-05/0.1047, allocations: 55.98 kB / 461.7 MB, free: 2.723 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/0.1049, allocations: 254.5 kB / 461.9 MB, free: 2.461 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1049, allocations: 0 / 461.9 MB, free: 2.461 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002044/0.1051, allocations: 218.4 kB / 462.1 MB, free: 2.238 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.308e-05/0.1052, allocations: 65.66 kB / 462.2 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1052, allocations: 0 / 462.2 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.1052, allocations: 0 / 462.2 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.61e-07/0.1052, allocations: 0 / 462.2 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.1052, allocations: 3.938 kB / 462.2 MB, free: 2.164 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.295e-05/0.1053, allocations: 23.84 kB / 462.2 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.1053, allocations: 7.984 kB / 462.2 MB, free: 2.133 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 0.0001341/0.1055, allocations: 195.4 kB / 462.4 MB, free: 1.926 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.1055, allocations: 19.81 kB / 462.5 MB, free: 1.906 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.318e-05/0.1055, allocations: 9.172 kB / 462.5 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.1055, allocations: 0 / 462.5 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.1055, allocations: 0 / 462.5 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.1055, allocations: 4 kB / 462.5 MB, free: 1.895 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001202/0.1057, allocations: 201.4 kB / 462.7 MB, free: 1.648 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1057, allocations: 4 kB / 462.7 MB, free: 1.645 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.507e-06/0.1057, allocations: 4 kB / 462.7 MB, free: 1.641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1057, allocations: 7.938 kB / 462.7 MB, free: 1.633 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.1057, allocations: 4 kB / 462.7 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1057, allocations: 0 / 462.7 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1057, allocations: 0 / 462.7 MB, free: 1.629 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000484/0.1062, allocations: 0.5061 MB / 463.2 MB, free: 1.098 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.663e-05/0.1062, allocations: 88.95 kB / 463.3 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.1063, allocations: 8.031 kB / 463.3 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.544e-05/0.1064, allocations: 8 kB / 463.3 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.735e-05/0.1064, allocations: 3.938 kB / 463.3 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.1064, allocations: 4 kB / 463.3 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.643e-05/0.1065, allocations: 107.2 kB / 463.4 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1065, allocations: 0 / 463.4 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002292/0.1067, allocations: 48 kB / 463.5 MB, free: 0.8164 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.0001924/0.1069, allocations: 113.2 kB / 463.6 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000663/0.1076, allocations: 0.6985 MB / 464.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1076, allocations: 0 / 464.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004277/0.108, allocations: 0.5733 MB / 464.8 MB, free: 15.4 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.1082, allocations: 22.27 kB / 464.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000646/0.1089, allocations: 473.7 kB / 465.3 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002731/0.1092, allocations: 0.7202 MB / 466 MB, free: 14.15 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 1.58e-05/0.1092, allocations: 3.938 kB / 466 MB, free: 14.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.028e-05/0.1092, allocations: 7.438 kB / 466.1 MB, free: 14.14 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1092, allocations: 4 kB / 466.1 MB, free: 14.13 MB / 350.1 MB Notification: Performance of Templates: time 0.004635/0.1139, allocations: 1.733 MB / 467.8 MB, free: 12.41 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches