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/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.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/Complex 3.2.3+maint.om/package.mo): time 0.0009477/0.0009476, allocations: 175.9 kB / 8.348 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.471/1.471, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008504/0.0008503, allocations: 91.22 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2578/0.2578, allocations: 38 MB / 348 MB, free: 7.762 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.427e-05/1.428e-05, allocations: 4 kB / 410.6 MB, free: 46.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1116, allocations: 56.32 MB / 466.9 MB, free: 6.551 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3976/0.5093, allocations: 109 MB / 0.5624 GB, free: 1.871 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/0.5096, allocations: 87.95 kB / 0.5625 GB, free: 1.785 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.06765/0.5773, allocations: 24.19 MB / 0.5861 GB, free: 9.336 MB / 427.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.5773, allocations: 8 kB / 0.5861 GB, free: 9.328 MB / 427.1 MB Notification: Performance of Transformations before backend: time 4.268e-05/0.5774, allocations: 20 kB / 0.5861 GB, free: 9.309 MB / 427.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.002642/0.58, allocations: 1.197 MB / 0.5873 GB, free: 8.059 MB / 427.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.5801, allocations: 8.031 kB / 0.5873 GB, free: 8.051 MB / 427.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006688/0.5808, allocations: 146.8 kB / 0.5874 GB, free: 7.906 MB / 427.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003075/0.5839, allocations: 1.246 MB / 0.5887 GB, free: 6.617 MB / 427.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002218/0.5841, allocations: 147.1 kB / 0.5888 GB, free: 6.453 MB / 427.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001392/0.5842, allocations: 51.91 kB / 0.5889 GB, free: 6.402 MB / 427.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001815/0.5861, allocations: 1.167 MB / 0.59 GB, free: 5.234 MB / 427.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001937/0.588, allocations: 1.229 MB / 0.5912 GB, free: 3.961 MB / 427.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/0.5881, allocations: 3.938 kB / 0.5912 GB, free: 3.957 MB / 427.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.126e-05/0.5881, allocations: 0 / 0.5912 GB, free: 3.957 MB / 427.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001588/0.5883, allocations: 77.95 kB / 0.5913 GB, free: 3.883 MB / 427.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007119/0.5954, allocations: 4.327 MB / 0.5955 GB, free: 15.43 MB / 443.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/0.5972, allocations: 1.15 MB / 0.5966 GB, free: 14.25 MB / 443.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009033/0.5981, allocations: 0.685 MB / 0.5973 GB, free: 13.56 MB / 443.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.412e-05/0.5982, allocations: 12.78 kB / 0.5973 GB, free: 13.55 MB / 443.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.813e-05/0.5982, allocations: 47.3 kB / 0.5973 GB, free: 13.49 MB / 443.1 MB Notification: Performance of pre-optimization done (n=103): time 4.509e-06/0.5983, allocations: 0.5625 kB / 0.5973 GB, free: 13.49 MB / 443.1 MB Notification: Performance of matching and sorting (n=104): time 0.005725/0.604, allocations: 3.174 MB / 0.6004 GB, free: 10.27 MB / 443.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.6041, allocations: 85.89 kB / 0.6005 GB, free: 10.16 MB / 443.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003473/0.6044, allocations: 282.3 kB / 0.6008 GB, free: 9.879 MB / 443.1 MB Notification: Performance of collectPreVariables (initialization): time 6.109e-05/0.6045, allocations: 25.7 kB / 0.6008 GB, free: 9.848 MB / 443.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002177/0.6047, allocations: 340.2 kB / 0.6011 GB, free: 9.508 MB / 443.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002857/0.605, allocations: 354.8 kB / 0.6015 GB, free: 9.156 MB / 443.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.985e-05/0.6051, allocations: 0 / 0.6015 GB, free: 9.156 MB / 443.1 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.6053, allocations: 374.8 kB / 0.6018 GB, free: 8.781 MB / 443.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007588/0.606, allocations: 0.5375 MB / 0.6024 GB, free: 8.246 MB / 443.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008801/0.6069, allocations: 0.6803 MB / 0.603 GB, free: 7.516 MB / 443.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/0.6083, allocations: 0.7512 MB / 0.6038 GB, free: 6.766 MB / 443.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.6083, allocations: 8 kB / 0.6038 GB, free: 6.758 MB / 443.1 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002453/0.6107, allocations: 1.457 MB / 0.6052 GB, free: 5.293 MB / 443.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/0.6108, allocations: 8 kB / 0.6052 GB, free: 5.285 MB / 443.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.6108, allocations: 4 kB / 0.6052 GB, free: 5.281 MB / 443.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.817e-05/0.6108, allocations: 11.95 kB / 0.6052 GB, free: 5.27 MB / 443.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002753/0.6136, allocations: 0.6325 MB / 0.6058 GB, free: 4.637 MB / 443.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003886/0.6175, allocations: 4.373 MB / 0.6101 GB, free: 15.93 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007705/0.6183, allocations: 75.89 kB / 0.6102 GB, free: 15.85 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.891e-05/0.6184, allocations: 36.09 kB / 0.6102 GB, free: 15.82 MB / 459.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 98 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002127/0.6186, allocations: 124.9 kB / 0.6103 GB, free: 15.69 MB / 459.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/0.6188, allocations: 59.25 kB / 0.6104 GB, free: 15.63 MB / 459.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002557/0.6213, allocations: 1.457 MB / 0.6118 GB, free: 14.16 MB / 459.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.33e-05/0.6214, allocations: 39.94 kB / 0.6119 GB, free: 14.12 MB / 459.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.6215, allocations: 0 / 0.6119 GB, free: 14.12 MB / 459.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/0.6215, allocations: 11.97 kB / 0.6119 GB, free: 14.11 MB / 459.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004473/0.626, allocations: 2.71 MB / 0.6145 GB, free: 11.34 MB / 459.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/0.626, allocations: 4 kB / 0.6145 GB, free: 11.33 MB / 459.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003049/0.629, allocations: 0.687 MB / 0.6152 GB, free: 10.64 MB / 459.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.227e-05/0.6291, allocations: 7.984 kB / 0.6152 GB, free: 10.64 MB / 459.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.635e-05/0.6291, allocations: 4 kB / 0.6152 GB, free: 10.63 MB / 459.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.935e-06/0.6292, allocations: 11.98 kB / 0.6152 GB, free: 10.62 MB / 459.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.6292, allocations: 0 / 0.6152 GB, free: 10.62 MB / 459.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003498/0.6327, allocations: 2.488 MB / 0.6176 GB, free: 8.043 MB / 459.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002027/0.6329, allocations: 132.3 kB / 0.6178 GB, free: 7.895 MB / 459.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.633, allocations: 7.984 kB / 0.6178 GB, free: 7.887 MB / 459.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006222/0.6336, allocations: 83.89 kB / 0.6178 GB, free: 7.805 MB / 459.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001886/0.6338, allocations: 76.56 kB / 0.6179 GB, free: 7.727 MB / 459.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.887e-05/0.6339, allocations: 24 kB / 0.6179 GB, free: 7.703 MB / 459.1 MB Notification: Performance of sorting global known variables: time 0.000268/0.6342, allocations: 216.6 kB / 0.6182 GB, free: 7.496 MB / 459.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.6342, allocations: 0 / 0.6182 GB, free: 7.496 MB / 459.1 MB Notification: Performance of remove unused functions: time 0.0009296/0.6351, allocations: 227.9 kB / 0.6184 GB, free: 7.273 MB / 459.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003377/0.6355, allocations: 168.9 kB / 0.6185 GB, free: 7.098 MB / 459.1 MB Notification: Performance of simCode: created initialization part: time 0.003343/0.6388, allocations: 1.649 MB / 0.6201 GB, free: 5.453 MB / 459.1 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.6388, allocations: 4.5 kB / 0.6201 GB, free: 5.449 MB / 459.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002632/0.6415, allocations: 1.144 MB / 0.6213 GB, free: 4.305 MB / 459.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007191/0.6422, allocations: 97.38 kB / 0.6214 GB, free: 4.211 MB / 459.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004257/0.6465, allocations: 2.199 MB / 0.6235 GB, free: 1.957 MB / 459.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006642/0.6472, allocations: 1.091 MB / 0.6246 GB, free: 0.8359 MB / 459.1 MB Notification: Performance of simCode: alias equations: time 0.0007874/0.648, allocations: 265.1 kB / 0.6248 GB, free: 0.5742 MB / 459.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002397/0.6482, allocations: 51.44 kB / 0.6249 GB, free: 0.5234 MB / 459.1 MB Notification: Performance of SimCode: time 5.61e-07/0.6482, allocations: 0 / 0.6249 GB, free: 0.5234 MB / 459.1 MB Notification: Performance of Templates: time 0.01492/0.6632, allocations: 8.603 MB / 0.6333 GB, free: 7.926 MB / 475.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.Rectifier.makefile (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) 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