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.001447/0.001447, allocations: 112.5 kB / 17.68 MB, free: 5.496 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.001612/0.001612, allocations: 190.9 kB / 18.62 MB, free: 4.562 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.367/1.367, allocations: 222.9 MB / 242.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1753/0.1753, allocations: 38.04 MB / 330.5 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 65.55 kB / 400.3 MB, free: 33.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0985/0.09981, allocations: 58.06 MB / 458.3 MB, free: 7.309 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.008025/0.1079, allocations: 6.686 MB / 465 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003571/0.1115, allocations: 2.126 MB / 467.1 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000464/0.112, allocations: 23.88 kB / 467.1 MB, free: 14.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001545/0.1135, allocations: 0.5043 MB / 467.7 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001334/0.1149, allocations: 0.5639 MB / 468.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008289/0.1157, allocations: 351.3 kB / 468.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001326/0.117, allocations: 1.294 MB / 469.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008561/0.1179, allocations: 0.7402 MB / 470.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006921/0.1186, allocations: 0.541 MB / 471.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000849/0.1195, allocations: 0.7362 MB / 471.9 MB, free: 9.688 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001322/0.1196, allocations: 104 kB / 472 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000871/0.1205, allocations: 0.589 MB / 472.6 MB, free: 8.996 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004424/0.1209, allocations: 486.9 kB / 473 MB, free: 8.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000505/0.1215, allocations: 0.5289 MB / 473.6 MB, free: 7.988 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001376/0.1228, allocations: 1.538 MB / 475.1 MB, free: 6.445 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1229, allocations: 8 kB / 475.1 MB, free: 6.438 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1229, allocations: 0 / 475.1 MB, free: 6.438 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.513e-05/0.1229, allocations: 0 / 475.1 MB, free: 6.438 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.002783/0.1257, allocations: 1.367 MB / 476.5 MB, free: 5.023 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.1257, allocations: 15.89 kB / 476.5 MB, free: 5.008 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006729/0.1264, allocations: 139.8 kB / 476.6 MB, free: 4.871 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.1278, allocations: 0.692 MB / 477.3 MB, free: 4.137 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002214/0.128, allocations: 175.6 kB / 477.5 MB, free: 3.949 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001986/0.1283, allocations: 83.94 kB / 477.6 MB, free: 3.867 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002336/0.1306, allocations: 1.402 MB / 479 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.02e-05/0.1306, allocations: 7.922 kB / 479 MB, free: 2.414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.503e-05/0.1307, allocations: 39.92 kB / 479 MB, free: 2.375 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002082/0.131, allocations: 81.95 kB / 479.1 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002527/0.1335, allocations: 1.515 MB / 480.6 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006938/0.1404, allocations: 4.419 MB / 485 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00216/0.1426, allocations: 1.192 MB / 486.2 MB, free: 11.03 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001232/0.1439, allocations: 0.7817 MB / 487 MB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.311e-05/0.144, allocations: 8.656 kB / 487 MB, free: 10.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.223e-05/0.144, allocations: 47.2 kB / 487.1 MB, free: 10.18 MB / 366.1 MB Notification: Performance of pre-optimization done (n=101): time 3.075e-06/0.144, allocations: 0 / 487.1 MB, free: 10.18 MB / 366.1 MB Notification: Performance of matching and sorting (n=102): time 0.009699/0.1537, allocations: 3.846 MB / 490.9 MB, free: 6.238 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.401e-05/0.1538, allocations: 90.14 kB / 491 MB, free: 6.133 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006816/0.1545, allocations: 401.9 kB / 491.4 MB, free: 5.73 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001024/0.1546, allocations: 45.69 kB / 491.4 MB, free: 5.68 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003076/0.155, allocations: 340.2 kB / 491.8 MB, free: 5.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004136/0.1554, allocations: 358.8 kB / 492.1 MB, free: 4.984 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004465/0.1558, allocations: 158.7 kB / 492.3 MB, free: 4.824 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003409/0.1562, allocations: 374.8 kB / 492.6 MB, free: 4.449 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001624/0.1578, allocations: 0.5992 MB / 493.2 MB, free: 3.848 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001804/0.1596, allocations: 0.7464 MB / 494 MB, free: 3.055 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003489/0.1632, allocations: 1.387 MB / 495.4 MB, free: 1.621 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.1632, allocations: 0 / 495.4 MB, free: 1.621 MB / 366.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.004631/0.1678, allocations: 1.603 MB / 497 MB, free: 15.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.901e-05/0.1679, allocations: 11.94 kB / 497 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.231e-05/0.1679, allocations: 4 kB / 497 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002751/0.1682, allocations: 40.78 kB / 497 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004909/0.1731, allocations: 0.4956 MB / 497.5 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01168/0.1849, allocations: 6.69 MB / 0.4924 GB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001355/0.1862, allocations: 79.89 kB / 0.4925 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001481/0.1864, allocations: 32.09 kB / 0.4925 GB, free: 8.082 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.0008292/0.1873, allocations: 313.5 kB / 0.4928 GB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003023/0.1876, allocations: 67.16 kB / 0.4929 GB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004954/0.1926, allocations: 1.604 MB / 0.4944 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-05/0.1926, allocations: 24 kB / 0.4945 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.1927, allocations: 0 / 0.4945 GB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.866e-05/0.1927, allocations: 7.984 kB / 0.4945 GB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008513/0.2012, allocations: 2.877 MB / 0.4973 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.081e-05/0.2013, allocations: 0 / 0.4973 GB, free: 3.059 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005238/0.2065, allocations: 0.5268 MB / 0.4978 GB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001925/0.2067, allocations: 40.84 kB / 0.4978 GB, free: 2.488 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001327/0.2069, allocations: 23.98 kB / 0.4979 GB, free: 2.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002053/0.209, allocations: 1.63 MB / 0.4994 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.648e-06/0.209, allocations: 4 kB / 0.4994 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007588/0.2166, allocations: 2.551 MB / 0.5019 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003554/0.217, allocations: 132.3 kB / 0.5021 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002384/0.2173, allocations: 23.98 kB / 0.5021 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001174/0.2185, allocations: 75.91 kB / 0.5022 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000349/0.2188, allocations: 76.48 kB / 0.5022 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001374/0.219, allocations: 28 kB / 0.5023 GB, free: 13.73 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005841/0.2196, allocations: 275.1 kB / 0.5025 GB, free: 13.46 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.2196, allocations: 0 / 0.5025 GB, free: 13.46 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001487/0.2211, allocations: 240.1 kB / 0.5028 GB, free: 13.22 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.0005239/0.2216, allocations: 174.9 kB / 0.5029 GB, free: 13.04 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007734/0.2294, allocations: 1.829 MB / 0.5047 GB, free: 11.21 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.2294, allocations: 0 / 0.5047 GB, free: 11.21 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0056/0.235, allocations: 1.206 MB / 0.5059 GB, free: 9.988 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001512/0.2366, allocations: 149.6 kB / 0.506 GB, free: 9.844 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00914/0.2457, allocations: 2.587 MB / 0.5086 GB, free: 7.207 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00115/0.2469, allocations: 1.076 MB / 0.5096 GB, free: 6.102 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001479/0.2484, allocations: 269.6 kB / 0.5099 GB, free: 5.836 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004648/0.2489, allocations: 59.42 kB / 0.5099 GB, free: 5.777 MB / 398.1 MB Notification: Performance of SimCode: time 1.512e-06/0.2489, allocations: 0 / 0.5099 GB, free: 5.777 MB / 398.1 MB Notification: Performance of Templates: time 0.2608/0.5098, allocations: 10.9 MB / 0.5206 GB, free: 70.29 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 gbode -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