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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001496/0.001496, allocations: 173 kB / 14.1 MB, free: 1.223 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.331/1.331, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0008658/0.0008658, allocations: 90.69 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.151e-05/2.16e-05, allocations: 4 kB / 322.5 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07184/0.07187, allocations: 47.57 MB / 370 MB, free: 1.707 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2854/0.3573, allocations: 91.81 MB / 461.8 MB, free: 1.574 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.3576, allocations: 84.48 kB / 461.9 MB, free: 1.531 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4769/0.8345, allocations: 116.5 MB / 0.5649 GB, free: 78.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.786e-06/0.8346, allocations: 0 / 0.5649 GB, free: 78.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004007/0.835, allocations: 116.5 kB / 0.565 GB, free: 78.33 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.009912/0.845, allocations: 3.809 MB / 0.5687 GB, free: 76.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.845, allocations: 10.59 kB / 0.5687 GB, free: 76.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002302/0.8473, allocations: 0.5536 MB / 0.5693 GB, free: 76.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005633/0.853, allocations: 2.715 MB / 0.5719 GB, free: 75.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001918/0.8532, allocations: 296.6 kB / 0.5722 GB, free: 75.98 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001097/0.8543, allocations: 388.5 kB / 0.5726 GB, free: 75.97 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009966/0.8643, allocations: 5.576 MB / 0.578 GB, free: 75.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.724e-05/0.8644, allocations: 0 / 0.578 GB, free: 75.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004047/0.8648, allocations: 169.6 kB / 0.5782 GB, free: 75.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001751/0.865, allocations: 205.4 kB / 0.5784 GB, free: 75.36 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007392/0.8724, allocations: 4.549 MB / 0.5828 GB, free: 74.65 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02473/0.8971, allocations: 16.45 MB / 0.5989 GB, free: 66.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005191/0.9024, allocations: 6.719 MB / 0.6054 GB, free: 61.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00295/0.9054, allocations: 2.625 MB / 0.608 GB, free: 60.87 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003251/0.9057, allocations: 155.3 kB / 0.6081 GB, free: 60.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.451e-05/0.9058, allocations: 59.03 kB / 0.6082 GB, free: 60.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=249): time 4.528e-06/0.9058, allocations: 2.344 kB / 0.6082 GB, free: 60.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=256): time 0.01215/0.9179, allocations: 7.744 MB / 0.6158 GB, free: 57.28 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.918, allocations: 79.55 kB / 0.6158 GB, free: 57.21 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003252/0.9212, allocations: 2.328 MB / 0.6181 GB, free: 55.44 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000162/0.9214, allocations: 73.7 kB / 0.6182 GB, free: 55.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008228/0.9223, allocations: 1.638 MB / 0.6198 GB, free: 53.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004875/0.9227, allocations: 0.8433 MB / 0.6206 GB, free: 53.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.9229, allocations: 44 kB / 0.6206 GB, free: 53.09 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.923, allocations: 406.9 kB / 0.621 GB, free: 52.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001515/0.9245, allocations: 1.278 MB / 0.6223 GB, free: 51.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001627/0.9262, allocations: 1.575 MB / 0.6238 GB, free: 50.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001733/0.9279, allocations: 1.52 MB / 0.6253 GB, free: 48.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.9279, allocations: 0 / 0.6253 GB, free: 48.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.006076/0.934, allocations: 4.322 MB / 0.6295 GB, free: 45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.86e-05/0.934, allocations: 4 kB / 0.6295 GB, free: 45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/0.9341, allocations: 8 kB / 0.6295 GB, free: 44.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003027/0.9371, allocations: 1.408 MB / 0.6309 GB, free: 43.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/0.9385, allocations: 390.6 kB / 0.6313 GB, free: 43.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01874/0.9573, allocations: 23.41 MB / 0.6541 GB, free: 20.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002513/0.9598, allocations: 90.84 kB / 0.6542 GB, free: 20.65 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001992/0.96, allocations: 87.41 kB / 0.6543 GB, free: 20.57 MB / 410.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.0004228/0.9605, allocations: 232.5 kB / 0.6545 GB, free: 20.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004316/0.9609, allocations: 304.4 kB / 0.6548 GB, free: 20.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005723/0.9666, allocations: 4.075 MB / 0.6588 GB, free: 16.52 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/0.9667, allocations: 24 kB / 0.6588 GB, free: 16.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/0.9667, allocations: 11.95 kB / 0.6588 GB, free: 16.48 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-05/0.9667, allocations: 13.5 kB / 0.6588 GB, free: 16.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01234/0.9791, allocations: 8.821 MB / 0.6675 GB, free: 7.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-06/0.9791, allocations: 0 / 0.6675 GB, free: 7.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001118/0.9802, allocations: 287.6 kB / 0.6677 GB, free: 7.559 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002757/0.983, allocations: 1.378 MB / 0.6691 GB, free: 6.152 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001451/0.9832, allocations: 63.97 kB / 0.6691 GB, free: 6.09 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2518/1.235, allocations: 23.15 MB / 0.6918 GB, free: 81.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.235, allocations: 7.188 kB / 0.6918 GB, free: 81.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009886/1.245, allocations: 5.967 MB / 0.6976 GB, free: 80.67 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001898/1.247, allocations: 0.6839 MB / 0.6983 GB, free: 80.57 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003912/1.247, allocations: 57.34 kB / 0.6983 GB, free: 80.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001392/1.249, allocations: 127.8 kB / 0.6984 GB, free: 80.57 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006028/1.249, allocations: 209.5 kB / 0.6986 GB, free: 80.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001655/1.249, allocations: 69.8 kB / 0.6987 GB, free: 80.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003072/1.253, allocations: 1.819 MB / 0.7005 GB, free: 80.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.3e-07/1.253, allocations: 0.9688 kB / 0.7005 GB, free: 80.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003667/1.256, allocations: 0.9714 MB / 0.7014 GB, free: 80.41 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.0005147/1.257, allocations: 259.2 kB / 0.7017 GB, free: 80.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006413/1.263, allocations: 4.738 MB / 0.7063 GB, free: 79.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/1.263, allocations: 3.406 kB / 0.7063 GB, free: 79.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003672/1.267, allocations: 3.281 MB / 0.7095 GB, free: 77.92 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004204/1.271, allocations: 0.8976 MB / 0.7104 GB, free: 77.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/1.282, allocations: 7.017 MB / 0.7172 GB, free: 76.58 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002486/1.284, allocations: 3.251 MB / 0.7204 GB, free: 75.79 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001797/1.286, allocations: 0.5688 MB / 0.721 GB, free: 75.76 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004266/1.286, allocations: 157.3 kB / 0.7211 GB, free: 75.76 MB / 426.7 MB Notification: Performance of SimCode: time 1.002e-06/1.286, allocations: 2.719 kB / 0.7211 GB, free: 75.76 MB / 426.7 MB Notification: Performance of Templates: time 0.07589/1.362, allocations: 58.5 MB / 0.7782 GB, free: 56.05 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