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.001065/0.001065, allocations: 115.4 kB / 17.69 MB, free: 5.098 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.001019/0.001019, allocations: 191 kB / 18.63 MB, free: 4.25 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.303/1.303, allocations: 222.9 MB / 242.3 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.203/0.203, allocations: 38.04 MB / 330.5 MB, free: 8.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001608/0.001609, allocations: 63.3 kB / 400.3 MB, free: 33.38 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1164, allocations: 58.06 MB / 458.3 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.007749/0.1242, allocations: 6.254 MB / 464.6 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002566/0.1268, allocations: 1.422 MB / 466 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004243/0.1272, allocations: 23.88 kB / 466 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005246/0.1278, allocations: 146.9 kB / 466.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009372/0.1287, allocations: 410 kB / 466.6 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004763/0.1292, allocations: 199.6 kB / 466.8 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001258/0.1305, allocations: 1.079 MB / 467.8 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004873/0.131, allocations: 356.5 kB / 468.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007323/0.1318, allocations: 470.2 kB / 468.7 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009347/0.1327, allocations: 0.5218 MB / 469.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001829/0.1329, allocations: 64 kB / 469.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002147/0.1331, allocations: 64 kB / 469.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000366/0.1335, allocations: 307.2 kB / 469.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005903/0.1341, allocations: 362.4 kB / 470 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009711/0.1351, allocations: 0.8488 MB / 470.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.1351, allocations: 0 / 470.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.1351, allocations: 4 kB / 470.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.653e-05/0.1351, allocations: 0 / 470.8 MB, free: 10.81 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.002457/0.1376, allocations: 0.9959 MB / 471.8 MB, free: 9.762 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.79e-05/0.1377, allocations: 8.031 kB / 471.8 MB, free: 9.754 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/0.1378, allocations: 72.09 kB / 471.9 MB, free: 9.684 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.139, allocations: 0.5808 MB / 472.5 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001613/0.1392, allocations: 120.8 kB / 472.6 MB, free: 8.934 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.1393, allocations: 52 kB / 472.6 MB, free: 8.883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/0.1408, allocations: 0.7733 MB / 473.4 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.1408, allocations: 4 kB / 473.4 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.629e-05/0.1409, allocations: 24 kB / 473.4 MB, free: 8.047 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001328/0.141, allocations: 40.97 kB / 473.5 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001386/0.1424, allocations: 0.722 MB / 474.2 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003834/0.1463, allocations: 2.593 MB / 476.8 MB, free: 4.598 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/0.1478, allocations: 0.8076 MB / 477.6 MB, free: 3.754 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006351/0.1485, allocations: 406.5 kB / 478 MB, free: 3.348 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.592e-05/0.1485, allocations: 12.36 kB / 478 MB, free: 3.336 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.1486, allocations: 39 kB / 478 MB, free: 3.289 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 1.914e-06/0.1486, allocations: 0 / 478 MB, free: 3.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.004333/0.1529, allocations: 2.139 MB / 480.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.899e-05/0.153, allocations: 81.55 kB / 480.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004807/0.1535, allocations: 398 kB / 480.6 MB, free: 0.5391 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.628e-05/0.1536, allocations: 41.64 kB / 480.7 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/0.1538, allocations: 284.5 kB / 481 MB, free: 216 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001732/0.154, allocations: 181.4 kB / 481.1 MB, free: 32 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000184/0.1541, allocations: 94.25 kB / 481.2 MB, free: 15.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.1543, allocations: 362.8 kB / 481.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005699/0.1549, allocations: 272.9 kB / 481.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005988/0.1555, allocations: 389.1 kB / 482.2 MB, free: 14.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/0.1566, allocations: 0.6499 MB / 482.9 MB, free: 14.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.1566, allocations: 4 kB / 482.9 MB, free: 14.19 MB / 366.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001488/0.1581, allocations: 0.8681 MB / 483.8 MB, free: 13.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.1582, allocations: 12 kB / 483.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.1582, allocations: 0 / 483.8 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000262/0.1585, allocations: 77.66 kB / 483.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001459/0.1599, allocations: 307.5 kB / 484.1 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005869/0.1658, allocations: 6.532 MB / 490.7 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004478/0.1663, allocations: 39.95 kB / 490.7 MB, free: 5.766 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.257e-05/0.1663, allocations: 20 kB / 490.7 MB, free: 5.746 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.0003538/0.1667, allocations: 246.5 kB / 491 MB, free: 5.496 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.522e-05/0.1668, allocations: 51.38 kB / 491 MB, free: 5.445 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001493/0.1683, allocations: 0.828 MB / 491.9 MB, free: 4.582 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.1683, allocations: 8 kB / 491.9 MB, free: 4.574 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1683, allocations: 0 / 491.9 MB, free: 4.574 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-06/0.1683, allocations: 3.984 kB / 491.9 MB, free: 4.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002817/0.1712, allocations: 1.67 MB / 493.5 MB, free: 2.801 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.1712, allocations: 0 / 493.5 MB, free: 2.801 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001559/0.1727, allocations: 331.7 kB / 493.9 MB, free: 2.477 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002537/0.173, allocations: 85.55 kB / 493.9 MB, free: 2.387 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.701e-05/0.1731, allocations: 19.98 kB / 494 MB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002094/0.1752, allocations: 3.161 MB / 497.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1752, allocations: 4.062 kB / 497.1 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002017/0.1772, allocations: 1.314 MB / 498.4 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.1774, allocations: 124.6 kB / 498.6 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.915e-05/0.1774, allocations: 11.94 kB / 498.6 MB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003552/0.1778, allocations: 39.95 kB / 498.6 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.1779, allocations: 47.88 kB / 498.7 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.59e-05/0.178, allocations: 20 kB / 498.7 MB, free: 13.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002972/0.1783, allocations: 275.1 kB / 498.9 MB, free: 13.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1783, allocations: 0 / 498.9 MB, free: 13.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006694/0.179, allocations: 148 kB / 499.1 MB, free: 12.88 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.0001447/0.1791, allocations: 119.1 kB / 499.2 MB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002564/0.1817, allocations: 1.089 MB / 0.4886 GB, free: 11.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1817, allocations: 0 / 0.4886 GB, free: 11.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001897/0.1836, allocations: 0.806 MB / 0.4894 GB, free: 10.81 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007422/0.1844, allocations: 135.5 kB / 0.4895 GB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003085/0.1875, allocations: 1.592 MB / 0.491 GB, free: 9.039 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005928/0.1881, allocations: 0.9486 MB / 0.492 GB, free: 8.062 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003813/0.1885, allocations: 124.7 kB / 0.4921 GB, free: 7.941 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.1886, allocations: 43.42 kB / 0.4921 GB, free: 7.898 MB / 382.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1886, allocations: 4 kB / 0.4921 GB, free: 7.895 MB / 382.1 MB Notification: Performance of Templates: time 0.01381/0.2024, allocations: 7.809 MB / 0.4998 GB, free: 160 kB / 382.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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.mat","/var/lib/jenkins1/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