Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001103/0.001103, allocations: 197.4 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.278/1.278, allocations: 225.6 MB / 234.8 MB, free: 3.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009608/0.0009609, allocations: 91.7 kB / 286.7 MB, free: 5.297 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.498e-05/1.509e-05, allocations: 4 kB / 343.7 MB, free: 8.246 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09129/0.09132, allocations: 51.48 MB / 395.2 MB, free: 4.727 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3316/0.4229, allocations: 91.14 MB / 486.3 MB, free: 2.066 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.4232, allocations: 84.97 kB / 486.4 MB, free: 2.023 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.149/0.5723, allocations: 63.07 MB / 0.5366 GB, free: 7.875 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.5723, allocations: 0 / 0.5366 GB, free: 7.875 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002385/0.5726, allocations: 63.94 kB / 0.5366 GB, free: 7.812 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.005717/0.5783, allocations: 2.292 MB / 0.5389 GB, free: 5.465 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.5783, allocations: 8.031 kB / 0.5389 GB, free: 5.457 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001403/0.5797, allocations: 352.6 kB / 0.5392 GB, free: 5.109 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002942/0.5827, allocations: 1.565 MB / 0.5408 GB, free: 3.488 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.104e-05/0.5828, allocations: 68 kB / 0.5408 GB, free: 3.422 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004073/0.5832, allocations: 127.9 kB / 0.5409 GB, free: 3.297 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003847/0.5871, allocations: 2.309 MB / 0.5432 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004247/0.5913, allocations: 2.707 MB / 0.5458 GB, free: 14.13 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.776e-05/0.5914, allocations: 0 / 0.5458 GB, free: 14.13 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001673/0.5915, allocations: 8 kB / 0.5459 GB, free: 14.12 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001045/0.5917, allocations: 112.4 kB / 0.546 GB, free: 14.01 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01198/0.6036, allocations: 8.433 MB / 0.5542 GB, free: 5.422 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002731/0.6064, allocations: 3.263 MB / 0.5574 GB, free: 1.852 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001488/0.6079, allocations: 1.218 MB / 0.5586 GB, free: 0.6289 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002711/0.6082, allocations: 134.4 kB / 0.5587 GB, free: 488 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.6082, allocations: 55.86 kB / 0.5588 GB, free: 424 kB / 426.7 MB Notification: Performance of pre-optimization done (n=128): time 3.086e-06/0.6083, allocations: 0 / 0.5588 GB, free: 424 kB / 426.7 MB Notification: Performance of matching and sorting (n=132): time 0.005979/0.6142, allocations: 3.858 MB / 0.5625 GB, free: 12.49 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.6143, allocations: 64.72 kB / 0.5626 GB, free: 12.42 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/0.6156, allocations: 1.057 MB / 0.5636 GB, free: 11.35 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.827e-05/0.6157, allocations: 29.7 kB / 0.5636 GB, free: 11.31 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005502/0.6162, allocations: 0.9473 MB / 0.5646 GB, free: 10.35 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002893/0.6165, allocations: 429.5 kB / 0.565 GB, free: 9.926 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-05/0.6166, allocations: 0 / 0.565 GB, free: 9.926 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.6167, allocations: 365.8 kB / 0.5653 GB, free: 9.562 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007884/0.6175, allocations: 0.6311 MB / 0.5659 GB, free: 8.93 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009235/0.6184, allocations: 0.7893 MB / 0.5667 GB, free: 8.098 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009479/0.6194, allocations: 0.7596 MB / 0.5675 GB, free: 7.336 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.6194, allocations: 0 / 0.5675 GB, free: 7.336 MB / 442.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002988/0.6224, allocations: 2.095 MB / 0.5695 GB, free: 5.219 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.6224, allocations: 4 kB / 0.5695 GB, free: 5.215 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.6224, allocations: 4 kB / 0.5695 GB, free: 5.211 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001533/0.624, allocations: 0.6902 MB / 0.5702 GB, free: 4.508 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007892/0.6248, allocations: 207.7 kB / 0.5704 GB, free: 4.305 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2314/0.8562, allocations: 10.12 MB / 0.5803 GB, free: 81.56 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/0.8573, allocations: 28.89 kB / 0.5803 GB, free: 81.56 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.8574, allocations: 45.72 kB / 0.5803 GB, free: 81.56 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 99 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002256/0.8577, allocations: 124.2 kB / 0.5805 GB, free: 81.46 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002205/0.8579, allocations: 143.8 kB / 0.5806 GB, free: 81.46 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002772/0.8607, allocations: 1.977 MB / 0.5825 GB, free: 81.36 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.8607, allocations: 12.44 kB / 0.5825 GB, free: 81.36 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.8607, allocations: 6.156 kB / 0.5825 GB, free: 81.36 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.8607, allocations: 6.516 kB / 0.5825 GB, free: 81.36 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005855/0.8666, allocations: 4.249 MB / 0.5867 GB, free: 80.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.8666, allocations: 0 / 0.5867 GB, free: 80.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006331/0.8673, allocations: 157.9 kB / 0.5868 GB, free: 80.95 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001404/0.8687, allocations: 0.6787 MB / 0.5875 GB, free: 80.91 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.082e-05/0.8688, allocations: 12.8 kB / 0.5875 GB, free: 80.91 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008578/0.8773, allocations: 10.02 MB / 0.5973 GB, free: 75.85 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/0.8774, allocations: 5.062 kB / 0.5973 GB, free: 75.85 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003982/0.8814, allocations: 3.008 MB / 0.6002 GB, free: 75.51 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007754/0.8822, allocations: 385.1 kB / 0.6006 GB, free: 75.34 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001661/0.8824, allocations: 10.53 kB / 0.6006 GB, free: 75.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006935/0.8831, allocations: 52.72 kB / 0.6007 GB, free: 75.34 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002371/0.8833, allocations: 111.5 kB / 0.6008 GB, free: 75.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.301e-05/0.8834, allocations: 39.23 kB / 0.6008 GB, free: 75.34 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001047/0.8844, allocations: 0.8144 MB / 0.6016 GB, free: 75.23 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8844, allocations: 0 / 0.6016 GB, free: 75.23 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00173/0.8862, allocations: 481.6 kB / 0.6021 GB, free: 75.23 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 74 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003293/0.8865, allocations: 184.8 kB / 0.6022 GB, free: 75.14 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002574/0.8891, allocations: 2.23 MB / 0.6044 GB, free: 74.66 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.8891, allocations: 3.875 kB / 0.6044 GB, free: 74.66 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001641/0.8908, allocations: 1.499 MB / 0.6059 GB, free: 74.19 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/0.8922, allocations: 347.2 kB / 0.6062 GB, free: 74.18 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005862/0.8981, allocations: 3.636 MB / 0.6098 GB, free: 73.41 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001358/0.8995, allocations: 2.084 MB / 0.6118 GB, free: 72.67 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007952/0.9003, allocations: 277.6 kB / 0.6121 GB, free: 72.66 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002232/0.9005, allocations: 78.22 kB / 0.6121 GB, free: 72.65 MB / 442.7 MB Notification: Performance of SimCode: time 6.12e-07/0.9005, allocations: 0 / 0.6121 GB, free: 72.65 MB / 442.7 MB Notification: Performance of Templates: time 0.04301/0.9435, allocations: 24.26 MB / 0.6358 GB, free: 71.8 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches