Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001456/0.001456, allocations: 186.1 kB / 16.4 MB, free: 5.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.922/1.922, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001081/0.001081, allocations: 98.8 kB / 270.9 MB, free: 8.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003866/0.0003867, allocations: 11.98 kB / 327 MB, free: 192 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3257/0.3261, allocations: 47.57 MB / 374.5 MB, free: 45.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1462/0.4724, allocations: 91.91 MB / 466.4 MB, free: 4.805 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003499/0.4728, allocations: 91.94 kB / 466.5 MB, free: 4.715 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7338/1.207, allocations: 116.1 MB / 0.569 GB, free: 33.72 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.685e-06/1.207, allocations: 0 / 0.569 GB, free: 33.72 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003754/1.207, allocations: 109.8 kB / 0.5691 GB, free: 33.62 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.01437/1.222, allocations: 4.249 MB / 0.5733 GB, free: 29.31 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/1.222, allocations: 12.03 kB / 0.5733 GB, free: 29.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002758/1.224, allocations: 0.5609 MB / 0.5738 GB, free: 28.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00754/1.232, allocations: 2.729 MB / 0.5765 GB, free: 25.97 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002203/1.232, allocations: 295.3 kB / 0.5768 GB, free: 25.68 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000999/1.233, allocations: 386.7 kB / 0.5771 GB, free: 25.31 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01372/1.247, allocations: 5.658 MB / 0.5827 GB, free: 19.47 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000119/1.247, allocations: 4 kB / 0.5827 GB, free: 19.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005975/1.248, allocations: 167.4 kB / 0.5828 GB, free: 19.3 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002423/1.248, allocations: 211.9 kB / 0.583 GB, free: 19.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01241/1.26, allocations: 4.658 MB / 0.5876 GB, free: 14.42 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03817/1.299, allocations: 16.45 MB / 0.6037 GB, free: 13.84 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01126/1.31, allocations: 6.779 MB / 0.6103 GB, free: 6.508 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006127/1.311, allocations: 151 kB / 0.6104 GB, free: 6.344 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.804e-05/1.311, allocations: 64.56 kB / 0.6105 GB, free: 6.273 MB / 394.7 MB Notification: Performance of pre-optimization done (n=249): time 5.741e-06/1.311, allocations: 3.938 kB / 0.6105 GB, free: 6.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=256): time 0.03292/1.344, allocations: 10.35 MB / 0.6206 GB, free: 11.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.007e-05/1.344, allocations: 81.36 kB / 0.6207 GB, free: 11.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005975/1.35, allocations: 2.363 MB / 0.623 GB, free: 9.234 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005045/1.35, allocations: 69.7 kB / 0.623 GB, free: 9.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001606/1.352, allocations: 1.5 MB / 0.6245 GB, free: 7.648 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001258/1.353, allocations: 0.8424 MB / 0.6253 GB, free: 6.816 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002685/1.353, allocations: 48 kB / 0.6254 GB, free: 6.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000266/1.354, allocations: 407.5 kB / 0.6258 GB, free: 6.363 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00361/1.357, allocations: 1.34 MB / 0.6271 GB, free: 5.02 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003859/1.361, allocations: 1.628 MB / 0.6287 GB, free: 3.301 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003976/1.365, allocations: 1.569 MB / 0.6302 GB, free: 1.711 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/1.365, allocations: 0 / 0.6302 GB, free: 1.711 MB / 410.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01184/1.377, allocations: 4.26 MB / 0.6343 GB, free: 13.37 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.417e-05/1.377, allocations: 8 kB / 0.6344 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.63e-05/1.377, allocations: 8 kB / 0.6344 GB, free: 13.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00598/1.383, allocations: 1.405 MB / 0.6357 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003075/1.386, allocations: 391.5 kB / 0.6361 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3424/1.729, allocations: 23.88 MB / 0.6594 GB, free: 76.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003237/1.732, allocations: 99.44 kB / 0.6595 GB, free: 76.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000524/1.733, allocations: 82.25 kB / 0.6596 GB, free: 76.74 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 () * Number of clocked 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.003597/1.736, allocations: 1.408 MB / 0.661 GB, free: 76.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001059/1.737, allocations: 298.8 kB / 0.6613 GB, free: 76.62 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01091/1.748, allocations: 4.199 MB / 0.6654 GB, free: 76.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.893e-05/1.748, allocations: 25.72 kB / 0.6654 GB, free: 76.36 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.837e-05/1.748, allocations: 6.5 kB / 0.6654 GB, free: 76.36 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.972e-05/1.748, allocations: 12.62 kB / 0.6654 GB, free: 76.36 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0259/1.774, allocations: 8.919 MB / 0.6741 GB, free: 75.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.532e-05/1.774, allocations: 0 / 0.6741 GB, free: 75.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00263/1.777, allocations: 298.1 kB / 0.6744 GB, free: 75.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006094/1.783, allocations: 1.383 MB / 0.6758 GB, free: 75.68 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005783/1.784, allocations: 62.83 kB / 0.6758 GB, free: 75.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03541/1.819, allocations: 23.65 MB / 0.6989 GB, free: 62.41 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/1.819, allocations: 0 / 0.6989 GB, free: 62.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01653/1.836, allocations: 6.163 MB / 0.7049 GB, free: 59.89 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002983/1.839, allocations: 0.6859 MB / 0.7056 GB, free: 59.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00116/1.84, allocations: 52.94 kB / 0.7056 GB, free: 59.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003267/1.843, allocations: 146.8 kB / 0.7058 GB, free: 59.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001041/1.844, allocations: 213.5 kB / 0.706 GB, free: 59.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002722/1.845, allocations: 64.67 kB / 0.706 GB, free: 59.36 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005058/1.85, allocations: 1.848 MB / 0.7079 GB, free: 58.65 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.62e-07/1.85, allocations: 0 / 0.7079 GB, free: 58.65 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006071/1.856, allocations: 0.9671 MB / 0.7088 GB, free: 58.56 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 () * Number of clocked 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.001059/1.857, allocations: 254.4 kB / 0.709 GB, free: 58.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01163/1.869, allocations: 4.877 MB / 0.7138 GB, free: 55.93 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/1.869, allocations: 2.688 kB / 0.7138 GB, free: 55.93 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007975/1.877, allocations: 3.372 MB / 0.7171 GB, free: 53.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007341/1.884, allocations: 0.8905 MB / 0.718 GB, free: 53.73 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02383/1.908, allocations: 9.897 MB / 0.7276 GB, free: 48.81 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005236/1.913, allocations: 3.175 MB / 0.7307 GB, free: 47.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001172/1.915, allocations: 171.4 kB / 0.7309 GB, free: 47.54 MB / 426.7 MB Notification: Performance of SimCode: time 1.002e-06/1.915, allocations: 0 / 0.7309 GB, free: 47.54 MB / 426.7 MB Notification: Performance of Templates: time 1.046/2.96, allocations: 248.4 MB / 0.9735 GB, free: 127 MB / 474.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches