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.0007364/0.0007362, allocations: 93.39 kB / 16.65 MB, free: 6.586 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.0008187/0.0008187, allocations: 181.2 kB / 17.56 MB, free: 6.203 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.239/1.239, allocations: 223.3 MB / 241.6 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1622/0.1622, allocations: 38.09 MB / 330.8 MB, free: 8.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000326/0.000326, allocations: 13.22 kB / 400.7 MB, free: 34.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1014, allocations: 59.17 MB / 459.9 MB, free: 7.055 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.007103/0.1085, allocations: 7.073 MB / 467 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003638/0.1122, allocations: 2.356 MB / 469.3 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003901/0.1126, allocations: 43.69 kB / 469.4 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003753/0.113, allocations: 131.1 kB / 469.5 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001033/0.114, allocations: 0.5214 MB / 470 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006917/0.1147, allocations: 311.5 kB / 470.3 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001626/0.1164, allocations: 1.852 MB / 472.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001252/0.1176, allocations: 0.9471 MB / 473.1 MB, free: 9.738 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006054/0.1183, allocations: 442.1 kB / 473.6 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000821/0.1191, allocations: 0.7089 MB / 474.3 MB, free: 8.594 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.364e-05/0.1192, allocations: 48 kB / 474.3 MB, free: 8.547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009008/0.1201, allocations: 0.5966 MB / 474.9 MB, free: 7.949 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003643/0.1205, allocations: 422.9 kB / 475.3 MB, free: 7.535 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004643/0.121, allocations: 491.3 kB / 475.8 MB, free: 7.047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.1223, allocations: 1.449 MB / 477.2 MB, free: 5.594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.1223, allocations: 0 / 477.2 MB, free: 5.594 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1223, allocations: 0 / 477.2 MB, free: 5.594 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.1223, allocations: 0 / 477.2 MB, free: 5.594 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.002401/0.1248, allocations: 1.223 MB / 478.5 MB, free: 4.316 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.1248, allocations: 12.02 kB / 478.5 MB, free: 4.305 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006523/0.1255, allocations: 139.7 kB / 478.6 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001031/0.1265, allocations: 0.657 MB / 479.3 MB, free: 3.469 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002124/0.1267, allocations: 179.6 kB / 479.4 MB, free: 3.273 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001871/0.1269, allocations: 91.92 kB / 479.5 MB, free: 3.184 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00216/0.1291, allocations: 1.43 MB / 481 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.564e-05/0.1291, allocations: 0 / 481 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.322e-05/0.1292, allocations: 28 kB / 481 MB, free: 1.688 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002099/0.1294, allocations: 89.88 kB / 481.1 MB, free: 1.598 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00268/0.1321, allocations: 1.565 MB / 482.6 MB, free: 36 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006635/0.1388, allocations: 4.466 MB / 487.1 MB, free: 11.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00229/0.1411, allocations: 1.256 MB / 488.4 MB, free: 10.18 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001279/0.1424, allocations: 0.8046 MB / 489.2 MB, free: 9.363 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.258e-05/0.1424, allocations: 16.64 kB / 489.2 MB, free: 9.344 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.1425, allocations: 39.22 kB / 489.2 MB, free: 9.297 MB / 366.1 MB Notification: Performance of pre-optimization done (n=101): time 2.605e-06/0.1425, allocations: 3.938 kB / 489.2 MB, free: 9.293 MB / 366.1 MB Notification: Performance of matching and sorting (n=102): time 0.006799/0.1493, allocations: 3.975 MB / 493.2 MB, free: 5.227 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/0.1494, allocations: 94.05 kB / 493.3 MB, free: 5.117 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004538/0.1498, allocations: 394 kB / 493.7 MB, free: 4.723 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.696e-05/0.1499, allocations: 41.7 kB / 493.7 MB, free: 4.676 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001995/0.1501, allocations: 348.2 kB / 494.1 MB, free: 4.328 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002514/0.1504, allocations: 346.9 kB / 494.4 MB, free: 3.984 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.1505, allocations: 85.66 kB / 494.5 MB, free: 3.895 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.1507, allocations: 378.8 kB / 494.9 MB, free: 3.516 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/0.1517, allocations: 0.6188 MB / 495.5 MB, free: 2.895 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001129/0.1528, allocations: 0.7659 MB / 496.2 MB, free: 2.082 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002196/0.155, allocations: 1.438 MB / 497.7 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1551, allocations: 0 / 497.7 MB, free: 0.5977 MB / 366.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002626/0.1577, allocations: 1.658 MB / 499.3 MB, free: 14.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1577, allocations: 4 kB / 499.3 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.1577, allocations: 4 kB / 499.3 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001461/0.1579, allocations: 36.83 kB / 499.4 MB, free: 14.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002516/0.1604, allocations: 0.6283 MB / 0.4883 GB, free: 14.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006453/0.1669, allocations: 6.422 MB / 0.4946 GB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006676/0.1676, allocations: 91.89 kB / 0.4947 GB, free: 7.195 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.957e-05/0.1676, allocations: 28 kB / 0.4947 GB, free: 7.168 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.0004271/0.1681, allocations: 327.6 kB / 0.495 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/0.1682, allocations: 67.09 kB / 0.4951 GB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002615/0.1709, allocations: 1.647 MB / 0.4967 GB, free: 5.094 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.402e-05/0.1709, allocations: 23.98 kB / 0.4967 GB, free: 5.07 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1709, allocations: 0 / 0.4967 GB, free: 5.07 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.1709, allocations: 3.984 kB / 0.4967 GB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004392/0.1753, allocations: 2.935 MB / 0.4996 GB, free: 2.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.502e-06/0.1753, allocations: 4 kB / 0.4996 GB, free: 2.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002832/0.1782, allocations: 0.683 MB / 0.5002 GB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001109/0.1783, allocations: 32.84 kB / 0.5003 GB, free: 1.305 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.541e-05/0.1784, allocations: 23.98 kB / 0.5003 GB, free: 1.281 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2111/0.3895, allocations: 1.461 MB / 0.5017 GB, free: 54.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.3895, allocations: 4.469 kB / 0.5017 GB, free: 54.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004621/0.3942, allocations: 2.618 MB / 0.5043 GB, free: 54.67 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001654/0.3943, allocations: 135.3 kB / 0.5044 GB, free: 54.58 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.3944, allocations: 22.33 kB / 0.5044 GB, free: 54.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006084/0.3951, allocations: 82.36 kB / 0.5045 GB, free: 54.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002165/0.3953, allocations: 81.42 kB / 0.5046 GB, free: 54.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.772e-05/0.3954, allocations: 24.52 kB / 0.5046 GB, free: 54.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002943/0.3957, allocations: 278.8 kB / 0.5049 GB, free: 54.49 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.91e-07/0.3957, allocations: 0 / 0.5049 GB, free: 54.49 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008606/0.3965, allocations: 246.1 kB / 0.5051 GB, free: 54.49 MB / 382.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.000281/0.3968, allocations: 162.4 kB / 0.5053 GB, free: 54.4 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.004241/0.4011, allocations: 2.009 MB / 0.5072 GB, free: 54.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4011, allocations: 3.969 kB / 0.5072 GB, free: 54.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003058/0.4042, allocations: 1.346 MB / 0.5085 GB, free: 53.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009256/0.4051, allocations: 145.6 kB / 0.5087 GB, free: 53.63 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004808/0.4099, allocations: 3.102 MB / 0.5117 GB, free: 52.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005706/0.4105, allocations: 1.086 MB / 0.5128 GB, free: 51.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007475/0.4113, allocations: 269.3 kB / 0.513 GB, free: 51.27 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002337/0.4115, allocations: 59.42 kB / 0.5131 GB, free: 51.26 MB / 382.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4115, allocations: 4.391 kB / 0.5131 GB, free: 51.26 MB / 382.1 MB Notification: Performance of Templates: time 0.0145/0.426, allocations: 10.06 MB / 0.5229 GB, free: 48.01 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Inverters.Rectifier.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches