Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00129/0.00129, allocations: 203.6 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.304/1.304, allocations: 226.5 MB / 245.4 MB, free: 8.172 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007638/0.0007638, allocations: 97.78 kB / 297.4 MB, free: 6.863 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000221/0.000221, allocations: 8 kB / 357.4 MB, free: 10.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1966/0.1968, allocations: 51.28 MB / 408.7 MB, free: 27.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09929/0.2961, allocations: 93.46 MB / 0.4904 GB, free: 14.09 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/0.2964, allocations: 93.92 kB / 0.4904 GB, free: 14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3844/0.6809, allocations: 116.5 MB / 0.6042 GB, free: 5.555 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.6809, allocations: 0 / 0.6042 GB, free: 5.555 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002205/0.6811, allocations: 119.8 kB / 0.6043 GB, free: 5.438 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.006373/0.6875, allocations: 4.242 MB / 0.6084 GB, free: 1.117 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.6875, allocations: 12.03 kB / 0.6084 GB, free: 1.105 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001244/0.6888, allocations: 0.5966 MB / 0.609 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00396/0.6928, allocations: 2.81 MB / 0.6118 GB, free: 13.62 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001789/0.693, allocations: 288.2 kB / 0.612 GB, free: 13.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005182/0.6935, allocations: 388.4 kB / 0.6124 GB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007989/0.7015, allocations: 5.671 MB / 0.618 GB, free: 7.09 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.359e-05/0.7016, allocations: 4.125 kB / 0.618 GB, free: 7.086 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003718/0.7019, allocations: 175.9 kB / 0.6181 GB, free: 6.914 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001672/0.7021, allocations: 204 kB / 0.6183 GB, free: 6.711 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007525/0.7096, allocations: 4.63 MB / 0.6228 GB, free: 2.062 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02277/0.7324, allocations: 16.43 MB / 0.6389 GB, free: 1.363 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006034/0.7385, allocations: 6.798 MB / 0.6455 GB, free: 10 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003425/0.7419, allocations: 2.653 MB / 0.6481 GB, free: 7.355 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003353/0.7423, allocations: 159 kB / 0.6483 GB, free: 7.18 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.077e-05/0.7424, allocations: 60.56 kB / 0.6483 GB, free: 7.113 MB / 426.7 MB Notification: Performance of pre-optimization done (n=249): time 4.028e-06/0.7424, allocations: 0 / 0.6483 GB, free: 7.113 MB / 426.7 MB Notification: Performance of matching and sorting (n=256): time 0.01788/0.7603, allocations: 10.63 MB / 0.6587 GB, free: 12.21 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/0.7603, allocations: 77.42 kB / 0.6588 GB, free: 12.12 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003427/0.7638, allocations: 2.629 MB / 0.6614 GB, free: 9.473 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001418/0.7639, allocations: 73.7 kB / 0.6614 GB, free: 9.395 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001041/0.765, allocations: 1.64 MB / 0.663 GB, free: 7.734 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005833/0.7656, allocations: 0.8393 MB / 0.6638 GB, free: 6.883 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.7657, allocations: 44 kB / 0.6639 GB, free: 6.84 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.7659, allocations: 406.7 kB / 0.6643 GB, free: 6.438 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001798/0.7677, allocations: 1.316 MB / 0.6656 GB, free: 5.117 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002085/0.7698, allocations: 1.621 MB / 0.6671 GB, free: 3.406 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003927/0.7737, allocations: 3.027 MB / 0.6701 GB, free: 268 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.7737, allocations: 4 kB / 0.6701 GB, free: 264 kB / 442.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.196/0.9698, allocations: 4.399 MB / 0.6744 GB, free: 79.39 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.967e-05/0.9698, allocations: 7.688 kB / 0.6744 GB, free: 79.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.599e-05/0.9699, allocations: 7.625 kB / 0.6744 GB, free: 79.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003243/0.9731, allocations: 1.414 MB / 0.6758 GB, free: 79.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001418/0.9746, allocations: 387.2 kB / 0.6762 GB, free: 79.31 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01931/0.9939, allocations: 23.49 MB / 0.6991 GB, free: 66.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002082/0.996, allocations: 91.98 kB / 0.6992 GB, free: 66.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001767/0.9962, allocations: 81.31 kB / 0.6993 GB, free: 66.05 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.002234/0.9984, allocations: 1.408 MB / 0.7006 GB, free: 65.93 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006878/0.9991, allocations: 300.2 kB / 0.7009 GB, free: 65.93 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005998/1.005, allocations: 4.155 MB / 0.705 GB, free: 65.66 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-05/1.005, allocations: 25.81 kB / 0.705 GB, free: 65.66 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.391e-05/1.005, allocations: 7.25 kB / 0.705 GB, free: 65.66 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.843e-05/1.005, allocations: 12.05 kB / 0.705 GB, free: 65.66 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0128/1.018, allocations: 8.907 MB / 0.7137 GB, free: 65.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/1.018, allocations: 0 / 0.7137 GB, free: 65.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/1.019, allocations: 296.9 kB / 0.714 GB, free: 65.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002837/1.022, allocations: 1.388 MB / 0.7154 GB, free: 64.96 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001553/1.022, allocations: 56.81 kB / 0.7154 GB, free: 64.96 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01842/1.041, allocations: 23.25 MB / 0.7381 GB, free: 48.82 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.041, allocations: 3.969 kB / 0.7381 GB, free: 48.82 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008282/1.049, allocations: 6.075 MB / 0.7441 GB, free: 46.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001805/1.051, allocations: 0.6829 MB / 0.7447 GB, free: 45.89 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003932/1.051, allocations: 59.58 kB / 0.7448 GB, free: 45.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001237/1.052, allocations: 128.9 kB / 0.7449 GB, free: 45.83 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005255/1.053, allocations: 216.6 kB / 0.7451 GB, free: 45.79 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000141/1.053, allocations: 68.52 kB / 0.7452 GB, free: 45.78 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002522/1.056, allocations: 1.841 MB / 0.747 GB, free: 45.08 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.8e-07/1.056, allocations: 3.688 kB / 0.747 GB, free: 45.08 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003218/1.059, allocations: 0.972 MB / 0.7479 GB, free: 44.98 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.000467/1.059, allocations: 253.7 kB / 0.7482 GB, free: 44.86 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005957/1.065, allocations: 4.832 MB / 0.7529 GB, free: 42.38 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/1.065, allocations: 4.844 kB / 0.7529 GB, free: 42.38 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003852/1.069, allocations: 3.36 MB / 0.7562 GB, free: 40.41 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004255/1.073, allocations: 0.9137 MB / 0.7571 GB, free: 40.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0133/1.087, allocations: 9.848 MB / 0.7667 GB, free: 35.29 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002517/1.089, allocations: 3.094 MB / 0.7697 GB, free: 34.03 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008176/1.09, allocations: 176.8 kB / 0.7699 GB, free: 34.02 MB / 442.7 MB Notification: Performance of SimCode: time 1.303e-06/1.09, allocations: 0 / 0.7699 GB, free: 34.02 MB / 442.7 MB Notification: Performance of Templates: time 0.5956/1.686, allocations: 260.8 MB / 1.025 GB, free: 119.5 MB / 490.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_trunk_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches