Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_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_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_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001773/0.001772, allocations: 196.6 kB / 18.1 MB, free: 3.617 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 226.5 MB / 245.4 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007517/0.0007517, allocations: 96.84 kB / 297.5 MB, free: 6.902 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000204/0.0002038, allocations: 8 kB / 358.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2/0.2002, allocations: 51.28 MB / 409.4 MB, free: 27.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1079/0.3081, allocations: 93.46 MB / 0.4911 GB, free: 14.05 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/0.3084, allocations: 89.98 kB / 0.4911 GB, free: 13.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4148/0.7233, allocations: 116.5 MB / 0.6049 GB, free: 5.535 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.7233, allocations: 0 / 0.6049 GB, free: 5.535 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004678/0.7238, allocations: 111.8 kB / 0.605 GB, free: 5.426 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.01281/0.7367, allocations: 4.25 MB / 0.6091 GB, free: 1.098 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.672e-05/0.7367, allocations: 12.03 kB / 0.6091 GB, free: 1.086 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003282/0.74, allocations: 0.5888 MB / 0.6097 GB, free: 0.4922 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007897/0.748, allocations: 2.81 MB / 0.6125 GB, free: 13.61 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002972/0.7483, allocations: 292.2 kB / 0.6127 GB, free: 13.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001451/0.7497, allocations: 388.3 kB / 0.6131 GB, free: 12.94 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01455/0.7643, allocations: 5.671 MB / 0.6187 GB, free: 7.074 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001231/0.7645, allocations: 192 / 0.6187 GB, free: 7.074 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009329/0.7654, allocations: 171.9 kB / 0.6188 GB, free: 6.906 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000228/0.7657, allocations: 212 kB / 0.619 GB, free: 6.695 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009677/0.7753, allocations: 4.63 MB / 0.6235 GB, free: 2.047 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03369/0.8091, allocations: 16.44 MB / 0.6396 GB, free: 1.344 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00702/0.8161, allocations: 6.791 MB / 0.6462 GB, free: 9.992 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003758/0.8199, allocations: 2.653 MB / 0.6488 GB, free: 7.344 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003938/0.8204, allocations: 159 kB / 0.649 GB, free: 7.168 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.855e-05/0.8204, allocations: 60.56 kB / 0.649 GB, free: 7.102 MB / 426.7 MB Notification: Performance of pre-optimization done (n=249): time 5.67e-06/0.8205, allocations: 0 / 0.649 GB, free: 7.102 MB / 426.7 MB Notification: Performance of matching and sorting (n=256): time 0.02216/0.8426, allocations: 10.64 MB / 0.6594 GB, free: 12.2 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.819e-05/0.8428, allocations: 77.42 kB / 0.6595 GB, free: 12.11 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00537/0.8481, allocations: 2.629 MB / 0.6621 GB, free: 9.457 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003537/0.8485, allocations: 65.7 kB / 0.6621 GB, free: 9.387 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001427/0.8499, allocations: 1.644 MB / 0.6637 GB, free: 7.723 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009408/0.8509, allocations: 0.8388 MB / 0.6645 GB, free: 6.875 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001969/0.8511, allocations: 48 kB / 0.6646 GB, free: 6.828 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002322/0.8514, allocations: 402.7 kB / 0.665 GB, free: 6.43 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002162/0.8535, allocations: 1.316 MB / 0.6663 GB, free: 5.109 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002261/0.8558, allocations: 1.625 MB / 0.6678 GB, free: 3.395 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00425/0.8601, allocations: 3.019 MB / 0.6708 GB, free: 264 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/0.8601, allocations: 4 kB / 0.6708 GB, free: 260 kB / 442.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.2715/1.132, allocations: 4.405 MB / 0.6751 GB, free: 78.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/1.132, allocations: 7.406 kB / 0.6751 GB, free: 78.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/1.132, allocations: 7.406 kB / 0.6751 GB, free: 78.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002942/1.135, allocations: 1.408 MB / 0.6765 GB, free: 78.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001514/1.136, allocations: 399.4 kB / 0.6769 GB, free: 78.52 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01913/1.155, allocations: 23.48 MB / 0.6998 GB, free: 65.26 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002324/1.158, allocations: 93.86 kB / 0.6999 GB, free: 65.26 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002452/1.158, allocations: 83.62 kB / 0.7 GB, free: 65.26 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.002547/1.161, allocations: 1.41 MB / 0.7013 GB, free: 65.14 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007151/1.161, allocations: 295 kB / 0.7016 GB, free: 65.14 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005992/1.167, allocations: 4.156 MB / 0.7057 GB, free: 64.87 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.988e-05/1.167, allocations: 26.41 kB / 0.7057 GB, free: 64.87 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.409e-05/1.167, allocations: 7.844 kB / 0.7057 GB, free: 64.87 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.996e-05/1.167, allocations: 13.12 kB / 0.7057 GB, free: 64.87 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01397/1.181, allocations: 8.902 MB / 0.7144 GB, free: 64.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.106e-05/1.181, allocations: 3.656 kB / 0.7144 GB, free: 64.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/1.182, allocations: 299.8 kB / 0.7147 GB, free: 64.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003149/1.186, allocations: 1.387 MB / 0.7161 GB, free: 64.17 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001753/1.186, allocations: 62.19 kB / 0.7161 GB, free: 64.17 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01805/1.204, allocations: 23.24 MB / 0.7388 GB, free: 48 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.204, allocations: 7.094 kB / 0.7388 GB, free: 48 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008213/1.212, allocations: 6.075 MB / 0.7448 GB, free: 45.49 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001821/1.214, allocations: 0.6851 MB / 0.7454 GB, free: 45.08 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004186/1.214, allocations: 54.36 kB / 0.7455 GB, free: 45.04 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001252/1.216, allocations: 134.1 kB / 0.7456 GB, free: 45.01 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004898/1.216, allocations: 212 kB / 0.7458 GB, free: 44.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001332/1.216, allocations: 68.3 kB / 0.7459 GB, free: 44.96 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002382/1.219, allocations: 1.846 MB / 0.7477 GB, free: 44.26 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.219, allocations: 3.375 kB / 0.7477 GB, free: 44.26 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00345/1.222, allocations: 0.9712 MB / 0.7486 GB, free: 44.17 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.0004925/1.223, allocations: 250.5 kB / 0.7489 GB, free: 44.05 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005621/1.228, allocations: 4.847 MB / 0.7536 GB, free: 41.55 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/1.228, allocations: 3.625 kB / 0.7536 GB, free: 41.55 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003808/1.232, allocations: 3.352 MB / 0.7569 GB, free: 39.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004769/1.237, allocations: 0.9051 MB / 0.7578 GB, free: 39.38 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01432/1.251, allocations: 9.913 MB / 0.7674 GB, free: 34.46 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002684/1.254, allocations: 3.172 MB / 0.7705 GB, free: 33.19 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002091/1.256, allocations: 0.5623 MB / 0.7711 GB, free: 33.14 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004252/1.257, allocations: 164.8 kB / 0.7712 GB, free: 33.13 MB / 442.7 MB Notification: Performance of SimCode: time 7.31e-07/1.257, allocations: 0 / 0.7712 GB, free: 33.13 MB / 442.7 MB Notification: Performance of Templates: time 0.093/1.35, allocations: 59.05 MB / 0.8289 GB, free: 4.047 MB / 458.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches