Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.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.001406/0.001406, allocations: 69.33 kB / 21.24 MB, free: 0.5547 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.001406/0.001406, allocations: 163.9 kB / 24.5 MB, free: 3.711 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.562/1.562, allocations: 177.2 MB / 204.9 MB, free: 9.023 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.1842/0.1842, allocations: 29.43 MB / 290.7 MB, free: 3.27 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.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source") translateModel(PowerSystems.Examples.AC3ph.Elementary.Source,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source") [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.00212/0.00212, allocations: 59.91 kB / 431.2 MB, free: 3.211 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3768/0.379, allocations: 62.44 MB / 493.6 MB, free: 37.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Source): time 0.004887/0.3838, allocations: 4.316 MB / 497.9 MB, free: 34.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002084/0.3859, allocations: 1.473 MB / 499.4 MB, free: 33.88 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001782/0.3861, allocations: 25.38 kB / 499.4 MB, free: 33.86 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00077/0.3869, allocations: 281 kB / 499.7 MB, free: 33.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005026/0.3874, allocations: 285.4 kB / 500 MB, free: 33.54 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005872/0.388, allocations: 253.7 kB / 0.4885 GB, free: 33.43 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005061/0.3885, allocations: 0.6082 MB / 0.4891 GB, free: 33.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002935/0.3888, allocations: 200.9 kB / 0.4893 GB, free: 33.08 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003416/0.3891, allocations: 286.2 kB / 0.4896 GB, free: 32.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004384/0.3895, allocations: 376.6 kB / 0.4899 GB, free: 32.85 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.881e-05/0.3896, allocations: 40.53 kB / 0.49 GB, free: 32.85 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003868/0.39, allocations: 234.9 kB / 0.4902 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001833/0.3902, allocations: 237.4 kB / 0.4904 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001966/0.3904, allocations: 207 kB / 0.4906 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006392/0.391, allocations: 0.6872 MB / 0.4913 GB, free: 32.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.391, allocations: 0 / 0.4913 GB, free: 32.35 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.391, allocations: 0 / 0.4913 GB, free: 32.35 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.391, allocations: 3 kB / 0.4913 GB, free: 32.35 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001293/0.3923, allocations: 0.7124 MB / 0.492 GB, free: 31.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.3924, allocations: 13.39 kB / 0.492 GB, free: 31.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007626/0.3931, allocations: 132.8 kB / 0.4921 GB, free: 31.8 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006033/0.3937, allocations: 360.6 kB / 0.4925 GB, free: 31.57 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/0.3937, allocations: 26.5 kB / 0.4925 GB, free: 31.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.3939, allocations: 53.03 kB / 0.4926 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008554/0.3947, allocations: 0.692 MB / 0.4932 GB, free: 31.23 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/0.3948, allocations: 0 / 0.4932 GB, free: 31.23 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.745e-05/0.3948, allocations: 22.02 kB / 0.4933 GB, free: 31.21 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002121/0.395, allocations: 63.38 kB / 0.4933 GB, free: 31.21 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008159/0.3958, allocations: 0.6703 MB / 0.494 GB, free: 31 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002644/0.3985, allocations: 2.415 MB / 0.4963 GB, free: 29.37 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003865/0.3989, allocations: 293 kB / 0.4966 GB, free: 29.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002318/0.3991, allocations: 191.1 kB / 0.4968 GB, free: 29.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.167e-05/0.3991, allocations: 6.219 kB / 0.4968 GB, free: 29.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.3992, allocations: 41.81 kB / 0.4968 GB, free: 29.11 MB / 446.1 MB Notification: Performance of pre-optimization done (n=39): time 2.184e-06/0.3992, allocations: 0 / 0.4968 GB, free: 29.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=40): time 0.001767/0.4009, allocations: 1.24 MB / 0.498 GB, free: 28.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.401, allocations: 83.67 kB / 0.4981 GB, free: 28.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.4012, allocations: 272.6 kB / 0.4984 GB, free: 28.25 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.4012, allocations: 32.77 kB / 0.4984 GB, free: 28.22 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.4013, allocations: 266.8 kB / 0.4987 GB, free: 28 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.899e-05/0.4014, allocations: 140.3 kB / 0.4988 GB, free: 27.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.4015, allocations: 86.84 kB / 0.4989 GB, free: 27.84 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.032e-05/0.4016, allocations: 346.6 kB / 0.4992 GB, free: 27.51 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.4018, allocations: 186.6 kB / 0.4994 GB, free: 27.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002709/0.4021, allocations: 331.9 kB / 0.4997 GB, free: 27.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005652/0.4026, allocations: 0.5582 MB / 0.5003 GB, free: 26.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.4026, allocations: 7.094 kB / 0.5003 GB, free: 26.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001015/0.4036, allocations: 0.6734 MB / 0.5009 GB, free: 26.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.4037, allocations: 10.02 kB / 0.5009 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006549/0.4043, allocations: 483.3 kB / 0.5014 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003688/0.4047, allocations: 115.5 kB / 0.5015 GB, free: 26.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002807/0.405, allocations: 86.11 kB / 0.5016 GB, free: 26.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001976/0.4069, allocations: 3.003 MB / 0.5045 GB, free: 23.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002422/0.4072, allocations: 31.28 kB / 0.5045 GB, free: 23.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.81e-05/0.4072, allocations: 18.33 kB / 0.5046 GB, free: 23.73 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (45): * Single equations (assignments): 41 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002405/0.4075, allocations: 221.5 kB / 0.5048 GB, free: 23.56 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.397e-05/0.4076, allocations: 36.05 kB / 0.5048 GB, free: 23.54 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005919/0.4081, allocations: 462.4 kB / 0.5053 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/0.4082, allocations: 9.406 kB / 0.5053 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.344e-06/0.4082, allocations: 3.469 kB / 0.5053 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.4082, allocations: 7.312 kB / 0.5053 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001114/0.4093, allocations: 0.8958 MB / 0.5061 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.4093, allocations: 0 / 0.5061 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003162/0.4096, allocations: 66.59 kB / 0.5062 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.4096, allocations: 3.156 kB / 0.5062 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.4096, allocations: 10.64 kB / 0.5062 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.4096, allocations: 3.062 kB / 0.5062 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.4096, allocations: 0 / 0.5062 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007052/0.4103, allocations: 0.7533 MB / 0.507 GB, free: 22.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.4105, allocations: 63.59 kB / 0.507 GB, free: 22.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.802e-05/0.4105, allocations: 7.062 kB / 0.507 GB, free: 22.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.4107, allocations: 20.03 kB / 0.507 GB, free: 22.47 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.747e-05/0.4107, allocations: 20.09 kB / 0.5071 GB, free: 22.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.351e-05/0.4108, allocations: 16.94 kB / 0.5071 GB, free: 22.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001399/0.4109, allocations: 189 kB / 0.5073 GB, free: 22.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4109, allocations: 0 / 0.5073 GB, free: 22.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004794/0.4114, allocations: 115.6 kB / 0.5074 GB, free: 22.33 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.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 (30): * Single equations (assignments): 27 * 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.0001996/0.4116, allocations: 139.6 kB / 0.5075 GB, free: 22.22 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008547/0.4124, allocations: 0.6819 MB / 0.5082 GB, free: 21.86 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4124, allocations: 0 / 0.5082 GB, free: 21.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002199/0.4127, allocations: 201.3 kB / 0.5084 GB, free: 21.79 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004902/0.4132, allocations: 73.38 kB / 0.5084 GB, free: 21.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/0.4145, allocations: 1.119 MB / 0.5095 GB, free: 21.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002227/0.4148, allocations: 271.1 kB / 0.5098 GB, free: 21.03 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002248/0.415, allocations: 107.3 kB / 0.5099 GB, free: 21.01 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.661e-05/0.4151, allocations: 30.97 kB / 0.5099 GB, free: 21 MB / 446.1 MB Notification: Performance of SimCode: time 4.91e-07/0.4151, allocations: 3.062 kB / 0.5099 GB, free: 21 MB / 446.1 MB Notification: Performance of Templates: time 0.008639/0.4237, allocations: 4.226 MB / 0.514 GB, free: 20.52 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Source.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Source.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.414091899059713]