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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001489/0.001489, allocations: 176.3 kB / 17.4 MB, free: 4.418 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.669/1.669, allocations: 205.4 MB / 223.5 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008547/0.0008547, allocations: 82.38 kB / 271.9 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1804/0.1804, allocations: 38.08 MB / 358.3 MB, free: 1.727 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003665/0.0003665, allocations: 12 kB / 425.3 MB, free: 37.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2951, allocations: 56.31 MB / 481.6 MB, free: 9.59 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1332/0.4283, allocations: 99.99 MB / 0.5679 GB, free: 2.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/0.4287, allocations: 103.8 kB / 0.568 GB, free: 2.152 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04077/0.4694, allocations: 14.5 MB / 0.5822 GB, free: 3.453 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.4695, allocations: 0 / 0.5822 GB, free: 3.453 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.823e-05/0.4696, allocations: 16 kB / 0.5822 GB, free: 3.438 MB / 410.7 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.002587/0.4722, allocations: 0.9306 MB / 0.5831 GB, free: 2.453 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.4722, allocations: 8.031 kB / 0.5831 GB, free: 2.445 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003861/0.4726, allocations: 72.09 kB / 0.5832 GB, free: 2.375 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002009/0.4746, allocations: 0.7874 MB / 0.584 GB, free: 1.547 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000201/0.4749, allocations: 121.3 kB / 0.5841 GB, free: 1.418 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001866/0.4751, allocations: 52.75 kB / 0.5841 GB, free: 1.367 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001821/0.4769, allocations: 0.7983 MB / 0.5849 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/0.4769, allocations: 0 / 0.5849 GB, free: 0.5273 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.223e-05/0.477, allocations: 20 kB / 0.5849 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.997e-05/0.477, allocations: 19.94 kB / 0.5849 GB, free: 500 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001628/0.4787, allocations: 0.7455 MB / 0.5857 GB, free: 15.74 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004539/0.4832, allocations: 2.628 MB / 0.5882 GB, free: 13.02 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001668/0.4849, allocations: 0.8399 MB / 0.589 GB, free: 12.14 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007272/0.4857, allocations: 411.4 kB / 0.5894 GB, free: 11.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.571e-05/0.4857, allocations: 4.438 kB / 0.5894 GB, free: 11.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.641e-05/0.4858, allocations: 39 kB / 0.5895 GB, free: 11.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=50): time 4.699e-06/0.4858, allocations: 0 / 0.5895 GB, free: 11.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=51): time 0.004516/0.4903, allocations: 2.186 MB / 0.5916 GB, free: 9.379 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.991e-05/0.4904, allocations: 85.48 kB / 0.5917 GB, free: 9.277 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005421/0.491, allocations: 401.9 kB / 0.5921 GB, free: 8.875 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.685e-05/0.491, allocations: 37.7 kB / 0.5921 GB, free: 8.832 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/0.4912, allocations: 284.5 kB / 0.5924 GB, free: 8.547 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/0.4914, allocations: 188.2 kB / 0.5926 GB, free: 8.363 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.4914, allocations: 8 kB / 0.5926 GB, free: 8.355 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001948/0.4916, allocations: 358.8 kB / 0.5929 GB, free: 7.996 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005852/0.4922, allocations: 284.9 kB / 0.5932 GB, free: 7.719 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007257/0.493, allocations: 397.1 kB / 0.5936 GB, free: 7.289 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001193/0.4942, allocations: 0.6811 MB / 0.5942 GB, free: 6.566 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.4942, allocations: 0 / 0.5942 GB, free: 6.566 MB / 426.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001573/0.4958, allocations: 0.8876 MB / 0.5951 GB, free: 5.648 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.4958, allocations: 4 kB / 0.5951 GB, free: 5.645 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.4958, allocations: 4 kB / 0.5951 GB, free: 5.641 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002811/0.4961, allocations: 73.8 kB / 0.5952 GB, free: 5.562 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001575/0.4977, allocations: 395.6 kB / 0.5956 GB, free: 5.176 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006005/0.5037, allocations: 6.151 MB / 0.6016 GB, free: 14.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005622/0.5043, allocations: 43.97 kB / 0.6016 GB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.681e-05/0.5044, allocations: 23.92 kB / 0.6016 GB, free: 14.43 MB / 442.7 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.0005302/0.5049, allocations: 241.7 kB / 0.6019 GB, free: 14.19 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00013/0.5051, allocations: 47.44 kB / 0.6019 GB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001808/0.5069, allocations: 0.8515 MB / 0.6027 GB, free: 13.25 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.5069, allocations: 4 kB / 0.6027 GB, free: 13.25 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.5069, allocations: 4 kB / 0.6027 GB, free: 13.24 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.507, allocations: 11.91 kB / 0.6028 GB, free: 13.23 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003269/0.5102, allocations: 1.704 MB / 0.6044 GB, free: 11.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.5102, allocations: 0 / 0.6044 GB, free: 11.43 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001778/0.512, allocations: 435.7 kB / 0.6048 GB, free: 11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003289/0.5124, allocations: 81.58 kB / 0.6049 GB, free: 10.91 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.334e-05/0.5125, allocations: 8 kB / 0.6049 GB, free: 10.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002812/0.5153, allocations: 2.856 MB / 0.6077 GB, free: 7.785 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.5153, allocations: 4.031 kB / 0.6077 GB, free: 7.781 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002605/0.5179, allocations: 1.343 MB / 0.609 GB, free: 6.379 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003581/0.5183, allocations: 132.4 kB / 0.6091 GB, free: 6.23 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.5184, allocations: 12.09 kB / 0.6092 GB, free: 6.219 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004278/0.5189, allocations: 43.95 kB / 0.6092 GB, free: 6.176 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001537/0.519, allocations: 55.86 kB / 0.6093 GB, free: 6.121 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.182e-05/0.5191, allocations: 12 kB / 0.6093 GB, free: 6.109 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003969/0.5195, allocations: 283.1 kB / 0.6095 GB, free: 5.836 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5195, allocations: 0 / 0.6095 GB, free: 5.836 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00082/0.5203, allocations: 152 kB / 0.6097 GB, free: 5.688 MB / 442.7 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.0003233/0.5207, allocations: 131.1 kB / 0.6098 GB, free: 5.551 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002942/0.5236, allocations: 1.187 MB / 0.611 GB, free: 4.332 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.5236, allocations: 0 / 0.611 GB, free: 4.332 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002313/0.526, allocations: 0.8995 MB / 0.6118 GB, free: 3.406 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.5271, allocations: 124.2 kB / 0.612 GB, free: 3.289 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004231/0.5313, allocations: 1.887 MB / 0.6138 GB, free: 1.359 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00076/0.5321, allocations: 0.9447 MB / 0.6147 GB, free: 396 kB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006339/0.5328, allocations: 124.7 kB / 0.6148 GB, free: 268 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.5329, allocations: 43.42 kB / 0.6149 GB, free: 228 kB / 442.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5329, allocations: 0 / 0.6149 GB, free: 228 kB / 442.7 MB Notification: Performance of Templates: time 0.01554/0.5485, allocations: 7.317 MB / 0.622 GB, free: 8.914 MB / 458.7 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","../files/PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches