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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,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=2000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.00106, allocations: 117.7 kB / 17.7 MB, free: 5.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 187 kB / 18.63 MB, free: 4.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1766/0.1766, allocations: 38.04 MB / 330.5 MB, free: 8.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 62.78 kB / 400.3 MB, free: 33.36 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1155, allocations: 58.05 MB / 458.3 MB, free: 7.332 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.009237/0.1248, allocations: 6.683 MB / 465 MB, free: 0.6133 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003747/0.1286, allocations: 2.115 MB / 467.1 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003381/0.1289, allocations: 27.88 kB / 467.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001445/0.1304, allocations: 0.5054 MB / 467.7 MB, free: 13.96 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001181/0.1316, allocations: 0.5717 MB / 468.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008457/0.1324, allocations: 347.3 kB / 468.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001421/0.1339, allocations: 1.294 MB / 469.9 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009421/0.1348, allocations: 0.7363 MB / 470.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007951/0.1356, allocations: 0.541 MB / 471.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000968/0.1366, allocations: 0.7362 MB / 471.9 MB, free: 9.715 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001483/0.1368, allocations: 104 kB / 472 MB, free: 9.613 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001059/0.1378, allocations: 0.5929 MB / 472.6 MB, free: 9.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004444/0.1383, allocations: 486.9 kB / 473 MB, free: 8.543 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005017/0.1388, allocations: 0.5328 MB / 473.6 MB, free: 8.008 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001335/0.1401, allocations: 1.535 MB / 475.1 MB, free: 6.469 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1402, allocations: 0 / 475.1 MB, free: 6.469 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1402, allocations: 0 / 475.1 MB, free: 6.469 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.1402, allocations: 0 / 475.1 MB, free: 6.469 MB / 350.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.002769/0.143, allocations: 1.371 MB / 476.5 MB, free: 5.047 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.143, allocations: 15.89 kB / 476.5 MB, free: 5.031 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007074/0.1437, allocations: 135.8 kB / 476.6 MB, free: 4.898 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001423/0.1452, allocations: 0.692 MB / 477.3 MB, free: 4.164 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002241/0.1454, allocations: 171.6 kB / 477.5 MB, free: 3.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001973/0.1456, allocations: 91.92 kB / 477.6 MB, free: 3.891 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002177/0.1478, allocations: 1.406 MB / 479 MB, free: 2.441 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.993e-05/0.1478, allocations: 7.938 kB / 479 MB, free: 2.434 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.552e-05/0.1479, allocations: 31.97 kB / 479 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002059/0.1482, allocations: 85.95 kB / 479.1 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00259/0.1508, allocations: 1.515 MB / 480.6 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007167/0.1579, allocations: 4.423 MB / 485 MB, free: 12.26 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002209/0.1602, allocations: 1.187 MB / 486.2 MB, free: 11.06 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001339/0.1615, allocations: 0.7778 MB / 487 MB, free: 10.28 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.195e-05/0.1616, allocations: 16.64 kB / 487 MB, free: 10.26 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.613e-05/0.1617, allocations: 47.14 kB / 487.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=101): time 3.196e-06/0.1617, allocations: 4 kB / 487.1 MB, free: 10.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=102): time 0.006755/0.1684, allocations: 3.846 MB / 490.9 MB, free: 6.258 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.628e-05/0.1685, allocations: 90.11 kB / 491 MB, free: 6.152 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004584/0.169, allocations: 397.9 kB / 491.4 MB, free: 5.754 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7e-05/0.1691, allocations: 41.7 kB / 491.4 MB, free: 5.707 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002359/0.1693, allocations: 352.2 kB / 491.8 MB, free: 5.355 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002652/0.1696, allocations: 350.8 kB / 492.1 MB, free: 5.008 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002777/0.1699, allocations: 158.7 kB / 492.3 MB, free: 4.848 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.17, allocations: 378.8 kB / 492.7 MB, free: 4.469 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009969/0.171, allocations: 0.5992 MB / 493.3 MB, free: 3.867 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00111/0.1722, allocations: 0.7386 MB / 494 MB, free: 3.082 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002163/0.1743, allocations: 1.391 MB / 495.4 MB, free: 1.645 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.1744, allocations: 4 kB / 495.4 MB, free: 1.641 MB / 366.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002636/0.177, allocations: 1.596 MB / 497 MB, free: 20 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.177, allocations: 8 kB / 497 MB, free: 12 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.1771, allocations: 7.984 kB / 497 MB, free: 4 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001765/0.1772, allocations: 36.78 kB / 497 MB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002413/0.1797, allocations: 0.4995 MB / 497.5 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006645/0.1863, allocations: 6.69 MB / 0.4924 GB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006908/0.187, allocations: 83.98 kB / 0.4925 GB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-05/0.1871, allocations: 32 kB / 0.4925 GB, free: 8.105 MB / 382.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.0004929/0.1876, allocations: 317.5 kB / 0.4928 GB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001629/0.1878, allocations: 67.16 kB / 0.4929 GB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002779/0.1906, allocations: 1.6 MB / 0.4944 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.86e-05/0.1906, allocations: 31.97 kB / 0.4945 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.1907, allocations: 4 kB / 0.4945 GB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.1907, allocations: 3.984 kB / 0.4945 GB, free: 6.051 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004717/0.1954, allocations: 2.873 MB / 0.4973 GB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.1954, allocations: 0 / 0.4973 GB, free: 3.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00271/0.1981, allocations: 0.5346 MB / 0.4978 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001079/0.1983, allocations: 32.84 kB / 0.4978 GB, free: 2.508 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.279e-05/0.1983, allocations: 23.98 kB / 0.4979 GB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001218/0.1996, allocations: 1.634 MB / 0.4995 GB, free: 0.7148 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/0.1996, allocations: 4 kB / 0.4995 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003915/0.2035, allocations: 2.539 MB / 0.5019 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001555/0.2037, allocations: 144.2 kB / 0.5021 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.2038, allocations: 19.98 kB / 0.5021 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005891/0.2044, allocations: 71.91 kB / 0.5022 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001839/0.2046, allocations: 80.48 kB / 0.5022 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.906e-05/0.2047, allocations: 24 kB / 0.5023 GB, free: 13.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003094/0.205, allocations: 279.1 kB / 0.5025 GB, free: 13.48 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.205, allocations: 3.938 kB / 0.5025 GB, free: 13.47 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000853/0.2058, allocations: 236 kB / 0.5028 GB, free: 13.24 MB / 398.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.0003046/0.2062, allocations: 173.3 kB / 0.5029 GB, free: 13.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004018/0.2102, allocations: 1.829 MB / 0.5047 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.2102, allocations: 0 / 0.5047 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002782/0.213, allocations: 1.198 MB / 0.5059 GB, free: 10.02 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000807/0.2138, allocations: 156.3 kB / 0.506 GB, free: 9.871 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004636/0.2185, allocations: 2.586 MB / 0.5086 GB, free: 7.234 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006429/0.2191, allocations: 1.076 MB / 0.5096 GB, free: 6.129 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006441/0.2198, allocations: 273.6 kB / 0.5099 GB, free: 5.859 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002349/0.22, allocations: 59.42 kB / 0.5099 GB, free: 5.801 MB / 398.1 MB Notification: Performance of SimCode: time 1.913e-06/0.22, allocations: 0 / 0.5099 GB, free: 5.801 MB / 398.1 MB Notification: Performance of Templates: time 0.2307/0.4508, allocations: 10.89 MB / 0.5206 GB, free: 70.35 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.makefile (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 cvode -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.pipe 2>&1) 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) Reference file matches