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.001491/0.001491, allocations: 99.45 kB / 17.59 MB, free: 5.562 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.001715/0.001715, allocations: 191.3 kB / 18.52 MB, free: 4.637 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.327/1.327, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1705/0.1705, allocations: 38.04 MB / 330.4 MB, free: 8.848 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 66.58 kB / 399.5 MB, free: 34.08 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1146, allocations: 58.06 MB / 457.5 MB, free: 8.078 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.008647/0.1233, allocations: 6.675 MB / 464.2 MB, free: 1.371 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003657/0.127, allocations: 2.122 MB / 466.3 MB, free: 15.24 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004594/0.1274, allocations: 23.88 kB / 466.4 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001587/0.129, allocations: 0.5031 MB / 466.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001475/0.1305, allocations: 0.5755 MB / 467.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008436/0.1314, allocations: 343.3 kB / 467.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001486/0.1329, allocations: 1.294 MB / 469.1 MB, free: 12.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001016/0.1339, allocations: 0.7441 MB / 469.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008928/0.1348, allocations: 0.5333 MB / 470.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001108/0.1359, allocations: 0.7362 MB / 471.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002798/0.1362, allocations: 104 kB / 471.2 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001149/0.1374, allocations: 0.6396 MB / 471.8 MB, free: 9.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005345/0.1379, allocations: 486.8 kB / 472.3 MB, free: 9.254 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007819/0.1387, allocations: 0.5251 MB / 472.8 MB, free: 8.727 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001769/0.1405, allocations: 1.515 MB / 474.3 MB, free: 7.207 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1405, allocations: 0 / 474.3 MB, free: 7.207 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1405, allocations: 8 kB / 474.4 MB, free: 7.199 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.437e-05/0.1406, allocations: 0 / 474.4 MB, free: 7.199 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.003341/0.1439, allocations: 1.368 MB / 475.7 MB, free: 5.781 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.144, allocations: 15.89 kB / 475.7 MB, free: 5.766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008308/0.1448, allocations: 131.8 kB / 475.9 MB, free: 5.637 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001349/0.1462, allocations: 0.6647 MB / 476.5 MB, free: 4.93 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002308/0.1464, allocations: 175.6 kB / 476.7 MB, free: 4.742 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002125/0.1466, allocations: 87.94 kB / 476.8 MB, free: 4.656 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002395/0.149, allocations: 1.406 MB / 478.2 MB, free: 3.207 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.852e-05/0.1491, allocations: 7.938 kB / 478.2 MB, free: 3.199 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.612e-05/0.1492, allocations: 28 kB / 478.2 MB, free: 3.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002162/0.1494, allocations: 85.94 kB / 478.3 MB, free: 3.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002744/0.1522, allocations: 1.518 MB / 479.8 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006938/0.1591, allocations: 4.435 MB / 484.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00231/0.1615, allocations: 1.196 MB / 485.5 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001412/0.1629, allocations: 0.7739 MB / 486.2 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.355e-05/0.163, allocations: 20.64 kB / 486.3 MB, free: 11 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.582e-05/0.163, allocations: 39.22 kB / 486.3 MB, free: 10.95 MB / 366.1 MB Notification: Performance of pre-optimization done (n=101): time 3.466e-06/0.163, allocations: 0 / 486.3 MB, free: 10.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=102): time 0.006933/0.17, allocations: 3.85 MB / 490.1 MB, free: 7.008 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.456e-05/0.17, allocations: 90.05 kB / 490.2 MB, free: 6.902 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004678/0.1705, allocations: 401.9 kB / 490.6 MB, free: 6.5 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.392e-05/0.1706, allocations: 41.69 kB / 490.7 MB, free: 6.453 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002347/0.1708, allocations: 344.3 kB / 491 MB, free: 6.109 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002939/0.1711, allocations: 350.8 kB / 491.3 MB, free: 5.762 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002849/0.1714, allocations: 158.6 kB / 491.5 MB, free: 5.602 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.1716, allocations: 382.8 kB / 491.9 MB, free: 5.219 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/0.1727, allocations: 0.5914 MB / 492.5 MB, free: 4.625 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.1738, allocations: 0.7386 MB / 493.2 MB, free: 3.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002274/0.1761, allocations: 1.395 MB / 494.6 MB, free: 2.398 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.1761, allocations: 3.938 kB / 494.6 MB, free: 2.395 MB / 366.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002825/0.179, allocations: 1.607 MB / 496.2 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.179, allocations: 11.94 kB / 496.2 MB, free: 0.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.179, allocations: 3.938 kB / 496.2 MB, free: 0.7461 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001711/0.1792, allocations: 40.83 kB / 496.3 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002518/0.1817, allocations: 0.4916 MB / 496.8 MB, free: 216 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006963/0.1887, allocations: 6.702 MB / 0.4917 GB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000753/0.1895, allocations: 79.89 kB / 0.4917 GB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001087/0.1896, allocations: 28 kB / 0.4918 GB, free: 8.848 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.0005351/0.1901, allocations: 325.6 kB / 0.4921 GB, free: 8.52 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001953/0.1904, allocations: 67.16 kB / 0.4921 GB, free: 8.453 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002812/0.1932, allocations: 1.592 MB / 0.4937 GB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-05/0.1932, allocations: 27.98 kB / 0.4937 GB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.1932, allocations: 0 / 0.4937 GB, free: 6.805 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.898e-06/0.1933, allocations: 7.984 kB / 0.4937 GB, free: 6.797 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004671/0.1979, allocations: 2.869 MB / 0.4965 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/0.198, allocations: 4 kB / 0.4965 GB, free: 3.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002853/0.2008, allocations: 0.5345 MB / 0.4971 GB, free: 3.285 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001057/0.2009, allocations: 32.84 kB / 0.4971 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.893e-05/0.201, allocations: 27.97 kB / 0.4971 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001254/0.2023, allocations: 1.634 MB / 0.4987 GB, free: 1.453 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.2023, allocations: 3.938 kB / 0.4987 GB, free: 1.449 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00397/0.2063, allocations: 2.538 MB / 0.5012 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/0.2064, allocations: 136.2 kB / 0.5013 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.2066, allocations: 20 kB / 0.5013 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006154/0.2072, allocations: 67.91 kB / 0.5014 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000197/0.2074, allocations: 84.56 kB / 0.5015 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.187e-05/0.2075, allocations: 35.97 kB / 0.5015 GB, free: 14.49 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002962/0.2078, allocations: 279.1 kB / 0.5018 GB, free: 14.21 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2078, allocations: 0 / 0.5018 GB, free: 14.21 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008633/0.2087, allocations: 236 kB / 0.502 GB, free: 13.98 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.0003128/0.209, allocations: 173.2 kB / 0.5022 GB, free: 13.81 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.005246/0.2142, allocations: 2.325 MB / 0.5044 GB, free: 11.48 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.2143, allocations: 0 / 0.5044 GB, free: 11.48 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002949/0.2172, allocations: 1.186 MB / 0.5056 GB, free: 10.28 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008785/0.2181, allocations: 152.4 kB / 0.5057 GB, free: 10.14 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005033/0.2232, allocations: 2.679 MB / 0.5084 GB, free: 7.395 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007415/0.2239, allocations: 1.084 MB / 0.5094 GB, free: 6.281 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003533/0.2243, allocations: 67.42 kB / 0.5095 GB, free: 6.215 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2243, allocations: 4 kB / 0.5095 GB, free: 6.211 MB / 398.1 MB Notification: Performance of Templates: time 0.1899/0.4142, allocations: 23.85 MB / 0.5328 GB, free: 63.55 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 -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