Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.conf.json 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i|transformer2.l2sigma.inductor.1..i|transformer2.l2sigma.inductor.2..i|transformer2.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") [: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 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 184.2 kB / 8.138 MB, free: 2.188 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.147/1.147, allocations: 221.4 MB / 229.9 MB, free: 3.074 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008628/0.0008628, allocations: 109 kB / 280.8 MB, free: 1.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.472e-06/6.492e-06, allocations: 0 / 336.5 MB, free: 9.504 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2155, allocations: 50.4 MB / 386.9 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1064/0.3219, allocations: 91.86 MB / 478.8 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/0.3223, allocations: 87.94 kB / 478.9 MB, free: 10.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.4167/0.739, allocations: 115.7 MB / 0.5806 GB, free: 26.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003593/0.7394, allocations: 107.9 kB / 0.5807 GB, free: 26.09 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.008954/0.7484, allocations: 3.882 MB / 0.5845 GB, free: 22.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.7484, allocations: 12.03 kB / 0.5845 GB, free: 22.13 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002334/0.7508, allocations: 0.5527 MB / 0.585 GB, free: 21.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005572/0.7563, allocations: 2.745 MB / 0.5877 GB, free: 18.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001406/0.7565, allocations: 128 kB / 0.5878 GB, free: 18.63 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009694/0.7575, allocations: 231.8 kB / 0.588 GB, free: 18.4 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006727/0.7642, allocations: 4.373 MB / 0.5923 GB, free: 14.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007374/0.7716, allocations: 5.059 MB / 0.5973 GB, free: 8.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-05/0.7717, allocations: 4 kB / 0.5973 GB, free: 8.766 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003499/0.7721, allocations: 4 kB / 0.5973 GB, free: 8.762 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001393/0.7722, allocations: 212 kB / 0.5975 GB, free: 8.551 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02683/0.7991, allocations: 15.79 MB / 0.6129 GB, free: 8.52 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00515/0.8042, allocations: 3.343 MB / 0.6161 GB, free: 5.168 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003876/0.8082, allocations: 2.798 MB / 0.6189 GB, free: 2.367 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003924/0.8086, allocations: 154.9 kB / 0.619 GB, free: 2.199 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.691e-05/0.8086, allocations: 60.56 kB / 0.6191 GB, free: 2.129 MB / 394.7 MB Notification: Performance of pre-optimization done (n=249): time 4.228e-06/0.8087, allocations: 3.938 kB / 0.6191 GB, free: 2.125 MB / 394.7 MB Notification: Performance of matching and sorting (n=256): time 0.01455/0.8232, allocations: 7.604 MB / 0.6265 GB, free: 10.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.8233, allocations: 85.36 kB / 0.6266 GB, free: 10.31 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003142/0.8265, allocations: 1.85 MB / 0.6284 GB, free: 8.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003896/0.8269, allocations: 29.7 kB / 0.6284 GB, free: 8.395 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007557/0.8276, allocations: 1.297 MB / 0.6297 GB, free: 7.078 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007779/0.8284, allocations: 0.8043 MB / 0.6305 GB, free: 6.262 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001189/0.8285, allocations: 0 / 0.6305 GB, free: 6.262 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.8287, allocations: 402.7 kB / 0.6309 GB, free: 5.863 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001881/0.8306, allocations: 1.313 MB / 0.6321 GB, free: 4.547 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002116/0.8327, allocations: 1.593 MB / 0.6337 GB, free: 2.867 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002269/0.835, allocations: 1.565 MB / 0.6352 GB, free: 1.281 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.835, allocations: 0 / 0.6352 GB, free: 1.281 MB / 410.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.007176/0.8422, allocations: 4.243 MB / 0.6394 GB, free: 12.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.8423, allocations: 4 kB / 0.6394 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.8423, allocations: 7.938 kB / 0.6394 GB, free: 12.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003544/0.8458, allocations: 1.421 MB / 0.6408 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001825/0.8477, allocations: 399.5 kB / 0.6412 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1481/0.9958, allocations: 21.93 MB / 0.6626 GB, free: 102.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00201/0.9978, allocations: 35.36 kB / 0.6626 GB, free: 102.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002244/0.9981, allocations: 79.33 kB / 0.6627 GB, free: 102.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9,(2,100.0%) 29} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004217/0.9985, allocations: 146.8 kB / 0.6628 GB, free: 102.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00044/0.9989, allocations: 261.9 kB / 0.6631 GB, free: 102.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005768/1.005, allocations: 4.004 MB / 0.667 GB, free: 102 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.006e-05/1.005, allocations: 25.84 kB / 0.667 GB, free: 102 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/1.005, allocations: 9.5 kB / 0.667 GB, free: 102 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.977e-05/1.005, allocations: 16.59 kB / 0.667 GB, free: 102 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01251/1.017, allocations: 8.063 MB / 0.6749 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.336e-06/1.017, allocations: 3.531 kB / 0.6749 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001364/1.019, allocations: 304.2 kB / 0.6752 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003168/1.022, allocations: 1.384 MB / 0.6765 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002169/1.022, allocations: 26.02 kB / 0.6766 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0179/1.04, allocations: 21.91 MB / 0.698 GB, free: 88.84 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.78e-06/1.04, allocations: 7.281 kB / 0.698 GB, free: 88.84 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008692/1.049, allocations: 6.101 MB / 0.7039 GB, free: 88.28 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00166/1.05, allocations: 0.6476 MB / 0.7046 GB, free: 88.06 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004371/1.051, allocations: 17.75 kB / 0.7046 GB, free: 88.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/1.052, allocations: 81.97 kB / 0.7047 GB, free: 88.06 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002992/1.053, allocations: 146.6 kB / 0.7048 GB, free: 88.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/1.053, allocations: 74.34 kB / 0.7049 GB, free: 88.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.001961/1.055, allocations: 1.415 MB / 0.7063 GB, free: 87.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003394/1.058, allocations: 0.8358 MB / 0.7071 GB, free: 87.91 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 29,(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.000541/1.059, allocations: 228.2 kB / 0.7073 GB, free: 87.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00598/1.065, allocations: 4.462 MB / 0.7116 GB, free: 86.76 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/1.065, allocations: 3.812 kB / 0.7116 GB, free: 86.76 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003979/1.069, allocations: 3.002 MB / 0.7146 GB, free: 85.73 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003139/1.072, allocations: 0.5936 MB / 0.7152 GB, free: 85.71 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01314/1.085, allocations: 7.015 MB / 0.722 GB, free: 84.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003612/1.089, allocations: 3.34 MB / 0.7253 GB, free: 83.64 MB / 426.7 MB Notification: Performance of SimCode: time 8.72e-07/1.089, allocations: 3.062 kB / 0.7253 GB, free: 83.64 MB / 426.7 MB Notification: Performance of Templates: time 0.07027/1.159, allocations: 47.2 MB / 0.7714 GB, free: 65.82 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches