Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.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.001867/0.001867, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.002758/0.002758, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.515/1.515, allocations: 177.2 MB / 204.9 MB, free: 9.07 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.1813/0.1813, allocations: 29.42 MB / 290.7 MB, free: 3.316 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.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter_dq0.i.1.|meter_dq0.i.2.|meter_dq0.i.3.|meter_dq0.p.1.|meter_dq0.p.2.|meter_dq0.p.3.|meter_dq0.v.1.|meter_dq0.v.2.|meter_dq0.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron") translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter_dq0.i.1.|meter_dq0.i.2.|meter_dq0.i.3.|meter_dq0.p.1.|meter_dq0.p.2.|meter_dq0.p.3.|meter_dq0.v.1.|meter_dq0.v.2.|meter_dq0.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron") [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.002114/0.002114, allocations: 67.91 kB / 431.2 MB, free: 3.281 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3991/0.4012, allocations: 62.45 MB / 493.6 MB, free: 37.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.008036/0.4092, allocations: 4.33 MB / 497.9 MB, free: 34.85 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003703/0.4129, allocations: 1.396 MB / 499.3 MB, free: 33.94 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003424/0.4133, allocations: 21.47 kB / 499.4 MB, free: 33.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001575/0.4148, allocations: 365.1 kB / 499.7 MB, free: 33.72 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009256/0.4158, allocations: 252.8 kB / 500 MB, free: 33.58 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00111/0.4169, allocations: 252.6 kB / 0.4885 GB, free: 33.47 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008255/0.4177, allocations: 0.5594 MB / 0.489 GB, free: 33.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004641/0.4182, allocations: 215.9 kB / 0.4892 GB, free: 33.14 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005497/0.4187, allocations: 279.4 kB / 0.4895 GB, free: 33.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006989/0.4194, allocations: 364 kB / 0.4899 GB, free: 32.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.447e-05/0.4195, allocations: 38.47 kB / 0.4899 GB, free: 32.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000674/0.4202, allocations: 228.9 kB / 0.4901 GB, free: 32.86 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002932/0.4205, allocations: 244 kB / 0.4903 GB, free: 32.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003188/0.4208, allocations: 218.5 kB / 0.4906 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001002/0.4218, allocations: 0.6792 MB / 0.4912 GB, free: 32.42 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.4218, allocations: 4 kB / 0.4912 GB, free: 32.42 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.4218, allocations: 3.094 kB / 0.4912 GB, free: 32.42 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.009e-05/0.4218, allocations: 0 / 0.4912 GB, free: 32.42 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001954/0.4238, allocations: 0.7093 MB / 0.4919 GB, free: 31.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.4238, allocations: 13.11 kB / 0.4919 GB, free: 31.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00127/0.4251, allocations: 127.8 kB / 0.4921 GB, free: 31.88 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.4262, allocations: 370.2 kB / 0.4924 GB, free: 31.64 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.742e-05/0.4262, allocations: 28.53 kB / 0.4924 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001845/0.4264, allocations: 46.16 kB / 0.4925 GB, free: 31.61 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001384/0.4278, allocations: 0.677 MB / 0.4931 GB, free: 31.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.947e-05/0.4278, allocations: 0 / 0.4931 GB, free: 31.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.156e-05/0.4279, allocations: 22.14 kB / 0.4932 GB, free: 31.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002686/0.4281, allocations: 56.27 kB / 0.4932 GB, free: 31.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001521/0.4297, allocations: 0.6636 MB / 0.4939 GB, free: 31.08 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005404/0.4351, allocations: 2.309 MB / 0.4961 GB, free: 29.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008054/0.4359, allocations: 308.8 kB / 0.4964 GB, free: 29.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004375/0.4363, allocations: 201 kB / 0.4966 GB, free: 29.33 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.976e-05/0.4363, allocations: 3.156 kB / 0.4966 GB, free: 29.33 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.4364, allocations: 41.17 kB / 0.4966 GB, free: 29.29 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 5.34e-06/0.4364, allocations: 4 kB / 0.4966 GB, free: 29.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=43): time 0.003005/0.4394, allocations: 1.285 MB / 0.4979 GB, free: 28.66 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.457e-05/0.4394, allocations: 83.05 kB / 0.498 GB, free: 28.56 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000375/0.4398, allocations: 299.1 kB / 0.4983 GB, free: 28.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.249e-05/0.4398, allocations: 37.62 kB / 0.4983 GB, free: 28.35 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001441/0.44, allocations: 261.5 kB / 0.4986 GB, free: 28.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001274/0.4401, allocations: 155.2 kB / 0.4987 GB, free: 28.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001903/0.4403, allocations: 98.53 kB / 0.4988 GB, free: 27.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.639e-05/0.4404, allocations: 346.8 kB / 0.4991 GB, free: 27.64 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004295/0.4408, allocations: 206.8 kB / 0.4993 GB, free: 27.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004776/0.4413, allocations: 366.4 kB / 0.4997 GB, free: 27.31 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001039/0.4423, allocations: 0.5979 MB / 0.5003 GB, free: 26.95 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.4423, allocations: 4 kB / 0.5003 GB, free: 26.95 MB / 446.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001423/0.4437, allocations: 0.6273 MB / 0.5009 GB, free: 26.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.327e-05/0.4438, allocations: 13.91 kB / 0.5009 GB, free: 26.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.4438, allocations: 6.469 kB / 0.5009 GB, free: 26.69 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.426e-05/0.4438, allocations: 9.766 kB / 0.5009 GB, free: 26.69 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007635/0.4446, allocations: 106.8 kB / 0.501 GB, free: 26.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.761e-05/0.4446, allocations: 10.38 kB / 0.501 GB, free: 26.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004277/0.445, allocations: 27.69 kB / 0.501 GB, free: 26.68 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.597e-05/0.4451, allocations: 19.91 kB / 0.5011 GB, free: 26.67 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 55 * Array equations: 2 * Algorithm blocks: 0 * 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.0002956/0.4454, allocations: 219.1 kB / 0.5013 GB, free: 26.51 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.4455, allocations: 41.48 kB / 0.5013 GB, free: 26.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.4466, allocations: 0.4928 MB / 0.5018 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.165e-05/0.4466, allocations: 10.31 kB / 0.5018 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.4466, allocations: 6.469 kB / 0.5018 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.4467, allocations: 7.406 kB / 0.5018 GB, free: 26.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002435/0.4491, allocations: 0.9803 MB / 0.5028 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.4491, allocations: 0 / 0.5028 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006276/0.4497, allocations: 75.2 kB / 0.5028 GB, free: 25.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-06/0.4497, allocations: 7.062 kB / 0.5028 GB, free: 25.76 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.088e-05/0.4498, allocations: 7.062 kB / 0.5029 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.4498, allocations: 6.203 kB / 0.5029 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.4498, allocations: 7 kB / 0.5029 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001559/0.4513, allocations: 0.8201 MB / 0.5037 GB, free: 25.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.324e-05/0.4514, allocations: 29.89 kB / 0.5037 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.209e-05/0.4515, allocations: 10.66 kB / 0.5037 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003697/0.4519, allocations: 16.97 kB / 0.5037 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.984e-05/0.452, allocations: 20.19 kB / 0.5037 GB, free: 25.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.23e-05/0.452, allocations: 9.438 kB / 0.5037 GB, free: 25.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002688/0.4523, allocations: 208.9 kB / 0.5039 GB, free: 25.19 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4523, allocations: 0 / 0.5039 GB, free: 25.19 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008818/0.4531, allocations: 110.2 kB / 0.5041 GB, free: 25.18 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003173/0.4535, allocations: 134.4 kB / 0.5042 GB, free: 25.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001074/0.4545, allocations: 483.6 kB / 0.5046 GB, free: 24.93 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.4545, allocations: 0 / 0.5046 GB, free: 24.93 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004458/0.455, allocations: 200.1 kB / 0.5048 GB, free: 24.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008427/0.4558, allocations: 64.17 kB / 0.5049 GB, free: 24.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002367/0.4582, allocations: 1.126 MB / 0.506 GB, free: 24.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/0.4586, allocations: 272 kB / 0.5063 GB, free: 24.12 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005197/0.4591, allocations: 129.1 kB / 0.5064 GB, free: 24.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.4593, allocations: 40.75 kB / 0.5064 GB, free: 24.08 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.4593, allocations: 0 / 0.5064 GB, free: 24.08 MB / 446.1 MB Notification: Performance of Templates: time 0.01456/0.4738, allocations: 3.78 MB / 0.5101 GB, free: 23.64 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.ReferenceSynchron.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.ReferenceSynchron.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.283332881052047]