Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.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.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.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.001519/0.001519, allocations: 185.3 kB / 8.138 MB, free: 2.203 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.222/1.222, 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.000899/0.0008993, allocations: 101.5 kB / 261.7 MB, free: 13.55 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.477 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.273e-06/7.514e-06, allocations: 4 kB / 410 MB, free: 46.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1218, allocations: 56.32 MB / 466.3 MB, free: 6.484 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3697/0.4915, allocations: 109.3 MB / 0.5621 GB, free: 1.297 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002378/0.4918, allocations: 87.95 kB / 0.5622 GB, free: 1.211 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.06499/0.5568, allocations: 22.82 MB / 0.5845 GB, free: 10.18 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.316e-05/0.5569, allocations: 20 kB / 0.5845 GB, free: 10.16 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002555/0.5595, allocations: 1.17 MB / 0.5856 GB, free: 8.934 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.5595, allocations: 12.78 kB / 0.5856 GB, free: 8.922 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007988/0.5603, allocations: 146.8 kB / 0.5858 GB, free: 8.777 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00334/0.5637, allocations: 1.246 MB / 0.587 GB, free: 7.492 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002263/0.5639, allocations: 155.1 kB / 0.5871 GB, free: 7.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/0.5641, allocations: 48 kB / 0.5872 GB, free: 7.273 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001749/0.5658, allocations: 1.074 MB / 0.5882 GB, free: 6.199 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/0.5676, allocations: 1.189 MB / 0.5894 GB, free: 4.938 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.296e-05/0.5677, allocations: 7.938 kB / 0.5894 GB, free: 4.93 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-05/0.5678, allocations: 11.84 kB / 0.5894 GB, free: 4.918 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.704e-05/0.5679, allocations: 53.98 kB / 0.5895 GB, free: 4.867 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007119/0.575, allocations: 4.815 MB / 0.5942 GB, free: 15.9 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.5761, allocations: 0.8416 MB / 0.595 GB, free: 15.05 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009304/0.5771, allocations: 0.6086 MB / 0.5956 GB, free: 14.43 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.774e-05/0.5772, allocations: 16.48 kB / 0.5956 GB, free: 14.42 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.5772, allocations: 35.06 kB / 0.5956 GB, free: 14.38 MB / 442.7 MB Notification: Performance of pre-optimization done (n=74): time 2.695e-06/0.5772, allocations: 0 / 0.5956 GB, free: 14.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=75): time 0.003842/0.581, allocations: 2.367 MB / 0.598 GB, free: 11.93 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.391e-05/0.5811, allocations: 85.8 kB / 0.598 GB, free: 11.82 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003767/0.5815, allocations: 337 kB / 0.5984 GB, free: 11.49 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.448e-05/0.5816, allocations: 25.7 kB / 0.5984 GB, free: 11.46 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.5817, allocations: 339.3 kB / 0.5987 GB, free: 11.12 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001998/0.5819, allocations: 256.2 kB / 0.5989 GB, free: 10.86 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.445e-05/0.582, allocations: 0 / 0.5989 GB, free: 10.86 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.5822, allocations: 374.7 kB / 0.5993 GB, free: 10.49 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006206/0.5828, allocations: 449.6 kB / 0.5997 GB, free: 10.05 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007123/0.5835, allocations: 0.6264 MB / 0.6003 GB, free: 9.344 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007428/0.5843, allocations: 0.5157 MB / 0.6008 GB, free: 8.828 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.5843, allocations: 8 kB / 0.6009 GB, free: 8.82 MB / 442.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.003737/0.588, allocations: 1.866 MB / 0.6027 GB, free: 6.926 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.5881, allocations: 8.531 kB / 0.6027 GB, free: 6.918 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003162/0.5912, allocations: 1.646 MB / 0.6043 GB, free: 5.242 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001262/0.5925, allocations: 0.5402 MB / 0.6048 GB, free: 4.695 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006319/0.5931, allocations: 139.7 kB / 0.605 GB, free: 4.559 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007621/0.6008, allocations: 5.721 MB / 0.6105 GB, free: 14.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007809/0.6016, allocations: 60.03 kB / 0.6106 GB, free: 14.55 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.418e-05/0.6017, allocations: 31.98 kB / 0.6106 GB, free: 14.52 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (76): * Single equations (assignments): 72 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {4 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002062/0.6019, allocations: 120.8 kB / 0.6107 GB, free: 14.4 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001992/0.6021, allocations: 63.25 kB / 0.6108 GB, free: 14.34 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002023/0.6041, allocations: 1.168 MB / 0.6119 GB, free: 13.13 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.373e-05/0.6042, allocations: 15.98 kB / 0.612 GB, free: 13.11 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.6042, allocations: 0 / 0.612 GB, free: 13.11 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.6042, allocations: 3.984 kB / 0.612 GB, free: 13.11 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003353/0.6076, allocations: 2.163 MB / 0.6141 GB, free: 10.87 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.6076, allocations: 0 / 0.6141 GB, free: 10.87 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003012/0.6106, allocations: 0.6908 MB / 0.6148 GB, free: 10.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.601e-05/0.6107, allocations: 24.84 kB / 0.6148 GB, free: 10.15 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.609e-05/0.6108, allocations: 4 kB / 0.6148 GB, free: 10.15 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009197/0.6117, allocations: 1.337 MB / 0.6161 GB, free: 8.699 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.6117, allocations: 4.031 kB / 0.6161 GB, free: 8.695 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002413/0.6141, allocations: 1.913 MB / 0.618 GB, free: 6.707 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000184/0.6143, allocations: 136.4 kB / 0.6181 GB, free: 6.555 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.6144, allocations: 4 kB / 0.6181 GB, free: 6.551 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005457/0.615, allocations: 59.88 kB / 0.6181 GB, free: 6.492 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/0.6152, allocations: 60.48 kB / 0.6182 GB, free: 6.434 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.627e-05/0.6152, allocations: 19.98 kB / 0.6182 GB, free: 6.414 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0002742/0.6155, allocations: 247.2 kB / 0.6185 GB, free: 6.172 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0009542/0.6165, allocations: 211.9 kB / 0.6187 GB, free: 5.965 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (66): * Single equations (assignments): 62 * Array equations: 2 * 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.0002911/0.6168, allocations: 155 kB / 0.6188 GB, free: 5.805 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002119/0.6189, allocations: 1.364 MB / 0.6201 GB, free: 4.422 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.6189, allocations: 0 / 0.6201 GB, free: 4.422 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003413/0.6223, allocations: 1.363 MB / 0.6215 GB, free: 3.051 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006588/0.623, allocations: 91.31 kB / 0.6216 GB, free: 2.965 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003917/0.6269, allocations: 1.9 MB / 0.6234 GB, free: 1.016 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009336/0.6279, allocations: 1.13 MB / 0.6245 GB, free: 15.85 MB / 474.7 MB Notification: Performance of SimCode: time 5.01e-07/0.6279, allocations: 4 kB / 0.6245 GB, free: 15.84 MB / 474.7 MB Notification: Performance of Templates: time 0.02001/0.6479, allocations: 12.05 MB / 0.6363 GB, free: 3.793 MB / 474.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Rectifier.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Rectifier.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches