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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001432/0.001432, allocations: 183.2 kB / 8.135 MB, free: 2.199 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.187/1.187, allocations: 205.2 MB / 213.7 MB, free: 13.86 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.001007/0.001007, allocations: 96.98 kB / 261.7 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1687/0.1687, allocations: 37.97 MB / 347.7 MB, free: 7.465 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.321e-06/6.362e-06, allocations: 0 / 410 MB, free: 46.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09639/0.09641, allocations: 56.33 MB / 466.3 MB, free: 6.465 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3048/0.4012, allocations: 109 MB / 0.5618 GB, free: 1.574 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/0.4016, allocations: 87.95 kB / 0.5619 GB, free: 1.488 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.06724/0.4688, allocations: 23.89 MB / 0.5852 GB, free: 9.332 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.052e-05/0.4689, allocations: 27.92 kB / 0.5853 GB, free: 9.305 MB / 426.7 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.002604/0.4715, allocations: 1.182 MB / 0.5864 GB, free: 8.07 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.4716, allocations: 12.03 kB / 0.5864 GB, free: 8.059 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006988/0.4723, allocations: 138.8 kB / 0.5866 GB, free: 7.922 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003262/0.4755, allocations: 1.257 MB / 0.5878 GB, free: 6.625 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002146/0.4758, allocations: 151.1 kB / 0.5879 GB, free: 6.457 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/0.4759, allocations: 55.89 kB / 0.588 GB, free: 6.402 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001895/0.4778, allocations: 1.199 MB / 0.5892 GB, free: 5.203 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00187/0.4797, allocations: 1.248 MB / 0.5904 GB, free: 3.906 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.4797, allocations: 0 / 0.5904 GB, free: 3.906 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-05/0.4798, allocations: 0 / 0.5904 GB, free: 3.906 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001513/0.48, allocations: 77.95 kB / 0.5904 GB, free: 3.832 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007018/0.487, allocations: 4.343 MB / 0.5947 GB, free: 15.38 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/0.4884, allocations: 1.023 MB / 0.5957 GB, free: 14.33 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001084/0.4895, allocations: 0.7472 MB / 0.5964 GB, free: 13.58 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.685e-05/0.4896, allocations: 16.58 kB / 0.5964 GB, free: 13.57 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.4897, allocations: 43.22 kB / 0.5965 GB, free: 13.52 MB / 442.7 MB Notification: Performance of pre-optimization done (n=103): time 2.615e-06/0.4897, allocations: 0 / 0.5965 GB, free: 13.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=104): time 0.005687/0.4954, allocations: 3.307 MB / 0.5997 GB, free: 10.13 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.4954, allocations: 85.77 kB / 0.5998 GB, free: 10.03 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003202/0.4958, allocations: 285.9 kB / 0.6001 GB, free: 9.746 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.626e-05/0.4958, allocations: 25.7 kB / 0.6001 GB, free: 9.715 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.496, allocations: 292.4 kB / 0.6004 GB, free: 9.422 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002934/0.4963, allocations: 346.7 kB / 0.6007 GB, free: 9.078 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.318e-05/0.4964, allocations: 0 / 0.6007 GB, free: 9.078 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.4966, allocations: 378.8 kB / 0.6011 GB, free: 8.699 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000721/0.4973, allocations: 0.5525 MB / 0.6016 GB, free: 8.145 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008389/0.4981, allocations: 0.6975 MB / 0.6023 GB, free: 7.395 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.4994, allocations: 0.7522 MB / 0.603 GB, free: 6.645 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.4994, allocations: 0 / 0.603 GB, free: 6.645 MB / 442.7 MB Notification: Performance of matching and sorting (n=126) (initialization): time 0.002492/0.5019, allocations: 1.616 MB / 0.6046 GB, free: 4.996 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.502, allocations: 5.406 kB / 0.6046 GB, free: 4.992 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.502, allocations: 7.938 kB / 0.6046 GB, free: 4.984 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001311/0.5021, allocations: 28.84 kB / 0.6046 GB, free: 4.953 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00273/0.5049, allocations: 0.6675 MB / 0.6053 GB, free: 4.285 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004815/0.5097, allocations: 5.762 MB / 0.6109 GB, free: 14.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007555/0.5105, allocations: 71.95 kB / 0.611 GB, free: 14 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.507e-05/0.5105, allocations: 32 kB / 0.611 GB, free: 13.97 MB / 458.7 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 (104): * Single equations (assignments): 96 * 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: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002161/0.5108, allocations: 124.7 kB / 0.6111 GB, free: 13.84 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.5109, allocations: 59.25 kB / 0.6112 GB, free: 13.79 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002612/0.5136, allocations: 1.605 MB / 0.6127 GB, free: 12.15 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.2e-05/0.5136, allocations: 31.98 kB / 0.6128 GB, free: 12.12 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.5137, allocations: 4 kB / 0.6128 GB, free: 12.12 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.5137, allocations: 7.984 kB / 0.6128 GB, free: 12.11 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004418/0.5181, allocations: 2.813 MB / 0.6155 GB, free: 9.203 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.5181, allocations: 0 / 0.6155 GB, free: 9.203 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003172/0.5213, allocations: 0.726 MB / 0.6162 GB, free: 8.477 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.36e-05/0.5214, allocations: 24.86 kB / 0.6163 GB, free: 8.449 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.686e-05/0.5215, allocations: 19.89 kB / 0.6163 GB, free: 8.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008485/0.5224, allocations: 1.313 MB / 0.6176 GB, free: 7.004 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.5224, allocations: 7.938 kB / 0.6176 GB, free: 6.996 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00347/0.5259, allocations: 2.676 MB / 0.6202 GB, free: 4.203 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.526, allocations: 132.4 kB / 0.6203 GB, free: 4.055 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/0.5261, allocations: 7.984 kB / 0.6203 GB, free: 4.047 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006349/0.5268, allocations: 67.92 kB / 0.6204 GB, free: 3.98 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001757/0.527, allocations: 64.47 kB / 0.6205 GB, free: 3.914 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.236e-05/0.5271, allocations: 20 kB / 0.6205 GB, free: 3.895 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0002269/0.5273, allocations: 220.6 kB / 0.6207 GB, free: 3.676 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0009091/0.5282, allocations: 243.9 kB / 0.6209 GB, free: 3.438 MB / 458.7 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 (85): * Single equations (assignments): 79 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003084/0.5285, allocations: 151 kB / 0.6211 GB, free: 3.281 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004417/0.5329, allocations: 2.066 MB / 0.6231 GB, free: 1.207 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.533, allocations: 4 kB / 0.6231 GB, free: 1.203 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00379/0.5368, allocations: 1.578 MB / 0.6246 GB, free: 15.61 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006608/0.5374, allocations: 101.4 kB / 0.6247 GB, free: 15.51 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004582/0.542, allocations: 2.23 MB / 0.6269 GB, free: 13.22 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001027/0.5431, allocations: 1.157 MB / 0.628 GB, free: 12.04 MB / 474.7 MB Notification: Performance of SimCode: time 7.51e-07/0.5431, allocations: 0 / 0.628 GB, free: 12.04 MB / 474.7 MB Notification: Performance of Templates: time 0.01815/0.5612, allocations: 11.65 MB / 0.6394 GB, free: 392 kB / 474.7 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