Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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.001533/0.001533, allocations: 111.1 kB / 20.44 MB, free: 1.324 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.002107/0.002107, allocations: 208.7 kB / 23.72 MB, free: 4.496 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.617/1.617, 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.1903/0.1903, allocations: 38.54 MB / 352.5 MB, free: 12.34 MB / 286.1 MB " [Timeout remaining time 179] 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.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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.003198/0.003198, allocations: 71.89 kB / 493 MB, free: 4.211 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4305/0.4337, allocations: 62.47 MB / 0.5424 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.01083/0.4445, allocations: 6.005 MB / 0.5483 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00372/0.4482, allocations: 1.372 MB / 0.5496 GB, free: 10.79 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003512/0.4486, allocations: 33.66 kB / 0.5497 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006485/0.4492, allocations: 142.2 kB / 0.5498 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001073/0.4503, allocations: 408.3 kB / 0.5502 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006778/0.451, allocations: 198.1 kB / 0.5504 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001553/0.4525, allocations: 1.084 MB / 0.5514 GB, free: 9.559 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004521/0.453, allocations: 221.7 kB / 0.5516 GB, free: 9.426 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001085/0.4541, allocations: 494 kB / 0.5521 GB, free: 9.145 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001074/0.4551, allocations: 0.5344 MB / 0.5526 GB, free: 8.844 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001957/0.4553, allocations: 64.91 kB / 0.5527 GB, free: 8.844 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002529/0.4556, allocations: 65.16 kB / 0.5528 GB, free: 8.844 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005723/0.4562, allocations: 311.9 kB / 0.5531 GB, free: 8.641 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005078/0.4567, allocations: 306.3 kB / 0.5534 GB, free: 8.461 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001416/0.4581, allocations: 0.8548 MB / 0.5542 GB, free: 7.879 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.011e-05/0.4581, allocations: 1.062 kB / 0.5542 GB, free: 7.879 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.045e-06/0.4581, allocations: 0 / 0.5542 GB, free: 7.879 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.531e-05/0.4581, allocations: 0 / 0.5542 GB, free: 7.879 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002542/0.4607, allocations: 0.9443 MB / 0.5551 GB, free: 7.18 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/0.4607, allocations: 12.98 kB / 0.5551 GB, free: 7.176 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001914/0.4609, allocations: 77.2 kB / 0.5552 GB, free: 7.105 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.4622, allocations: 0.5156 MB / 0.5557 GB, free: 6.562 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002873/0.4625, allocations: 223.6 kB / 0.5559 GB, free: 6.309 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001176/0.4626, allocations: 52 kB / 0.556 GB, free: 6.258 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001512/0.4641, allocations: 0.7733 MB / 0.5567 GB, free: 5.449 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.047e-05/0.4641, allocations: 4 kB / 0.5567 GB, free: 5.445 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.275e-05/0.4642, allocations: 23.98 kB / 0.5567 GB, free: 5.422 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001224/0.4643, allocations: 36.92 kB / 0.5568 GB, free: 5.387 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001521/0.4658, allocations: 0.7181 MB / 0.5575 GB, free: 4.668 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004594/0.4704, allocations: 2.328 MB / 0.5598 GB, free: 2.27 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001582/0.472, allocations: 0.6944 MB / 0.5604 GB, free: 1.559 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006944/0.4727, allocations: 373.4 kB / 0.5608 GB, free: 1.188 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.184e-05/0.4728, allocations: 8.438 kB / 0.5608 GB, free: 1.176 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/0.4728, allocations: 35 kB / 0.5608 GB, free: 1.133 MB / 398.1 MB Notification: Performance of pre-optimization done (n=50): time 2.875e-06/0.4728, allocations: 0 / 0.5608 GB, free: 1.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=51): time 0.004712/0.4775, allocations: 1.855 MB / 0.5626 GB, free: 15.24 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.735e-05/0.4776, allocations: 85.48 kB / 0.5627 GB, free: 15.14 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004942/0.4781, allocations: 369.6 kB / 0.5631 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.844e-05/0.4781, allocations: 33.7 kB / 0.5631 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000249/0.4784, allocations: 293 kB / 0.5634 GB, free: 14.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001862/0.4786, allocations: 186.4 kB / 0.5636 GB, free: 14.25 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001797/0.4788, allocations: 98.34 kB / 0.5637 GB, free: 14.15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002097/0.479, allocations: 358.8 kB / 0.564 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005552/0.4795, allocations: 273.2 kB / 0.5643 GB, free: 13.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006284/0.4801, allocations: 385.9 kB / 0.5646 GB, free: 13.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.4813, allocations: 0.645 MB / 0.5653 GB, free: 12.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4813, allocations: 4 kB / 0.5653 GB, free: 12.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001566/0.4829, allocations: 0.7993 MB / 0.566 GB, free: 11.6 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.4829, allocations: 7.938 kB / 0.5661 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.4829, allocations: 4 kB / 0.5661 GB, free: 11.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002822/0.4832, allocations: 73.67 kB / 0.5661 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/0.4847, allocations: 307.7 kB / 0.5664 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006561/0.4913, allocations: 6.023 MB / 0.5723 GB, free: 4.781 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005853/0.4919, allocations: 39.95 kB / 0.5723 GB, free: 4.742 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.123e-05/0.4919, allocations: 19.98 kB / 0.5724 GB, free: 4.723 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004723/0.4924, allocations: 247 kB / 0.5726 GB, free: 4.473 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.4925, allocations: 47.67 kB / 0.5726 GB, free: 4.426 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001594/0.4941, allocations: 0.7449 MB / 0.5734 GB, free: 3.672 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.627e-06/0.4941, allocations: 8 kB / 0.5734 GB, free: 3.664 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.4941, allocations: 3.938 kB / 0.5734 GB, free: 3.66 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.4941, allocations: 7.984 kB / 0.5734 GB, free: 3.652 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002914/0.497, allocations: 1.438 MB / 0.5748 GB, free: 2.152 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.135e-06/0.4971, allocations: 4 kB / 0.5748 GB, free: 2.148 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001651/0.4987, allocations: 323.7 kB / 0.5751 GB, free: 1.832 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002983/0.499, allocations: 85.62 kB / 0.5752 GB, free: 1.742 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.681e-05/0.499, allocations: 16 kB / 0.5752 GB, free: 1.727 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002561/0.5016, allocations: 2.905 MB / 0.578 GB, free: 14.62 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.5016, allocations: 4.031 kB / 0.578 GB, free: 14.61 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002211/0.5038, allocations: 1.239 MB / 0.5793 GB, free: 13.33 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001549/0.504, allocations: 47.7 kB / 0.5793 GB, free: 13.28 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.894e-05/0.504, allocations: 16 kB / 0.5793 GB, free: 13.27 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003605/0.5044, allocations: 35.95 kB / 0.5793 GB, free: 13.23 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001453/0.5046, allocations: 51.91 kB / 0.5794 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.036e-05/0.5046, allocations: 16 kB / 0.5794 GB, free: 13.16 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003266/0.5049, allocations: 255.1 kB / 0.5797 GB, free: 12.92 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5049, allocations: 3.938 kB / 0.5797 GB, free: 12.91 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007787/0.5057, allocations: 148 kB / 0.5798 GB, free: 12.77 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001837/0.5059, allocations: 111.1 kB / 0.5799 GB, free: 12.65 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002898/0.5088, allocations: 1.061 MB / 0.5809 GB, free: 11.56 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.185e-05/0.5088, allocations: 4 kB / 0.5809 GB, free: 11.56 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002058/0.5109, allocations: 0.7826 MB / 0.5817 GB, free: 10.75 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008214/0.5117, allocations: 113.5 kB / 0.5818 GB, free: 10.64 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003859/0.5155, allocations: 1.615 MB / 0.5834 GB, free: 8.98 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005258/0.5161, allocations: 344.8 kB / 0.5837 GB, free: 8.613 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004702/0.5165, allocations: 120.5 kB / 0.5838 GB, free: 8.492 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/0.5167, allocations: 55.3 kB / 0.5839 GB, free: 8.438 MB / 430.1 MB Notification: Performance of SimCode: time 1.433e-06/0.5167, allocations: 0 / 0.5839 GB, free: 8.438 MB / 430.1 MB Notification: Performance of Templates: time 0.01735/0.5341, allocations: 8.187 MB / 0.5919 GB, free: 360 kB / 430.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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.870077546685934]