Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.001821/0.001821, allocations: 73.02 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.002021/0.002021, allocations: 159.2 kB / 24.5 MB, free: 3.715 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.5/1.5, allocations: 177.2 MB / 204.9 MB, free: 9.008 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.1766/0.1766, allocations: 29.42 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.ImpedanceYD,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.ImpedanceYD") translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,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.ImpedanceYD") [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.003027/0.003027, allocations: 67.89 kB / 431.2 MB, free: 3.207 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.3988, allocations: 62.44 MB / 493.6 MB, free: 37.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.005723/0.4045, allocations: 4.456 MB / 498.1 MB, free: 34.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002259/0.4067, allocations: 1.5 MB / 499.6 MB, free: 33.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000203/0.4069, allocations: 21.47 kB / 499.6 MB, free: 33.8 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008226/0.4078, allocations: 281.6 kB / 499.9 MB, free: 33.64 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000511/0.4083, allocations: 271.3 kB / 0.4884 GB, free: 33.49 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006294/0.4089, allocations: 265 kB / 0.4887 GB, free: 33.38 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005627/0.4095, allocations: 0.6083 MB / 0.4893 GB, free: 33.12 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003517/0.4098, allocations: 215.8 kB / 0.4895 GB, free: 33.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003681/0.4102, allocations: 285.8 kB / 0.4898 GB, free: 32.9 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004277/0.4106, allocations: 343 kB / 0.4901 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.733e-05/0.4107, allocations: 31.69 kB / 0.4901 GB, free: 32.79 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003043/0.411, allocations: 152.7 kB / 0.4903 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001934/0.4112, allocations: 224.3 kB / 0.4905 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001917/0.4114, allocations: 208.2 kB / 0.4907 GB, free: 32.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000567/0.4119, allocations: 0.6078 MB / 0.4913 GB, free: 32.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4119, allocations: 0 / 0.4913 GB, free: 32.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.4119, allocations: 0 / 0.4913 GB, free: 32.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.4119, allocations: 0 / 0.4913 GB, free: 32.34 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001272/0.4132, allocations: 0.7127 MB / 0.492 GB, free: 31.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.4133, allocations: 12.98 kB / 0.492 GB, free: 31.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007491/0.414, allocations: 130.3 kB / 0.4921 GB, free: 31.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005625/0.4146, allocations: 358.8 kB / 0.4924 GB, free: 31.54 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/0.4146, allocations: 32.56 kB / 0.4925 GB, free: 31.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.4147, allocations: 54.47 kB / 0.4925 GB, free: 31.51 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007319/0.4155, allocations: 0.6585 MB / 0.4932 GB, free: 31.15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/0.4155, allocations: 7.031 kB / 0.4932 GB, free: 31.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.098e-05/0.4155, allocations: 22.28 kB / 0.4932 GB, free: 31.13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001401/0.4157, allocations: 48.42 kB / 0.4932 GB, free: 31.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006341/0.4163, allocations: 491.4 kB / 0.4937 GB, free: 30.97 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002414/0.4187, allocations: 2.917 MB / 0.4966 GB, free: 28.62 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004025/0.4191, allocations: 230.9 kB / 0.4968 GB, free: 28.51 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/0.4193, allocations: 118.5 kB / 0.4969 GB, free: 28.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.86e-05/0.4193, allocations: 7.156 kB / 0.4969 GB, free: 28.45 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.4193, allocations: 41.69 kB / 0.4969 GB, free: 28.41 MB / 446.1 MB Notification: Performance of pre-optimization done (n=23): time 1.513e-06/0.4193, allocations: 0 / 0.4969 GB, free: 28.41 MB / 446.1 MB Notification: Performance of matching and sorting (n=24): time 0.001254/0.4206, allocations: 0.8245 MB / 0.4977 GB, free: 27.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.4206, allocations: 80.14 kB / 0.4978 GB, free: 27.84 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/0.4209, allocations: 345.8 kB / 0.4982 GB, free: 27.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.4209, allocations: 29.7 kB / 0.4982 GB, free: 27.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.421, allocations: 301 kB / 0.4985 GB, free: 27.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.987e-05/0.4211, allocations: 90.89 kB / 0.4986 GB, free: 27.31 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.936e-05/0.4212, allocations: 88.25 kB / 0.4986 GB, free: 27.26 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.49e-05/0.4213, allocations: 350.9 kB / 0.499 GB, free: 26.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001672/0.4214, allocations: 128.2 kB / 0.4991 GB, free: 26.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002278/0.4217, allocations: 325.3 kB / 0.4994 GB, free: 26.61 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004482/0.4221, allocations: 0.4958 MB / 0.4999 GB, free: 26.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.4221, allocations: 0 / 0.4999 GB, free: 26.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009015/0.423, allocations: 0.5951 MB / 0.5005 GB, free: 25.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.423, allocations: 10.41 kB / 0.5005 GB, free: 25.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005213/0.4236, allocations: 331.9 kB / 0.5008 GB, free: 25.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004139/0.424, allocations: 118.3 kB / 0.5009 GB, free: 25.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002672/0.4242, allocations: 85.83 kB / 0.501 GB, free: 25.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001984/0.4262, allocations: 3.016 MB / 0.5039 GB, free: 23.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002266/0.4264, allocations: 21.78 kB / 0.504 GB, free: 23.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.925e-05/0.4265, allocations: 23.94 kB / 0.504 GB, free: 23.12 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (48): * Single equations (assignments): 46 * Array equations: 0 * 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.0001711/0.4266, allocations: 213.1 kB / 0.5042 GB, free: 22.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.2e-05/0.4267, allocations: 31.94 kB / 0.5042 GB, free: 22.95 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004204/0.4271, allocations: 317.7 kB / 0.5045 GB, free: 22.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.935e-06/0.4271, allocations: 3.188 kB / 0.5045 GB, free: 22.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.4271, allocations: 3.594 kB / 0.5045 GB, free: 22.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.4271, allocations: 3.469 kB / 0.5045 GB, free: 22.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008511/0.428, allocations: 0.6785 MB / 0.5052 GB, free: 22.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.428, allocations: 0 / 0.5052 GB, free: 22.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002941/0.4283, allocations: 70.34 kB / 0.5053 GB, free: 22.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.4283, allocations: 3.094 kB / 0.5053 GB, free: 22.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.191e-05/0.4283, allocations: 6.969 kB / 0.5053 GB, free: 22.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.4283, allocations: 10.84 kB / 0.5053 GB, free: 22.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.4283, allocations: 0 / 0.5053 GB, free: 22.38 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004955/0.4288, allocations: 0.5005 MB / 0.5058 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.815e-05/0.4289, allocations: 54.83 kB / 0.5058 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.616e-05/0.4289, allocations: 10.3 kB / 0.5058 GB, free: 22.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000167/0.4291, allocations: 6.875 kB / 0.5058 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/0.4291, allocations: 27.45 kB / 0.5059 GB, free: 22.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.4292, allocations: 10.28 kB / 0.5059 GB, free: 22.04 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001579/0.4293, allocations: 222.2 kB / 0.5061 GB, free: 21.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4293, allocations: 0 / 0.5061 GB, free: 21.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004362/0.4298, allocations: 100.8 kB / 0.5062 GB, free: 21.91 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.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 (27): * Single equations (assignments): 26 * Array equations: 0 * 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 9.288e-05/0.4298, allocations: 107.5 kB / 0.5063 GB, free: 21.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007216/0.4306, allocations: 0.5729 MB / 0.5068 GB, free: 21.46 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.4306, allocations: 0 / 0.5068 GB, free: 21.46 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.4307, allocations: 119.7 kB / 0.507 GB, free: 21.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004774/0.4312, allocations: 61.73 kB / 0.507 GB, free: 21.41 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.4324, allocations: 0.9975 MB / 0.508 GB, free: 20.81 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.4326, allocations: 271 kB / 0.5082 GB, free: 20.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002358/0.4329, allocations: 112.6 kB / 0.5084 GB, free: 20.69 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.905e-05/0.433, allocations: 37.61 kB / 0.5084 GB, free: 20.67 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.433, allocations: 0 / 0.5084 GB, free: 20.67 MB / 446.1 MB Notification: Performance of Templates: time 0.007858/0.4408, allocations: 3.864 MB / 0.5122 GB, free: 20.2 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.292458891053684]