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.0007675/0.0007675, allocations: 87.11 kB / 16.31 MB, free: 6.449 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.0008568/0.0008568, allocations: 177.1 kB / 17.21 MB, free: 6.32 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.232/1.232, allocations: 223.3 MB / 241.2 MB, free: 276 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.162/0.162, allocations: 38.1 MB / 330.4 MB, free: 8.879 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002788/0.000279, allocations: 8 kB / 400.1 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08963/0.08993, allocations: 59.17 MB / 459.3 MB, free: 7.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.00632/0.09628, allocations: 6.302 MB / 465.6 MB, free: 1.098 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002497/0.09881, allocations: 1.594 MB / 467.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004455/0.09928, allocations: 35.75 kB / 467.2 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004508/0.09974, allocations: 135 kB / 467.3 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000943/0.1007, allocations: 441.8 kB / 467.7 MB, free: 14.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005019/0.1012, allocations: 195.7 kB / 467.9 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00126/0.1025, allocations: 1.278 MB / 469.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003573/0.1029, allocations: 239.6 kB / 469.4 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006091/0.1035, allocations: 382.4 kB / 469.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008081/0.1043, allocations: 0.5024 MB / 470.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.081e-05/0.1044, allocations: 32 kB / 470.4 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.1045, allocations: 35.94 kB / 470.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002524/0.1048, allocations: 271.2 kB / 470.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001752/0.105, allocations: 149.4 kB / 470.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000542/0.1055, allocations: 0.639 MB / 471.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1055, allocations: 3.938 kB / 471.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1055, allocations: 0 / 471.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.243e-05/0.1056, allocations: 0 / 471.4 MB, free: 11.18 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.001646/0.1072, allocations: 0.9139 MB / 472.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.1073, allocations: 8.031 kB / 472.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/0.1074, allocations: 67.25 kB / 472.4 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008376/0.1083, allocations: 0.5446 MB / 473 MB, free: 9.551 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001548/0.1085, allocations: 112.7 kB / 473.1 MB, free: 9.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.775e-05/0.1086, allocations: 59.98 kB / 473.1 MB, free: 9.371 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00124/0.1098, allocations: 0.7889 MB / 473.9 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.526e-05/0.1098, allocations: 3.938 kB / 473.9 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.309e-05/0.1099, allocations: 24 kB / 474 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001004/0.11, allocations: 32.97 kB / 474 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00129/0.1113, allocations: 0.7533 MB / 474.7 MB, free: 7.727 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003444/0.1148, allocations: 2.624 MB / 477.4 MB, free: 5.008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.1162, allocations: 0.84 MB / 478.2 MB, free: 4.129 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006132/0.1168, allocations: 411.4 kB / 478.6 MB, free: 3.719 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.559e-05/0.1169, allocations: 8.438 kB / 478.6 MB, free: 3.711 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.1169, allocations: 35 kB / 478.7 MB, free: 3.668 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.064e-06/0.1169, allocations: 0 / 478.7 MB, free: 3.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.003786/0.1207, allocations: 2.225 MB / 480.9 MB, free: 1.332 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.276e-05/0.1208, allocations: 89.58 kB / 481 MB, free: 1.223 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003918/0.1212, allocations: 397.9 kB / 481.4 MB, free: 0.832 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.396e-05/0.1212, allocations: 37.64 kB / 481.4 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.1214, allocations: 288.5 kB / 481.7 MB, free: 0.5 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.1215, allocations: 173.5 kB / 481.8 MB, free: 336 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/0.1216, allocations: 12 kB / 481.9 MB, free: 324 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1217, allocations: 358.8 kB / 482.2 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005181/0.1222, allocations: 288.9 kB / 482.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005644/0.1228, allocations: 397.1 kB / 482.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005518/0.1234, allocations: 318 kB / 483.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1234, allocations: 4 kB / 483.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001455/0.1249, allocations: 0.907 MB / 484.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.1249, allocations: 4 kB / 484.1 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.1249, allocations: 4 kB / 484.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000231/0.1251, allocations: 77.66 kB / 484.2 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/0.1266, allocations: 395.7 kB / 484.6 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00554/0.1321, allocations: 6.186 MB / 490.8 MB, free: 6.797 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003972/0.1325, allocations: 47.95 kB / 490.8 MB, free: 6.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.965e-05/0.1326, allocations: 16 kB / 490.8 MB, free: 6.734 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 (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003088/0.1329, allocations: 242.5 kB / 491.1 MB, free: 6.488 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.277e-05/0.133, allocations: 51.45 kB / 491.1 MB, free: 6.438 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001441/0.1344, allocations: 0.8593 MB / 492 MB, free: 5.543 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.1345, allocations: 4 kB / 492 MB, free: 5.539 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.1345, allocations: 7.938 kB / 492 MB, free: 5.531 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.1345, allocations: 3.984 kB / 492 MB, free: 5.527 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002568/0.1371, allocations: 1.719 MB / 493.7 MB, free: 3.711 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/0.1371, allocations: 4 kB / 493.7 MB, free: 3.707 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001533/0.1386, allocations: 423.8 kB / 494.1 MB, free: 3.293 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002405/0.1389, allocations: 89.62 kB / 494.2 MB, free: 3.199 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.066e-05/0.1389, allocations: 15.98 kB / 494.2 MB, free: 3.184 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001963/0.1409, allocations: 2.88 MB / 497.1 MB, free: 36 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.1409, allocations: 8 kB / 497.1 MB, free: 28 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00196/0.1429, allocations: 1.363 MB / 498.5 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.143, allocations: 120.5 kB / 498.6 MB, free: 14.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.185e-05/0.1431, allocations: 15.95 kB / 498.6 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003274/0.1434, allocations: 51.95 kB / 498.7 MB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.1435, allocations: 43.92 kB / 498.7 MB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.29e-05/0.1436, allocations: 16 kB / 498.7 MB, free: 14.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002733/0.1439, allocations: 275.1 kB / 499 MB, free: 14.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1439, allocations: 0 / 499 MB, free: 14.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006144/0.1445, allocations: 148 kB / 499.1 MB, free: 13.93 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001259/0.1446, allocations: 119.1 kB / 499.2 MB, free: 13.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002503/0.1471, allocations: 1.19 MB / 0.4887 GB, free: 12.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.1471, allocations: 0 / 0.4887 GB, free: 12.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001847/0.149, allocations: 0.9075 MB / 0.4896 GB, free: 11.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006797/0.1497, allocations: 133.5 kB / 0.4897 GB, free: 11.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002912/0.1526, allocations: 1.875 MB / 0.4915 GB, free: 9.617 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005063/0.1531, allocations: 0.9447 MB / 0.4925 GB, free: 8.645 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000382/0.1535, allocations: 124.7 kB / 0.4926 GB, free: 8.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.1537, allocations: 43.44 kB / 0.4926 GB, free: 8.477 MB / 382.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1537, allocations: 0 / 0.4926 GB, free: 8.477 MB / 382.1 MB Notification: Performance of Templates: time 0.01178/0.1655, allocations: 7.141 MB / 0.4996 GB, free: 1.402 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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","../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches