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.001519/0.001519, allocations: 200.7 kB / 18.11 MB, free: 3.715 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 226.5 MB / 245.4 MB, free: 8.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007826/0.0007825, allocations: 99 kB / 297.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002136/0.0002136, allocations: 8 kB / 358.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1947, allocations: 51.29 MB / 409.4 MB, free: 27.65 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1003/0.295, allocations: 91.86 MB / 0.4895 GB, free: 15.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/0.2953, allocations: 83.95 kB / 0.4896 GB, free: 15.58 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2872/0.5825, allocations: 63.61 MB / 0.5517 GB, free: 60.25 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.5826, allocations: 0 / 0.5517 GB, free: 60.25 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001933/0.5828, allocations: 59.94 kB / 0.5517 GB, free: 60.19 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.005294/0.5881, allocations: 2.511 MB / 0.5542 GB, free: 57.61 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.5881, allocations: 8.031 kB / 0.5542 GB, free: 57.61 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001204/0.5893, allocations: 349.6 kB / 0.5545 GB, free: 57.26 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0026/0.592, allocations: 1.619 MB / 0.5561 GB, free: 55.59 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.748e-05/0.5921, allocations: 164.7 kB / 0.5563 GB, free: 55.42 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003512/0.5924, allocations: 216.4 kB / 0.5565 GB, free: 55.21 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004251/0.5967, allocations: 3.106 MB / 0.5595 GB, free: 51.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.535e-05/0.5967, allocations: 192 / 0.5595 GB, free: 51.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001981/0.5969, allocations: 91.94 kB / 0.5596 GB, free: 51.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.98e-05/0.597, allocations: 116.4 kB / 0.5597 GB, free: 51.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00355/0.6006, allocations: 2.52 MB / 0.5622 GB, free: 49.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01122/0.6118, allocations: 8.915 MB / 0.5709 GB, free: 40.12 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002577/0.6144, allocations: 3.362 MB / 0.5742 GB, free: 36.45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001557/0.616, allocations: 1.333 MB / 0.5755 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002737/0.6163, allocations: 138.3 kB / 0.5756 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.011e-05/0.6164, allocations: 51.88 kB / 0.5756 GB, free: 34.9 MB / 378.7 MB Notification: Performance of pre-optimization done (n=128): time 3.567e-06/0.6164, allocations: 0 / 0.5756 GB, free: 34.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=132): time 0.008833/0.6252, allocations: 5.653 MB / 0.5812 GB, free: 29.1 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.6253, allocations: 68.72 kB / 0.5812 GB, free: 29.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001927/0.6272, allocations: 1.486 MB / 0.5827 GB, free: 27.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.559e-05/0.6273, allocations: 49.64 kB / 0.5827 GB, free: 27.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004092/0.6277, allocations: 0.9371 MB / 0.5836 GB, free: 26.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000221/0.628, allocations: 449.6 kB / 0.5841 GB, free: 26.07 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.949e-05/0.628, allocations: 20 kB / 0.5841 GB, free: 26.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.643e-05/0.6281, allocations: 361.9 kB / 0.5844 GB, free: 25.69 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008332/0.6289, allocations: 0.6779 MB / 0.5851 GB, free: 25.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009113/0.6299, allocations: 0.8542 MB / 0.5859 GB, free: 24.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001762/0.6316, allocations: 1.569 MB / 0.5875 GB, free: 22.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.6317, allocations: 4 kB / 0.5875 GB, free: 22.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003089/0.6347, allocations: 2.29 MB / 0.5897 GB, free: 20.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.6348, allocations: 4 kB / 0.5897 GB, free: 20.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.6348, allocations: 11.98 kB / 0.5897 GB, free: 20.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001436/0.6362, allocations: 0.698 MB / 0.5904 GB, free: 19.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007253/0.637, allocations: 211.7 kB / 0.5906 GB, free: 19.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008469/0.6455, allocations: 10.52 MB / 0.6009 GB, free: 8.195 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009621/0.6465, allocations: 47.97 kB / 0.6009 GB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/0.6466, allocations: 43.98 kB / 0.601 GB, free: 8.105 MB / 378.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 () * Number of clocked 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.001159/0.6478, allocations: 0.8198 MB / 0.6018 GB, free: 7.277 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003122/0.6481, allocations: 158.1 kB / 0.6019 GB, free: 7.121 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00285/0.6509, allocations: 2.164 MB / 0.604 GB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.296e-06/0.651, allocations: 12 kB / 0.604 GB, free: 4.922 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.651, allocations: 7.938 kB / 0.604 GB, free: 4.914 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/0.651, allocations: 11.97 kB / 0.6041 GB, free: 4.902 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0065/0.6575, allocations: 4.738 MB / 0.6087 GB, free: 68 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.6575, allocations: 4 kB / 0.6087 GB, free: 64 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006434/0.6582, allocations: 159.8 kB / 0.6088 GB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001572/0.6598, allocations: 0.7065 MB / 0.6095 GB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.169e-05/0.6599, allocations: 27.83 kB / 0.6096 GB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.011/0.6709, allocations: 10.41 MB / 0.6197 GB, free: 4.215 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.6709, allocations: 11.91 kB / 0.6197 GB, free: 4.203 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00527/0.6762, allocations: 3.191 MB / 0.6229 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/0.6773, allocations: 403.1 kB / 0.6232 GB, free: 0.5508 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003663/0.6776, allocations: 32 kB / 0.6233 GB, free: 0.5195 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000881/0.6785, allocations: 71.94 kB / 0.6233 GB, free: 460 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002989/0.6788, allocations: 121 kB / 0.6235 GB, free: 340 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.775e-05/0.6789, allocations: 32.09 kB / 0.6235 GB, free: 308 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001748/0.6807, allocations: 1.052 MB / 0.6245 GB, free: 15.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.6807, allocations: 0 / 0.6245 GB, free: 15.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002024/0.6827, allocations: 0.5312 MB / 0.625 GB, free: 14.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * 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.0004784/0.6832, allocations: 199.1 kB / 0.6252 GB, free: 14.51 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003872/0.6871, allocations: 2.393 MB / 0.6276 GB, free: 12.06 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/0.6871, allocations: 8.25 kB / 0.6276 GB, free: 12.05 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002557/0.6897, allocations: 1.632 MB / 0.6292 GB, free: 10.37 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003041/0.6928, allocations: 488 kB / 0.6296 GB, free: 9.898 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009604/0.7024, allocations: 5.446 MB / 0.6349 GB, free: 4.414 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002245/0.7047, allocations: 2.047 MB / 0.6369 GB, free: 2.328 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001172/0.7059, allocations: 301.4 kB / 0.6372 GB, free: 2.027 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003409/0.7062, allocations: 91.42 kB / 0.6373 GB, free: 1.938 MB / 410.7 MB Notification: Performance of SimCode: time 7.92e-07/0.7062, allocations: 0 / 0.6373 GB, free: 1.938 MB / 410.7 MB Notification: Performance of Templates: time 0.05413/0.7604, allocations: 31.06 MB / 0.6676 GB, free: 3.168 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/jenkins1/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