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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 70.11 kB / 21.24 MB, free: 0.5469 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002178/0.002178, allocations: 157.8 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.528/1.528, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.208/0.208, allocations: 29.43 MB / 290.7 MB, free: 3.273 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003026/0.003026, allocations: 71.89 kB / 431.2 MB, free: 3.211 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4088/0.4118, allocations: 62.44 MB / 493.6 MB, free: 37.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1): time 0.002915/0.4147, allocations: 2.134 MB / 495.8 MB, free: 36.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.000651/0.4154, allocations: 0.5196 MB / 496.3 MB, free: 35.92 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.382e-05/0.4154, allocations: 3.219 kB / 496.3 MB, free: 35.92 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001224/0.4155, allocations: 7.547 kB / 496.3 MB, free: 35.92 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001139/0.4156, allocations: 29.36 kB / 496.3 MB, free: 35.9 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000318/0.416, allocations: 77.28 kB / 496.4 MB, free: 35.88 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000117/0.4161, allocations: 65.12 kB / 496.5 MB, free: 35.85 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.4e-05/0.4161, allocations: 3.938 kB / 496.5 MB, free: 35.85 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.4162, allocations: 35.47 kB / 496.5 MB, free: 35.83 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.142e-05/0.4163, allocations: 34.5 kB / 496.5 MB, free: 35.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.388e-06/0.4163, allocations: 4 kB / 496.5 MB, free: 35.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001882/0.4165, allocations: 106.6 kB / 496.7 MB, free: 35.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.135e-05/0.4165, allocations: 13.94 kB / 496.7 MB, free: 35.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.632e-05/0.4166, allocations: 14.59 kB / 496.7 MB, free: 35.78 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.4167, allocations: 113.3 kB / 496.8 MB, free: 35.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.4167, allocations: 0 / 496.8 MB, free: 35.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4167, allocations: 0 / 496.8 MB, free: 35.75 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.4167, allocations: 0 / 496.8 MB, free: 35.75 MB / 446.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.0003013/0.417, allocations: 322.5 kB / 497.1 MB, free: 35.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.4171, allocations: 13.58 kB / 497.1 MB, free: 35.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.353e-05/0.4171, allocations: 7.953 kB / 497.1 MB, free: 35.43 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.4173, allocations: 132.4 kB / 497.3 MB, free: 35.28 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.4173, allocations: 3.531 kB / 497.3 MB, free: 35.28 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.4173, allocations: 4.125 kB / 497.3 MB, free: 35.28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.4174, allocations: 115.3 kB / 497.4 MB, free: 35.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.4174, allocations: 0 / 497.4 MB, free: 35.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.4174, allocations: 0 / 497.4 MB, free: 35.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.4174, allocations: 0 / 497.4 MB, free: 35.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.15e-05/0.4175, allocations: 78.28 kB / 497.5 MB, free: 35.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001036/0.4176, allocations: 110.9 kB / 497.6 MB, free: 35.03 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.038e-05/0.4177, allocations: 99.89 kB / 497.7 MB, free: 34.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.768e-05/0.4178, allocations: 84.2 kB / 497.7 MB, free: 34.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.215e-06/0.4178, allocations: 3.938 kB / 497.7 MB, free: 34.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.4178, allocations: 41.66 kB / 497.8 MB, free: 34.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=12): time 1.032e-06/0.4178, allocations: 0 / 497.8 MB, free: 34.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002996/0.4181, allocations: 285.3 kB / 498.1 MB, free: 34.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.4181, allocations: 89.95 kB / 498.1 MB, free: 34.61 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.202e-05/0.4182, allocations: 124.3 kB / 498.3 MB, free: 34.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.107e-05/0.4182, allocations: 25.7 kB / 498.3 MB, free: 34.47 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.592e-05/0.4182, allocations: 91.19 kB / 498.4 MB, free: 34.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.079e-05/0.4183, allocations: 38.39 kB / 498.4 MB, free: 34.35 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.4183, allocations: 23.45 kB / 498.4 MB, free: 34.33 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.04e-05/0.4183, allocations: 329.5 kB / 498.8 MB, free: 34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.656e-05/0.4184, allocations: 78.3 kB / 498.8 MB, free: 33.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.564e-05/0.4184, allocations: 75.08 kB / 498.9 MB, free: 33.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001245/0.4186, allocations: 179.8 kB / 499.1 MB, free: 33.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.4186, allocations: 0 / 499.1 MB, free: 33.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001547/0.4187, allocations: 208.8 kB / 499.3 MB, free: 33.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.773e-05/0.4188, allocations: 49.25 kB / 499.3 MB, free: 33.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.4188, allocations: 7.406 kB / 499.4 MB, free: 33.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.4188, allocations: 0 / 499.4 MB, free: 33.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.4188, allocations: 3.938 kB / 499.4 MB, free: 33.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.4188, allocations: 4.062 kB / 499.4 MB, free: 33.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.406e-05/0.4188, allocations: 7.188 kB / 499.4 MB, free: 33.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.594e-05/0.4188, allocations: 3.25 kB / 499.4 MB, free: 33.66 MB / 446.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 8.781e-05/0.4189, allocations: 165.5 kB / 499.5 MB, free: 33.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.616e-05/0.4189, allocations: 14.38 kB / 499.5 MB, free: 33.5 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.376e-05/0.4189, allocations: 7.375 kB / 499.6 MB, free: 33.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.419, allocations: 0 / 499.6 MB, free: 33.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.419, allocations: 0 / 499.6 MB, free: 33.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.419, allocations: 0 / 499.6 MB, free: 33.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.145e-05/0.419, allocations: 117.1 kB / 499.7 MB, free: 33.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.419, allocations: 3.938 kB / 499.7 MB, free: 33.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.419, allocations: 4 kB / 499.7 MB, free: 33.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.419, allocations: 6.844 kB / 499.7 MB, free: 33.36 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.419, allocations: 3.062 kB / 499.7 MB, free: 33.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.419, allocations: 0 / 499.7 MB, free: 33.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.419, allocations: 0 / 499.7 MB, free: 33.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.4193, allocations: 320.6 kB / 500 MB, free: 33.19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.011e-05/0.4193, allocations: 11.08 kB / 0.4883 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.771e-05/0.4193, allocations: 7.125 kB / 0.4883 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.624e-05/0.4193, allocations: 0 / 0.4883 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.294e-05/0.4194, allocations: 3.125 kB / 0.4883 GB, free: 33.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.324e-06/0.4194, allocations: 7.188 kB / 0.4883 GB, free: 33.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.268e-05/0.4194, allocations: 92.42 kB / 0.4884 GB, free: 33.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4194, allocations: 0 / 0.4884 GB, free: 33.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002142/0.4196, allocations: 31.31 kB / 0.4884 GB, free: 33.09 MB / 446.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.0001519/0.4198, allocations: 115.2 kB / 0.4885 GB, free: 33 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002938/0.4201, allocations: 313.8 kB / 0.4888 GB, free: 32.84 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4201, allocations: 0 / 0.4888 GB, free: 32.84 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001165/0.4202, allocations: 183.8 kB / 0.489 GB, free: 32.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003037/0.4205, allocations: 24.95 kB / 0.489 GB, free: 32.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005628/0.421, allocations: 325.1 kB / 0.4893 GB, free: 32.52 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.015e-05/0.4211, allocations: 80.69 kB / 0.4894 GB, free: 32.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.692e-05/0.4211, allocations: 3.375 kB / 0.4894 GB, free: 32.45 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.335e-05/0.4211, allocations: 8.5 kB / 0.4894 GB, free: 32.45 MB / 446.1 MB Notification: Performance of SimCode: time 2.9e-07/0.4211, allocations: 0 / 0.4894 GB, free: 32.45 MB / 446.1 MB Notification: Performance of Templates: time 0.004006/0.4251, allocations: 1.393 MB / 0.4908 GB, free: 32.25 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.makefile [Timeout 660] (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 -s ida -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.208938267896883]