Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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) 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(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_3.2.3_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_3.2.3_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 3.2.3+maint.om/package.mo): time 0.001519/0.001519, allocations: 176.1 kB / 8.478 MB, free: 1.891 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.154/1.154, allocations: 205.2 MB / 214.1 MB, free: 5.098 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008734/0.0008734, allocations: 87.27 kB / 262.1 MB, free: 5.133 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.033e-06/7.074e-06, allocations: 0 / 315 MB, free: 41.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07043/0.07046, allocations: 47.58 MB / 362.5 MB, free: 9.965 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2378/0.3083, allocations: 91.08 MB / 453.6 MB, free: 8.719 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/0.3086, allocations: 82.73 kB / 453.7 MB, free: 8.707 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.2889/0.5975, allocations: 115.4 MB / 0.5557 GB, free: 5.371 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004667/0.598, allocations: 111.8 kB / 0.5558 GB, free: 5.262 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01339/0.6114, allocations: 3.828 MB / 0.5596 GB, free: 1.371 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.6115, allocations: 12.03 kB / 0.5596 GB, free: 1.359 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00321/0.6147, allocations: 0.5567 MB / 0.5601 GB, free: 0.7969 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007339/0.622, allocations: 2.753 MB / 0.5628 GB, free: 13.97 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001604/0.6222, allocations: 124 kB / 0.5629 GB, free: 13.85 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001098/0.6233, allocations: 224 kB / 0.5631 GB, free: 13.63 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008892/0.6322, allocations: 4.405 MB / 0.5675 GB, free: 9.219 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01014/0.6424, allocations: 5.105 MB / 0.5724 GB, free: 3.918 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.54e-05/0.6425, allocations: 3.938 kB / 0.5724 GB, free: 3.914 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003617/0.6429, allocations: 4 kB / 0.5724 GB, free: 3.91 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001811/0.6431, allocations: 212 kB / 0.5726 GB, free: 3.699 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1713/0.8144, allocations: 15.81 MB / 0.5881 GB, free: 110.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006083/0.8205, allocations: 3.338 MB / 0.5913 GB, free: 110.6 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005474/0.826, allocations: 2.8 MB / 0.5941 GB, free: 110.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004881/0.8266, allocations: 147.1 kB / 0.5942 GB, free: 110.4 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.317e-05/0.8266, allocations: 66.69 kB / 0.5943 GB, free: 110.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=249): time 1.027e-05/0.8267, allocations: 0 / 0.5943 GB, free: 110.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=256): time 0.01967/0.8464, allocations: 7.603 MB / 0.6017 GB, free: 109.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.8464, allocations: 79.36 kB / 0.6018 GB, free: 109.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004132/0.8506, allocations: 1.86 MB / 0.6036 GB, free: 109 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003804/0.851, allocations: 25.7 kB / 0.6036 GB, free: 109 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008735/0.8519, allocations: 1.29 MB / 0.6049 GB, free: 108.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009385/0.8528, allocations: 0.8103 MB / 0.6057 GB, free: 108 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.853, allocations: 0 / 0.6057 GB, free: 108 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.8532, allocations: 402.8 kB / 0.6061 GB, free: 107.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002698/0.8559, allocations: 1.316 MB / 0.6073 GB, free: 107.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002861/0.8588, allocations: 1.596 MB / 0.6089 GB, free: 107.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002859/0.8617, allocations: 1.563 MB / 0.6104 GB, free: 107.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.158e-05/0.8617, allocations: 3.656 kB / 0.6104 GB, free: 107.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01002/0.8718, allocations: 4.241 MB / 0.6146 GB, free: 107.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.8718, allocations: 6.531 kB / 0.6146 GB, free: 107.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.749e-05/0.8719, allocations: 3.969 kB / 0.6146 GB, free: 107.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005084/0.877, allocations: 1.419 MB / 0.616 GB, free: 107 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002959/0.88, allocations: 393.1 kB / 0.6163 GB, free: 107 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02225/0.9023, allocations: 21.93 MB / 0.6378 GB, free: 94.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002322/0.9046, allocations: 36.59 kB / 0.6378 GB, free: 94.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002828/0.9049, allocations: 82.45 kB / 0.6379 GB, free: 94.12 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.0004224/0.9054, allocations: 155.4 kB / 0.638 GB, free: 94.02 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004906/0.9059, allocations: 261.2 kB / 0.6383 GB, free: 93.89 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005757/0.9116, allocations: 4.006 MB / 0.6422 GB, free: 93.64 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/0.9117, allocations: 25.03 kB / 0.6422 GB, free: 93.64 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/0.9117, allocations: 6.844 kB / 0.6422 GB, free: 93.64 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-05/0.9117, allocations: 10.78 kB / 0.6422 GB, free: 93.64 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01216/0.9239, allocations: 8.081 MB / 0.6501 GB, free: 90.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.425e-06/0.9239, allocations: 0 / 0.6501 GB, free: 90.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001263/0.9252, allocations: 299.3 kB / 0.6504 GB, free: 90.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002949/0.9282, allocations: 1.391 MB / 0.6518 GB, free: 90.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001572/0.9283, allocations: 26.47 kB / 0.6518 GB, free: 90.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01697/0.9453, allocations: 21.88 MB / 0.6732 GB, free: 73.72 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.9454, allocations: 3.906 kB / 0.6732 GB, free: 73.71 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007912/0.9533, allocations: 6.096 MB / 0.6791 GB, free: 71.28 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001458/0.9548, allocations: 0.6476 MB / 0.6797 GB, free: 70.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004875/0.9553, allocations: 19.42 kB / 0.6798 GB, free: 70.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001324/0.9566, allocations: 82.39 kB / 0.6798 GB, free: 70.89 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002945/0.9569, allocations: 145.7 kB / 0.68 GB, free: 70.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001567/0.9571, allocations: 68.8 kB / 0.6801 GB, free: 70.85 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.001858/0.9589, allocations: 1.426 MB / 0.6814 GB, free: 70.26 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003024/0.962, allocations: 0.8338 MB / 0.6823 GB, free: 70.26 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.0004234/0.9624, allocations: 228.5 kB / 0.6825 GB, free: 70.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005303/0.9677, allocations: 4.469 MB / 0.6868 GB, free: 67.99 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.9677, allocations: 0 / 0.6868 GB, free: 67.99 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003608/0.9713, allocations: 3.001 MB / 0.6898 GB, free: 66.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003091/0.9745, allocations: 0.5869 MB / 0.6903 GB, free: 66.21 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01233/0.9868, allocations: 7.019 MB / 0.6972 GB, free: 61.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003171/0.99, allocations: 3.336 MB / 0.7005 GB, free: 59.15 MB / 426.7 MB Notification: Performance of SimCode: time 1.694e-06/0.99, allocations: 0 / 0.7005 GB, free: 59.15 MB / 426.7 MB Notification: Performance of Templates: time 0.07454/1.065, allocations: 47.25 MB / 0.7466 GB, free: 24.45 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches