Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.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.001555/0.001555, allocations: 73.72 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.002133/0.002133, allocations: 160.3 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.551/1.551, allocations: 177.2 MB / 204.9 MB, free: 8.996 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.2185/0.2185, allocations: 29.43 MB / 290.7 MB, free: 3.262 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.Inverters.Rectifier,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p_av.1.|meterAC.p_av.2.|meterAC.p_av.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p_av.1.|meterAC.p_av.2.|meterAC.p_av.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier") [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.003154/0.003154, allocations: 59.91 kB / 431.2 MB, free: 3.211 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3434/0.3465, allocations: 62.44 MB / 493.6 MB, free: 37.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.00645/0.353, allocations: 6.416 MB / 0.4883 GB, free: 33.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003459/0.3564, allocations: 2.021 MB / 0.4903 GB, free: 32.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004182/0.3568, allocations: 35.25 kB / 0.4903 GB, free: 32.14 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001277/0.3581, allocations: 0.4915 MB / 0.4908 GB, free: 31.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001089/0.3592, allocations: 0.5697 MB / 0.4914 GB, free: 31.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000825/0.36, allocations: 363.6 kB / 0.4917 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001235/0.3613, allocations: 1.295 MB / 0.493 GB, free: 30.82 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006612/0.3619, allocations: 0.5276 MB / 0.4935 GB, free: 30.56 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007338/0.3627, allocations: 0.5666 MB / 0.4941 GB, free: 30.31 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008508/0.3635, allocations: 0.756 MB / 0.4948 GB, free: 30.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001407/0.3637, allocations: 105.2 kB / 0.4949 GB, free: 30.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008889/0.3645, allocations: 0.5977 MB / 0.4955 GB, free: 29.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003748/0.3649, allocations: 489.2 kB / 0.496 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003936/0.3653, allocations: 455.5 kB / 0.4964 GB, free: 29.54 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001181/0.3665, allocations: 1.551 MB / 0.4979 GB, free: 29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3665, allocations: 4 kB / 0.4979 GB, free: 29 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3665, allocations: 0 / 0.4979 GB, free: 29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.517e-05/0.3665, allocations: 0 / 0.4979 GB, free: 29 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.002638/0.3692, allocations: 1.324 MB / 0.4992 GB, free: 28.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.3692, allocations: 13.42 kB / 0.4992 GB, free: 28.25 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008693/0.3701, allocations: 176.9 kB / 0.4994 GB, free: 28.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.3712, allocations: 0.6268 MB / 0.5 GB, free: 27.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002236/0.3714, allocations: 335.1 kB / 0.5003 GB, free: 27.52 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001766/0.3716, allocations: 85.19 kB / 0.5004 GB, free: 27.49 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001899/0.3735, allocations: 1.403 MB / 0.5018 GB, free: 26.94 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.904e-05/0.3736, allocations: 0 / 0.5018 GB, free: 26.94 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.759e-05/0.3736, allocations: 37.83 kB / 0.5018 GB, free: 26.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001992/0.3738, allocations: 77.91 kB / 0.5019 GB, free: 26.9 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00221/0.376, allocations: 1.518 MB / 0.5034 GB, free: 26.43 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005591/0.3816, allocations: 4.042 MB / 0.5073 GB, free: 24.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001891/0.3835, allocations: 1.12 MB / 0.5084 GB, free: 23.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001078/0.3846, allocations: 0.7017 MB / 0.5091 GB, free: 23.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.93e-05/0.3847, allocations: 17.44 kB / 0.5091 GB, free: 23.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.3847, allocations: 43.86 kB / 0.5091 GB, free: 23.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=101): time 2.885e-06/0.3847, allocations: 0 / 0.5091 GB, free: 23.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=102): time 0.006849/0.3916, allocations: 3.64 MB / 0.5127 GB, free: 22.05 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.3916, allocations: 87.17 kB / 0.5128 GB, free: 21.95 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003895/0.392, allocations: 352.2 kB / 0.5131 GB, free: 21.77 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.568e-05/0.392, allocations: 41.3 kB / 0.5132 GB, free: 21.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/0.3923, allocations: 352.6 kB / 0.5135 GB, free: 21.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003153/0.3926, allocations: 366.7 kB / 0.5138 GB, free: 21.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003479/0.3929, allocations: 162.6 kB / 0.514 GB, free: 21.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001683/0.3931, allocations: 374.5 kB / 0.5144 GB, free: 20.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001268/0.3944, allocations: 0.5938 MB / 0.5149 GB, free: 20.56 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001441/0.3958, allocations: 0.7473 MB / 0.5157 GB, free: 20.22 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002763/0.3986, allocations: 1.381 MB / 0.517 GB, free: 19.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/0.3986, allocations: 1.812 kB / 0.517 GB, free: 19.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003081/0.4017, allocations: 1.525 MB / 0.5185 GB, free: 19.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.4017, allocations: 5.188 kB / 0.5185 GB, free: 19.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/0.4017, allocations: 5.406 kB / 0.5185 GB, free: 19.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001882/0.4019, allocations: 47.39 kB / 0.5186 GB, free: 19.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00269/0.4046, allocations: 0.4975 MB / 0.519 GB, free: 19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005781/0.4104, allocations: 6.178 MB / 0.5251 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009101/0.4113, allocations: 87.03 kB / 0.5252 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001817/0.4115, allocations: 29.78 kB / 0.5252 GB, free: 13.5 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (104): * Single equations (assignments): 97 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007293/0.4122, allocations: 322.1 kB / 0.5255 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002579/0.4124, allocations: 65.14 kB / 0.5256 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003107/0.4155, allocations: 1.51 MB / 0.527 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.031e-05/0.4156, allocations: 31.42 kB / 0.5271 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.4156, allocations: 1.469 kB / 0.5271 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.647e-05/0.4156, allocations: 4.266 kB / 0.5271 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005034/0.4206, allocations: 2.54 MB / 0.5295 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/0.4207, allocations: 2.094 kB / 0.5295 GB, free: 11.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002965/0.4236, allocations: 0.5295 MB / 0.5301 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000148/0.4238, allocations: 42.33 kB / 0.5301 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001085/0.4239, allocations: 22.27 kB / 0.5301 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001101/0.425, allocations: 1.504 MB / 0.5316 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.425, allocations: 3.5 kB / 0.5316 GB, free: 10.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00568/0.4307, allocations: 2.46 MB / 0.534 GB, free: 9.094 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002731/0.4309, allocations: 61.61 kB / 0.5341 GB, free: 9.055 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001926/0.4311, allocations: 29.52 kB / 0.5341 GB, free: 9.035 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007268/0.4319, allocations: 69.78 kB / 0.5342 GB, free: 9.023 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002604/0.4321, allocations: 82.91 kB / 0.5342 GB, free: 9.008 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.875e-05/0.4322, allocations: 32.81 kB / 0.5343 GB, free: 8.996 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003274/0.4325, allocations: 241.3 kB / 0.5345 GB, free: 8.863 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4325, allocations: 0 / 0.5345 GB, free: 8.863 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001357/0.4339, allocations: 236.7 kB / 0.5347 GB, free: 8.836 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * 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 (86): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004119/0.4343, allocations: 162.8 kB / 0.5349 GB, free: 8.715 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004721/0.439, allocations: 1.762 MB / 0.5366 GB, free: 8.184 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.439, allocations: 1.438 kB / 0.5366 GB, free: 8.184 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003147/0.4422, allocations: 1.133 MB / 0.5377 GB, free: 7.824 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001026/0.4432, allocations: 136.7 kB / 0.5378 GB, free: 7.762 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005396/0.4486, allocations: 2.611 MB / 0.5404 GB, free: 6.473 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007154/0.4493, allocations: 487.6 kB / 0.5408 GB, free: 6.324 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007963/0.4501, allocations: 254.3 kB / 0.5411 GB, free: 6.301 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002695/0.4504, allocations: 58.53 kB / 0.5411 GB, free: 6.289 MB / 446.1 MB Notification: Performance of SimCode: time 1.463e-06/0.4504, allocations: 9.375 kB / 0.5412 GB, free: 6.281 MB / 446.1 MB Notification: Performance of Templates: time 0.01747/0.4679, allocations: 10.06 MB / 0.551 GB, free: 14.13 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Inverters.Rectifier.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.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.681580484029837]