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.001694/0.001694, allocations: 109.8 kB / 16.51 MB, free: 6.707 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.001909/0.001909, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.375/1.375, allocations: 222.9 MB / 241.1 MB, free: 13.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1755/0.1755, allocations: 38.03 MB / 329.3 MB, free: 8.84 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 65.14 kB / 398.1 MB, free: 34.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1259, allocations: 58.06 MB / 456.2 MB, free: 8.496 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.01334/0.1393, allocations: 7.514 MB / 463.7 MB, free: 0.9414 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005201/0.1445, allocations: 2.399 MB / 466.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008874/0.1455, allocations: 39.75 kB / 466.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001477/0.147, allocations: 478.1 kB / 466.6 MB, free: 14.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001354/0.1483, allocations: 0.5176 MB / 467.1 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008862/0.1492, allocations: 315.5 kB / 467.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002067/0.1513, allocations: 1.836 MB / 469.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000911/0.1522, allocations: 0.6346 MB / 469.9 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007908/0.153, allocations: 470.1 kB / 470.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001044/0.1541, allocations: 0.7439 MB / 471.1 MB, free: 9.508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001484/0.1542, allocations: 60 kB / 471.1 MB, free: 9.449 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001207/0.1555, allocations: 0.6161 MB / 471.8 MB, free: 8.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000468/0.1559, allocations: 454.8 kB / 472.2 MB, free: 8.387 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005272/0.1565, allocations: 489.6 kB / 472.7 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00157/0.1581, allocations: 1.476 MB / 474.2 MB, free: 6.426 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.1581, allocations: 0 / 474.2 MB, free: 6.426 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1581, allocations: 0 / 474.2 MB, free: 6.426 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.655e-05/0.1581, allocations: 0 / 474.2 MB, free: 6.426 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.003231/0.1613, allocations: 1.375 MB / 475.5 MB, free: 4.996 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.1614, allocations: 12.03 kB / 475.5 MB, free: 4.984 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007512/0.1622, allocations: 143.7 kB / 475.7 MB, free: 4.844 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/0.1635, allocations: 0.6532 MB / 476.3 MB, free: 4.148 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002255/0.1637, allocations: 171.6 kB / 476.5 MB, free: 3.961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001963/0.1639, allocations: 91.91 kB / 476.6 MB, free: 3.871 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002469/0.1664, allocations: 1.41 MB / 478 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/0.1665, allocations: 0 / 478 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/0.1666, allocations: 35.98 kB / 478 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000233/0.1668, allocations: 77.95 kB / 478.1 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002727/0.1696, allocations: 1.518 MB / 479.6 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00766/0.1772, allocations: 4.443 MB / 484.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002403/0.1797, allocations: 1.19 MB / 485.3 MB, free: 11.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001419/0.1811, allocations: 0.7734 MB / 486 MB, free: 10.24 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.663e-05/0.1812, allocations: 20.62 kB / 486.1 MB, free: 10.22 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.302e-05/0.1813, allocations: 47.16 kB / 486.1 MB, free: 10.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=101): time 3.065e-06/0.1813, allocations: 4 kB / 486.1 MB, free: 10.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=102): time 0.006966/0.1882, allocations: 3.846 MB / 490 MB, free: 6.223 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.949e-05/0.1883, allocations: 86.11 kB / 490 MB, free: 6.121 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004786/0.1888, allocations: 401.9 kB / 490.4 MB, free: 5.719 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.524e-05/0.1889, allocations: 41.64 kB / 490.5 MB, free: 5.672 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002444/0.1891, allocations: 344.3 kB / 490.8 MB, free: 5.328 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002965/0.1894, allocations: 354.8 kB / 491.2 MB, free: 4.977 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002965/0.1897, allocations: 166.6 kB / 491.3 MB, free: 4.809 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.1899, allocations: 378.8 kB / 491.7 MB, free: 4.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/0.191, allocations: 0.5875 MB / 492.3 MB, free: 3.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001126/0.1921, allocations: 0.7425 MB / 493 MB, free: 3.051 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002196/0.1944, allocations: 1.395 MB / 494.4 MB, free: 1.609 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.1944, allocations: 0 / 494.4 MB, free: 1.609 MB / 366.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002818/0.1972, allocations: 1.6 MB / 496 MB, free: 15.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.542e-05/0.1972, allocations: 4 kB / 496 MB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/0.1973, allocations: 4 kB / 496 MB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001667/0.1974, allocations: 45.03 kB / 496.1 MB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002468/0.1999, allocations: 0.4914 MB / 496.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006492/0.2064, allocations: 6.199 MB / 0.491 GB, free: 8.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009369/0.2074, allocations: 83.98 kB / 0.4911 GB, free: 8.621 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.2075, allocations: 39.92 kB / 0.4911 GB, free: 8.582 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.000654/0.2082, allocations: 309.5 kB / 0.4914 GB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002437/0.2084, allocations: 71.09 kB / 0.4915 GB, free: 8.199 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002896/0.2113, allocations: 1.6 MB / 0.493 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-05/0.2114, allocations: 24 kB / 0.493 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.2114, allocations: 0 / 0.493 GB, free: 6.547 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.2114, allocations: 3.984 kB / 0.493 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004685/0.2161, allocations: 2.877 MB / 0.4959 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.2161, allocations: 0 / 0.4959 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002676/0.2188, allocations: 0.5346 MB / 0.4964 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001077/0.2189, allocations: 36.83 kB / 0.4964 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.206e-05/0.219, allocations: 20 kB / 0.4964 GB, free: 2.969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001138/0.2201, allocations: 1.47 MB / 0.4979 GB, free: 1.367 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.2202, allocations: 8.031 kB / 0.4979 GB, free: 1.359 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003941/0.2241, allocations: 2.546 MB / 0.5004 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001821/0.2243, allocations: 140.2 kB / 0.5005 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.2244, allocations: 16 kB / 0.5005 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005933/0.225, allocations: 79.89 kB / 0.5006 GB, free: 14.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002058/0.2252, allocations: 72.48 kB / 0.5007 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.392e-05/0.2253, allocations: 28 kB / 0.5007 GB, free: 14.4 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003179/0.2256, allocations: 279.1 kB / 0.5009 GB, free: 14.13 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2257, allocations: 0 / 0.5009 GB, free: 14.13 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008821/0.2265, allocations: 240 kB / 0.5012 GB, free: 13.89 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.0003335/0.2269, allocations: 175.5 kB / 0.5013 GB, free: 13.72 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004179/0.2311, allocations: 1.825 MB / 0.5031 GB, free: 11.88 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.2311, allocations: 0 / 0.5031 GB, free: 11.88 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002785/0.2339, allocations: 1.198 MB / 0.5043 GB, free: 10.67 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009583/0.2349, allocations: 149.4 kB / 0.5044 GB, free: 10.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005142/0.24, allocations: 2.969 MB / 0.5073 GB, free: 7.504 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000724/0.2408, allocations: 1.076 MB / 0.5084 GB, free: 6.398 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008521/0.2416, allocations: 273.6 kB / 0.5086 GB, free: 6.129 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002505/0.2419, allocations: 59.42 kB / 0.5087 GB, free: 6.07 MB / 398.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2419, allocations: 0 / 0.5087 GB, free: 6.07 MB / 398.1 MB Notification: Performance of Templates: time 0.216/0.4578, allocations: 10.18 MB / 0.5186 GB, free: 69.38 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/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) Reference file matches