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.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.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001528/0.001528, allocations: 115.2 kB / 16.63 MB, free: 6.812 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.002023/0.002023, allocations: 186 kB / 17.55 MB, free: 5.934 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.495/1.495, allocations: 222.9 MB / 241.2 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.174/0.174, allocations: 38.03 MB / 329.4 MB, free: 9.023 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 55.05 kB / 398.3 MB, free: 34.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1087, allocations: 58.06 MB / 456.3 MB, free: 8.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.009312/0.1181, allocations: 7.097 MB / 463.4 MB, free: 1.289 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003/0.1211, allocations: 1.66 MB / 465.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006161/0.1218, allocations: 39.75 kB / 465.1 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005832/0.1223, allocations: 119.2 kB / 465.3 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001031/0.1234, allocations: 386.4 kB / 465.6 MB, free: 15.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004964/0.1239, allocations: 167.7 kB / 465.8 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00125/0.1252, allocations: 1.091 MB / 466.9 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005917/0.1258, allocations: 348.6 kB / 467.2 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008506/0.1267, allocations: 462.2 kB / 467.7 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001167/0.1279, allocations: 0.5569 MB / 468.2 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001906/0.1281, allocations: 71.94 kB / 468.3 MB, free: 12.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002448/0.1283, allocations: 64 kB / 468.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003638/0.1287, allocations: 311.3 kB / 468.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005539/0.1293, allocations: 366.3 kB / 469 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009178/0.1302, allocations: 0.8333 MB / 469.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1302, allocations: 0 / 469.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1302, allocations: 0 / 469.9 MB, free: 10.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.071e-05/0.1302, allocations: 0 / 469.9 MB, free: 10.84 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002499/0.1328, allocations: 1.004 MB / 470.9 MB, free: 9.785 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.1328, allocations: 12.03 kB / 470.9 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.133, allocations: 72.09 kB / 471 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.1341, allocations: 0.5534 MB / 471.5 MB, free: 9.109 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002005/0.1343, allocations: 120.8 kB / 471.6 MB, free: 8.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001391/0.1344, allocations: 52 kB / 471.7 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001547/0.136, allocations: 0.7694 MB / 472.4 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.983e-05/0.136, allocations: 0 / 472.4 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-05/0.1361, allocations: 20 kB / 472.5 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001255/0.1362, allocations: 36.97 kB / 472.5 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.1377, allocations: 0.7259 MB / 473.2 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004127/0.1418, allocations: 2.604 MB / 475.8 MB, free: 4.645 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001605/0.1434, allocations: 0.8049 MB / 476.6 MB, free: 3.801 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006963/0.1441, allocations: 399.4 kB / 477 MB, free: 3.398 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.631e-05/0.1442, allocations: 8.422 kB / 477 MB, free: 3.391 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.1442, allocations: 43 kB / 477.1 MB, free: 3.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.224e-06/0.1443, allocations: 0 / 477.1 MB, free: 3.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.004205/0.1485, allocations: 2.147 MB / 479.2 MB, free: 1.078 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.1485, allocations: 85.55 kB / 479.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004845/0.149, allocations: 398 kB / 479.7 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.573e-05/0.1491, allocations: 33.7 kB / 479.7 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002313/0.1493, allocations: 288.5 kB / 480 MB, free: 260 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/0.1495, allocations: 177.4 kB / 480.2 MB, free: 80 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001762/0.1497, allocations: 98.16 kB / 480.3 MB, free: 15.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.1498, allocations: 362.8 kB / 480.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005108/0.1503, allocations: 277 kB / 480.9 MB, free: 15.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005888/0.1509, allocations: 381.1 kB / 481.3 MB, free: 14.93 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.1521, allocations: 0.6537 MB / 481.9 MB, free: 14.24 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1521, allocations: 0 / 481.9 MB, free: 14.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001441/0.1535, allocations: 0.8679 MB / 482.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.1535, allocations: 6.406 kB / 482.8 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.1536, allocations: 8 kB / 482.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002623/0.1538, allocations: 85.53 kB / 482.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/0.1553, allocations: 303.5 kB / 483.2 MB, free: 12.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006784/0.1621, allocations: 6.528 MB / 489.7 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004482/0.1625, allocations: 39.98 kB / 489.8 MB, free: 5.812 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.366e-05/0.1626, allocations: 20 kB / 489.8 MB, free: 5.793 MB / 366.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.0003915/0.163, allocations: 248.3 kB / 490 MB, free: 5.543 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.1631, allocations: 55.41 kB / 490.1 MB, free: 5.488 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001533/0.1647, allocations: 0.8281 MB / 490.9 MB, free: 4.625 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.1647, allocations: 4 kB / 490.9 MB, free: 4.621 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.235e-06/0.1647, allocations: 4 kB / 490.9 MB, free: 4.617 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.1647, allocations: 3.984 kB / 490.9 MB, free: 4.613 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002895/0.1676, allocations: 1.673 MB / 492.6 MB, free: 2.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-05/0.1676, allocations: 4 kB / 492.6 MB, free: 2.836 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001567/0.1692, allocations: 323.7 kB / 492.9 MB, free: 2.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002746/0.1695, allocations: 85.64 kB / 493 MB, free: 2.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.736e-05/0.1696, allocations: 15.98 kB / 493 MB, free: 2.414 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002353/0.1719, allocations: 3.169 MB / 496.2 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1719, allocations: 0 / 496.2 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002036/0.174, allocations: 1.316 MB / 497.5 MB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.1741, allocations: 128.5 kB / 497.6 MB, free: 13.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.154e-05/0.1742, allocations: 15.94 kB / 497.6 MB, free: 13.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003634/0.1746, allocations: 35.95 kB / 497.7 MB, free: 13.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/0.1747, allocations: 43.94 kB / 497.7 MB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.681e-05/0.1748, allocations: 20 kB / 497.7 MB, free: 13.33 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003205/0.1751, allocations: 279.1 kB / 498 MB, free: 13.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1751, allocations: 0 / 498 MB, free: 13.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007333/0.1758, allocations: 148 kB / 498.1 MB, free: 12.92 MB / 382.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.0001797/0.176, allocations: 123 kB / 498.3 MB, free: 12.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002945/0.179, allocations: 1.179 MB / 499.4 MB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.182e-06/0.179, allocations: 4 kB / 499.4 MB, free: 11.58 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001925/0.1809, allocations: 0.7981 MB / 0.4885 GB, free: 10.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007625/0.1817, allocations: 142.5 kB / 0.4887 GB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003324/0.185, allocations: 1.827 MB / 0.4904 GB, free: 8.746 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005654/0.1856, allocations: 0.9447 MB / 0.4914 GB, free: 7.773 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004272/0.1861, allocations: 128.7 kB / 0.4915 GB, free: 7.648 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.1862, allocations: 39.44 kB / 0.4915 GB, free: 7.609 MB / 382.1 MB Notification: Performance of SimCode: time 7.72e-07/0.1862, allocations: 0 / 0.4915 GB, free: 7.609 MB / 382.1 MB Notification: Performance of Templates: time 0.01418/0.2004, allocations: 7.738 MB / 0.4991 GB, free: 15.94 MB / 398.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.makefile (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) 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) Reference file matches