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.001542/0.001542, allocations: 100.7 kB / 17.59 MB, free: 5.422 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.001697/0.001697, allocations: 195.2 kB / 18.52 MB, free: 4.504 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.345/1.345, allocations: 222.9 MB / 242.2 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1841/0.1841, allocations: 38.04 MB / 330.4 MB, free: 8.836 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 65.52 kB / 399.5 MB, free: 34.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0879/0.0892, allocations: 58.06 MB / 457.5 MB, free: 8.051 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.007523/0.09677, allocations: 6.251 MB / 463.8 MB, free: 1.766 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002464/0.09927, allocations: 1.422 MB / 465.2 MB, free: 348 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004352/0.09973, allocations: 27.88 kB / 465.2 MB, free: 320 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005432/0.1003, allocations: 142.9 kB / 465.4 MB, free: 176 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001034/0.1014, allocations: 410 kB / 465.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005097/0.1019, allocations: 199.6 kB / 466 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001237/0.1032, allocations: 1.083 MB / 467.1 MB, free: 14.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004703/0.1037, allocations: 356.6 kB / 467.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007765/0.1044, allocations: 458.3 kB / 467.9 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009178/0.1054, allocations: 0.5218 MB / 468.4 MB, free: 13.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001782/0.1056, allocations: 64 kB / 468.4 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002239/0.1058, allocations: 71.88 kB / 468.5 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003535/0.1062, allocations: 307.3 kB / 468.8 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005502/0.1067, allocations: 358.4 kB / 469.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008578/0.1076, allocations: 0.8372 MB / 470 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1076, allocations: 4 kB / 470 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.1076, allocations: 4 kB / 470 MB, free: 11.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.498e-05/0.1077, allocations: 0 / 470 MB, free: 11.54 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.002243/0.1099, allocations: 0.9997 MB / 471 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.11, allocations: 8.031 kB / 471 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001692/0.1101, allocations: 72.09 kB / 471.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009963/0.1111, allocations: 0.5458 MB / 471.6 MB, free: 9.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001661/0.1113, allocations: 120.8 kB / 471.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.1114, allocations: 52 kB / 471.8 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/0.1127, allocations: 0.7733 MB / 472.6 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.1128, allocations: 3.938 kB / 472.6 MB, free: 8.828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.911e-05/0.1128, allocations: 24 kB / 472.6 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001084/0.113, allocations: 40.95 kB / 472.6 MB, free: 8.766 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001423/0.1144, allocations: 0.722 MB / 473.4 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003712/0.1181, allocations: 2.604 MB / 476 MB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001581/0.1197, allocations: 0.801 MB / 476.8 MB, free: 4.504 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006613/0.1204, allocations: 403.4 kB / 477.2 MB, free: 4.098 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.259e-05/0.1204, allocations: 8.438 kB / 477.2 MB, free: 4.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.1205, allocations: 35 kB / 477.2 MB, free: 4.047 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.545e-06/0.1205, allocations: 4 kB / 477.2 MB, free: 4.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.004058/0.1245, allocations: 2.139 MB / 479.3 MB, free: 1.793 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.1246, allocations: 81.55 kB / 479.4 MB, free: 1.691 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004237/0.125, allocations: 402 kB / 479.8 MB, free: 1.289 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.697e-05/0.1251, allocations: 33.64 kB / 479.9 MB, free: 1.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.1253, allocations: 292.5 kB / 480.1 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001417/0.1254, allocations: 189.3 kB / 480.3 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.1256, allocations: 94.25 kB / 480.4 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1257, allocations: 358.8 kB / 480.8 MB, free: 320 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00054/0.1263, allocations: 268.9 kB / 481 MB, free: 52 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006085/0.1269, allocations: 385.2 kB / 481.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.128, allocations: 0.6498 MB / 482.1 MB, free: 14.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.1281, allocations: 4 kB / 482.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001528/0.1296, allocations: 0.8797 MB / 482.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.1296, allocations: 8 kB / 482.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.1296, allocations: 0 / 482.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002573/0.1299, allocations: 73.67 kB / 483 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001575/0.1315, allocations: 315.6 kB / 483.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005831/0.1373, allocations: 6.532 MB / 489.9 MB, free: 6.543 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004508/0.1378, allocations: 39.95 kB / 489.9 MB, free: 6.504 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.207e-05/0.1379, allocations: 20.09 kB / 489.9 MB, free: 6.484 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.0003225/0.1382, allocations: 246.5 kB / 490.2 MB, free: 6.234 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.911e-05/0.1383, allocations: 47.44 kB / 490.2 MB, free: 6.188 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001564/0.1399, allocations: 0.828 MB / 491 MB, free: 5.324 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/0.1399, allocations: 8 kB / 491 MB, free: 5.316 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.1399, allocations: 0 / 491 MB, free: 5.316 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.1399, allocations: 3.984 kB / 491 MB, free: 5.312 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002687/0.1426, allocations: 1.677 MB / 492.7 MB, free: 3.539 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.1426, allocations: 0 / 492.7 MB, free: 3.539 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001731/0.1444, allocations: 323.8 kB / 493 MB, free: 3.223 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002696/0.1446, allocations: 93.47 kB / 493.1 MB, free: 3.125 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.582e-05/0.1447, allocations: 12 kB / 493.1 MB, free: 3.113 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002146/0.1468, allocations: 3.161 MB / 496.3 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.1469, allocations: 3.938 kB / 496.3 MB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002075/0.1489, allocations: 1.32 MB / 497.6 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001205/0.1491, allocations: 116.5 kB / 497.7 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.913e-05/0.1492, allocations: 19.97 kB / 497.8 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00038/0.1496, allocations: 43.95 kB / 497.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.1497, allocations: 43.88 kB / 497.8 MB, free: 14.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/0.1497, allocations: 16 kB / 497.9 MB, free: 14.03 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000284/0.15, allocations: 279.1 kB / 498.1 MB, free: 13.76 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.15, allocations: 0 / 498.1 MB, free: 13.76 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006438/0.1507, allocations: 148 kB / 498.3 MB, free: 13.62 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.0001363/0.1508, allocations: 111.2 kB / 498.4 MB, free: 13.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002878/0.1537, allocations: 1.186 MB / 499.6 MB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.1537, allocations: 448 / 499.6 MB, free: 12.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001963/0.1557, allocations: 0.7937 MB / 0.4886 GB, free: 11.47 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008459/0.1566, allocations: 151.2 kB / 0.4888 GB, free: 11.33 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003245/0.1598, allocations: 1.659 MB / 0.4904 GB, free: 9.617 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005078/0.1603, allocations: 0.9369 MB / 0.4913 GB, free: 8.652 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/0.1605, allocations: 47.42 kB / 0.4914 GB, free: 8.605 MB / 382.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1605, allocations: 4 kB / 0.4914 GB, free: 8.602 MB / 382.1 MB Notification: Performance of Templates: time 0.01894/0.1795, allocations: 16.68 MB / 0.5077 GB, free: 7.926 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/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