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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001413/0.001413, allocations: 176.4 kB / 17.4 MB, free: 4.301 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 223.3 MB / 241.4 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009497/0.0009498, allocations: 100.9 kB / 292.6 MB, free: 10.8 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002685/0.0002686, allocations: 11.94 kB / 352.4 MB, free: 15.03 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2053, allocations: 50.4 MB / 402.8 MB, free: 32.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1088/0.3142, allocations: 92.75 MB / 495.5 MB, free: 3.59 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/0.3145, allocations: 90.39 kB / 495.6 MB, free: 3.504 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4308/0.7454, allocations: 116.5 MB / 0.5977 GB, free: 14.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.7454, allocations: 4 kB / 0.5977 GB, free: 14.33 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003908/0.7458, allocations: 107.9 kB / 0.5978 GB, free: 14.23 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.01073/0.7566, allocations: 4.25 MB / 0.602 GB, free: 9.902 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.7566, allocations: 8.031 kB / 0.602 GB, free: 9.895 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002547/0.7592, allocations: 0.5576 MB / 0.6025 GB, free: 9.332 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005793/0.765, allocations: 2.814 MB / 0.6053 GB, free: 6.441 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000223/0.7652, allocations: 296.2 kB / 0.6055 GB, free: 6.152 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001139/0.7664, allocations: 384.4 kB / 0.6059 GB, free: 5.777 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01268/0.7791, allocations: 5.667 MB / 0.6114 GB, free: 15.91 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001376/0.7793, allocations: 192 / 0.6114 GB, free: 15.91 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001082/0.7803, allocations: 171.9 kB / 0.6116 GB, free: 15.74 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002651/0.7806, allocations: 207.9 kB / 0.6118 GB, free: 15.54 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01017/0.7908, allocations: 4.638 MB / 0.6163 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03148/0.8223, allocations: 16.43 MB / 0.6324 GB, free: 10.19 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007314/0.8297, allocations: 6.791 MB / 0.639 GB, free: 2.832 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004272/0.834, allocations: 2.653 MB / 0.6416 GB, free: 184 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000413/0.8344, allocations: 155 kB / 0.6418 GB, free: 8 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.279e-05/0.8345, allocations: 56.56 kB / 0.6418 GB, free: 15.95 MB / 426.7 MB Notification: Performance of pre-optimization done (n=249): time 4.99e-06/0.8345, allocations: 0 / 0.6418 GB, free: 15.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=256): time 0.02144/0.856, allocations: 10.64 MB / 0.6522 GB, free: 5.031 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.052e-05/0.8561, allocations: 77.42 kB / 0.6523 GB, free: 4.941 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005002/0.8611, allocations: 2.632 MB / 0.6548 GB, free: 2.289 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004244/0.8616, allocations: 69.7 kB / 0.6549 GB, free: 2.215 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001317/0.8629, allocations: 1.636 MB / 0.6565 GB, free: 0.5586 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009359/0.8638, allocations: 0.8436 MB / 0.6573 GB, free: 15.7 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002449/0.8641, allocations: 52 kB / 0.6574 GB, free: 15.65 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002097/0.8643, allocations: 398.7 kB / 0.6578 GB, free: 15.25 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002171/0.8665, allocations: 1.316 MB / 0.659 GB, free: 13.93 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002373/0.8689, allocations: 1.625 MB / 0.6606 GB, free: 12.22 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004616/0.8735, allocations: 3.015 MB / 0.6636 GB, free: 9.086 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.8735, allocations: 4 kB / 0.6636 GB, free: 9.082 MB / 442.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.007815/0.8814, allocations: 4.414 MB / 0.6679 GB, free: 4.586 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.8814, allocations: 8 kB / 0.6679 GB, free: 4.578 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/0.8814, allocations: 4 kB / 0.6679 GB, free: 4.574 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003401/0.8848, allocations: 1.413 MB / 0.6693 GB, free: 3.129 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/0.8865, allocations: 387.5 kB / 0.6697 GB, free: 2.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2074/1.094, allocations: 23.47 MB / 0.6926 GB, free: 73.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002833/1.097, allocations: 93.94 kB / 0.6927 GB, free: 73.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003974/1.097, allocations: 81.66 kB / 0.6927 GB, free: 73.32 MB / 442.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.002306/1.099, allocations: 1.409 MB / 0.6941 GB, free: 73.21 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006513/1.1, allocations: 305.1 kB / 0.6944 GB, free: 73.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005542/1.106, allocations: 4.156 MB / 0.6985 GB, free: 72.93 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/1.106, allocations: 23.97 kB / 0.6985 GB, free: 72.93 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/1.106, allocations: 7.344 kB / 0.6985 GB, free: 72.93 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.795e-05/1.106, allocations: 18.45 kB / 0.6985 GB, free: 72.93 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01264/1.118, allocations: 8.9 MB / 0.7072 GB, free: 72.32 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/1.118, allocations: 3.906 kB / 0.7072 GB, free: 72.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001041/1.119, allocations: 293.6 kB / 0.7075 GB, free: 72.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002861/1.122, allocations: 1.381 MB / 0.7088 GB, free: 72.23 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001408/1.123, allocations: 62.11 kB / 0.7089 GB, free: 72.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01735/1.14, allocations: 23.24 MB / 0.7316 GB, free: 57.82 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/1.14, allocations: 0 / 0.7316 GB, free: 57.82 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00809/1.148, allocations: 6.088 MB / 0.7375 GB, free: 55.33 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001579/1.15, allocations: 0.6835 MB / 0.7382 GB, free: 54.92 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003526/1.15, allocations: 56.36 kB / 0.7383 GB, free: 54.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001237/1.151, allocations: 133.5 kB / 0.7384 GB, free: 54.85 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004746/1.152, allocations: 213 kB / 0.7386 GB, free: 54.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001316/1.152, allocations: 66.88 kB / 0.7387 GB, free: 54.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002371/1.154, allocations: 1.847 MB / 0.7405 GB, free: 54.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.31e-07/1.154, allocations: 3 kB / 0.7405 GB, free: 54.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003125/1.157, allocations: 0.9689 MB / 0.7414 GB, free: 54.01 MB / 442.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.000447/1.158, allocations: 256.6 kB / 0.7417 GB, free: 53.88 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005787/1.164, allocations: 4.849 MB / 0.7464 GB, free: 51.39 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/1.164, allocations: 0 / 0.7464 GB, free: 51.39 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003976/1.168, allocations: 3.361 MB / 0.7497 GB, free: 49.43 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004735/1.172, allocations: 0.9024 MB / 0.7506 GB, free: 49.21 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0142/1.187, allocations: 9.912 MB / 0.7602 GB, free: 44.31 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002615/1.189, allocations: 3.17 MB / 0.7633 GB, free: 43.05 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001952/1.191, allocations: 0.5647 MB / 0.7639 GB, free: 43 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004048/1.192, allocations: 163.4 kB / 0.764 GB, free: 42.99 MB / 442.7 MB Notification: Performance of SimCode: time 1.102e-06/1.192, allocations: 0 / 0.764 GB, free: 42.99 MB / 442.7 MB Notification: Performance of Templates: time 0.08643/1.278, allocations: 59.04 MB / 0.8217 GB, free: 1.348 MB / 442.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/jenkins1/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