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.001512/0.001512, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001789/0.001789, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.614/1.614, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.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.1868/0.1868, allocations: 38.55 MB / 352.5 MB, free: 12.28 MB / 286.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.002055/0.002055, allocations: 60.19 kB / 493 MB, free: 4.172 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.3989, allocations: 62.47 MB / 0.5424 GB, free: 404 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.009028/0.408, allocations: 6.424 MB / 0.5487 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004191/0.4121, allocations: 2.014 MB / 0.5507 GB, free: 9.957 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004849/0.4126, allocations: 36.03 kB / 0.5507 GB, free: 9.938 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00161/0.4142, allocations: 0.5007 MB / 0.5512 GB, free: 9.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001683/0.4159, allocations: 0.5653 MB / 0.5517 GB, free: 9.113 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.417, allocations: 361 kB / 0.5521 GB, free: 8.848 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001747/0.4187, allocations: 1.293 MB / 0.5533 GB, free: 8.109 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008827/0.4196, allocations: 0.5274 MB / 0.5539 GB, free: 7.754 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001078/0.4207, allocations: 0.5713 MB / 0.5544 GB, free: 7.422 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001151/0.4219, allocations: 0.7512 MB / 0.5552 GB, free: 6.988 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001887/0.422, allocations: 105.5 kB / 0.5553 GB, free: 6.988 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00121/0.4233, allocations: 0.6012 MB / 0.5558 GB, free: 6.418 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005447/0.4238, allocations: 486.8 kB / 0.5563 GB, free: 5.941 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005462/0.4243, allocations: 454.2 kB / 0.5567 GB, free: 5.496 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00184/0.4262, allocations: 1.553 MB / 0.5583 GB, free: 3.938 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.4262, allocations: 0 / 0.5583 GB, free: 3.938 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4262, allocations: 0 / 0.5583 GB, free: 3.938 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.237e-05/0.4262, allocations: 0 / 0.5583 GB, free: 3.938 MB / 398.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.003132/0.4293, allocations: 1.322 MB / 0.5595 GB, free: 2.578 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.4294, allocations: 23.92 kB / 0.5596 GB, free: 2.555 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009256/0.4303, allocations: 176.2 kB / 0.5597 GB, free: 2.383 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/0.4319, allocations: 0.6229 MB / 0.5603 GB, free: 1.73 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000422/0.4323, allocations: 329.8 kB / 0.5607 GB, free: 1.352 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002212/0.4325, allocations: 87.92 kB / 0.5607 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002594/0.4351, allocations: 1.41 MB / 0.5621 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.888e-05/0.4352, allocations: 0 / 0.5621 GB, free: 15.82 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.722e-05/0.4353, allocations: 31.98 kB / 0.5622 GB, free: 15.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002293/0.4355, allocations: 81.95 kB / 0.5622 GB, free: 15.7 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00293/0.4384, allocations: 1.518 MB / 0.5637 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009705/0.4481, allocations: 3.997 MB / 0.5676 GB, free: 10.09 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002563/0.4507, allocations: 1.104 MB / 0.5687 GB, free: 8.969 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001401/0.4521, allocations: 0.717 MB / 0.5694 GB, free: 8.25 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.519e-05/0.4522, allocations: 8.656 kB / 0.5694 GB, free: 8.238 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.404e-05/0.4522, allocations: 47.2 kB / 0.5694 GB, free: 8.184 MB / 414.1 MB Notification: Performance of pre-optimization done (n=101): time 4.809e-06/0.4522, allocations: 0 / 0.5694 GB, free: 8.184 MB / 414.1 MB Notification: Performance of matching and sorting (n=102): time 0.007861/0.4601, allocations: 3.638 MB / 0.573 GB, free: 4.508 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.32e-05/0.4602, allocations: 90.11 kB / 0.5731 GB, free: 4.402 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004735/0.4607, allocations: 349.6 kB / 0.5734 GB, free: 4.055 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.677e-05/0.4607, allocations: 45.73 kB / 0.5735 GB, free: 4.004 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003188/0.461, allocations: 357 kB / 0.5738 GB, free: 3.648 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003571/0.4614, allocations: 368.8 kB / 0.5742 GB, free: 3.285 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003032/0.4617, allocations: 158.7 kB / 0.5743 GB, free: 3.125 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002251/0.4619, allocations: 374.8 kB / 0.5747 GB, free: 2.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/0.463, allocations: 0.5836 MB / 0.5752 GB, free: 2.164 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/0.4643, allocations: 0.7502 MB / 0.576 GB, free: 1.371 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002465/0.4668, allocations: 1.391 MB / 0.5773 GB, free: 15.93 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.4668, allocations: 0 / 0.5773 GB, free: 15.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002954/0.4698, allocations: 1.521 MB / 0.5788 GB, free: 14.39 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.4698, allocations: 8 kB / 0.5788 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.4698, allocations: 3.938 kB / 0.5788 GB, free: 14.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001821/0.47, allocations: 40.84 kB / 0.5789 GB, free: 14.34 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002559/0.4725, allocations: 0.4955 MB / 0.5793 GB, free: 13.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00745/0.48, allocations: 6.177 MB / 0.5854 GB, free: 7.262 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008658/0.4808, allocations: 87.98 kB / 0.5855 GB, free: 7.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.481, allocations: 35.98 kB / 0.5855 GB, free: 7.145 MB / 430.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.0006009/0.4816, allocations: 317.4 kB / 0.5858 GB, free: 6.824 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001845/0.4817, allocations: 59.62 kB / 0.5859 GB, free: 6.766 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003196/0.4849, allocations: 1.513 MB / 0.5873 GB, free: 5.246 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.135e-05/0.485, allocations: 31.92 kB / 0.5874 GB, free: 5.215 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.485, allocations: 0 / 0.5874 GB, free: 5.215 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/0.485, allocations: 7.984 kB / 0.5874 GB, free: 5.207 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004884/0.4899, allocations: 2.532 MB / 0.5898 GB, free: 2.609 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/0.4899, allocations: 4 kB / 0.5898 GB, free: 2.605 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002883/0.4928, allocations: 0.5307 MB / 0.5904 GB, free: 2.074 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001247/0.4929, allocations: 44.91 kB / 0.5904 GB, free: 2.027 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.505e-05/0.493, allocations: 20 kB / 0.5904 GB, free: 2.008 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001399/0.4944, allocations: 1.504 MB / 0.5919 GB, free: 416 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.4944, allocations: 4 kB / 0.5919 GB, free: 412 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004437/0.4988, allocations: 2.457 MB / 0.5943 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001821/0.499, allocations: 63.5 kB / 0.5944 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001105/0.4991, allocations: 27.92 kB / 0.5944 GB, free: 13.81 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006082/0.4997, allocations: 71.91 kB / 0.5945 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002039/0.4999, allocations: 80.44 kB / 0.5945 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.186e-05/0.5, allocations: 24 kB / 0.5946 GB, free: 13.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003077/0.5003, allocations: 239.2 kB / 0.5948 GB, free: 13.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5003, allocations: 0 / 0.5948 GB, free: 13.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0009467/0.5012, allocations: 239.9 kB / 0.595 GB, free: 13.17 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.0003508/0.5016, allocations: 164.6 kB / 0.5952 GB, free: 13 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004582/0.5062, allocations: 1.759 MB / 0.5969 GB, free: 11.23 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.5062, allocations: 0 / 0.5969 GB, free: 11.23 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003245/0.5094, allocations: 1.139 MB / 0.598 GB, free: 10.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009811/0.5104, allocations: 147.1 kB / 0.5981 GB, free: 9.934 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00587/0.5163, allocations: 2.603 MB / 0.6007 GB, free: 7.277 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006762/0.5169, allocations: 494 kB / 0.6012 GB, free: 6.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00089/0.5178, allocations: 261.1 kB / 0.6014 GB, free: 6.512 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002984/0.5181, allocations: 59.42 kB / 0.6015 GB, free: 6.453 MB / 446.1 MB Notification: Performance of SimCode: time 1.433e-06/0.5181, allocations: 0 / 0.6015 GB, free: 6.453 MB / 446.1 MB Notification: Performance of Templates: time 0.02245/0.5406, allocations: 11.12 MB / 0.6123 GB, free: 11.45 MB / 462.1 MB " [Timeout remaining time 659] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Inverters.Rectifier.mat","/var/lib/jenkins/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.823231400921941]