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.0009225/0.0009225, allocations: 202.1 kB / 8.768 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.254 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000882/0.0008821, allocations: 96.92 kB / 286.7 MB, free: 5.301 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.234e-05/1.252e-05, allocations: 0 / 343.7 MB, free: 8.277 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1039, allocations: 51.47 MB / 395.2 MB, free: 4.766 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3015/0.4054, allocations: 92.74 MB / 487.9 MB, free: 500 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002189/0.4057, allocations: 86.83 kB / 488 MB, free: 456 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4846/0.8903, allocations: 115.5 MB / 0.5893 GB, free: 58.36 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.8903, allocations: 0 / 0.5893 GB, free: 58.36 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002592/0.8906, allocations: 108.4 kB / 0.5894 GB, free: 58.35 MB / 442.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.006773/0.8974, allocations: 3.858 MB / 0.5932 GB, free: 57.12 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.8974, allocations: 9.906 kB / 0.5932 GB, free: 57.12 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001541/0.899, allocations: 0.5851 MB / 0.5938 GB, free: 56.88 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003799/0.9028, allocations: 2.716 MB / 0.5964 GB, free: 56.31 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.103e-05/0.9029, allocations: 129.9 kB / 0.5966 GB, free: 56.31 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004288/0.9033, allocations: 228.8 kB / 0.5968 GB, free: 56.31 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005517/0.9089, allocations: 4.256 MB / 0.6009 GB, free: 56.29 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006485/0.9154, allocations: 4.976 MB / 0.6058 GB, free: 55.71 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.506e-05/0.9154, allocations: 2.812 kB / 0.6058 GB, free: 55.71 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003038/0.9157, allocations: 13.45 kB / 0.6058 GB, free: 55.71 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001538/0.9159, allocations: 207.7 kB / 0.606 GB, free: 55.7 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0222/0.9381, allocations: 15.61 MB / 0.6212 GB, free: 52.97 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004405/0.9426, allocations: 6.605 MB / 0.6277 GB, free: 49.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002827/0.9454, allocations: 2.425 MB / 0.6301 GB, free: 49.46 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003436/0.9458, allocations: 146.1 kB / 0.6302 GB, free: 49.37 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/0.9458, allocations: 61.03 kB / 0.6303 GB, free: 49.32 MB / 442.7 MB Notification: Performance of pre-optimization done (n=249): time 4.849e-06/0.9458, allocations: 3.219 kB / 0.6303 GB, free: 49.32 MB / 442.7 MB Notification: Performance of matching and sorting (n=256): time 0.01228/0.9581, allocations: 7.29 MB / 0.6374 GB, free: 47.29 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.898e-05/0.9582, allocations: 77.95 kB / 0.6375 GB, free: 47.23 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002456/0.9607, allocations: 1.811 MB / 0.6392 GB, free: 46.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001485/0.9608, allocations: 29.27 kB / 0.6393 GB, free: 46.47 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000778/0.9616, allocations: 1.651 MB / 0.6409 GB, free: 45.23 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004453/0.9621, allocations: 0.8113 MB / 0.6417 GB, free: 44.58 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.9622, allocations: 0 / 0.6417 GB, free: 44.58 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.9623, allocations: 407.1 kB / 0.642 GB, free: 44.24 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/0.9636, allocations: 1.233 MB / 0.6433 GB, free: 43.76 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001439/0.9651, allocations: 1.507 MB / 0.6447 GB, free: 43.02 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001589/0.9667, allocations: 1.473 MB / 0.6462 GB, free: 42.44 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.9667, allocations: 0 / 0.6462 GB, free: 42.44 MB / 442.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.005346/0.972, allocations: 4.062 MB / 0.6501 GB, free: 40.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.9721, allocations: 11.19 kB / 0.6501 GB, free: 40.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.9721, allocations: 7.562 kB / 0.6501 GB, free: 40.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002709/0.9748, allocations: 1.375 MB / 0.6515 GB, free: 40.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001381/0.9762, allocations: 393.1 kB / 0.6519 GB, free: 40.44 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01714/0.9934, allocations: 22.57 MB / 0.6739 GB, free: 23.33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002032/0.9954, allocations: 49.64 kB / 0.674 GB, free: 23.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000176/0.9956, allocations: 81.72 kB / 0.674 GB, free: 23.31 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 () * 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.0003996/0.996, allocations: 137 kB / 0.6742 GB, free: 23.2 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004189/0.9965, allocations: 263.5 kB / 0.6744 GB, free: 23.07 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005191/1.002, allocations: 3.809 MB / 0.6781 GB, free: 21.57 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/1.002, allocations: 28.89 kB / 0.6782 GB, free: 21.57 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.769e-06/1.002, allocations: 7.375 kB / 0.6782 GB, free: 21.57 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.001e-05/1.002, allocations: 14.3 kB / 0.6782 GB, free: 21.57 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01097/1.013, allocations: 8.048 MB / 0.686 GB, free: 18.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/1.013, allocations: 0 / 0.686 GB, free: 18.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/1.014, allocations: 296 kB / 0.6863 GB, free: 18.44 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002703/1.017, allocations: 1.35 MB / 0.6876 GB, free: 18 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001353/1.017, allocations: 26.36 kB / 0.6877 GB, free: 17.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01863/1.035, allocations: 22.4 MB / 0.7095 GB, free: 16.91 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/1.035, allocations: 0 / 0.7095 GB, free: 16.91 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007509/1.043, allocations: 5.737 MB / 0.7151 GB, free: 14.47 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001669/1.045, allocations: 0.6261 MB / 0.7158 GB, free: 14.1 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003739/1.045, allocations: 19.03 kB / 0.7158 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001264/1.046, allocations: 91.86 kB / 0.7159 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004334/1.047, allocations: 218.1 kB / 0.7161 GB, free: 14.05 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/1.047, allocations: 68.23 kB / 0.7161 GB, free: 14.03 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001708/1.049, allocations: 1.388 MB / 0.7175 GB, free: 13.45 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/1.049, allocations: 0 / 0.7175 GB, free: 13.45 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003176/1.052, allocations: 0.8637 MB / 0.7183 GB, free: 13.43 MB / 458.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 () * 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.0004464/1.052, allocations: 223.3 kB / 0.7185 GB, free: 13.32 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006063/1.058, allocations: 4.543 MB / 0.723 GB, free: 10.91 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/1.058, allocations: 5.281 kB / 0.723 GB, free: 10.91 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003825/1.062, allocations: 3.144 MB / 0.7261 GB, free: 9.023 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003207/1.065, allocations: 0.6297 MB / 0.7267 GB, free: 8.863 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01159/1.077, allocations: 6.803 MB / 0.7333 GB, free: 3.457 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003625/1.081, allocations: 3.249 MB / 0.7365 GB, free: 0.9727 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001928/1.083, allocations: 0.5061 MB / 0.737 GB, free: 0.6133 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000437/1.083, allocations: 147.2 kB / 0.7371 GB, free: 484 kB / 458.7 MB Notification: Performance of SimCode: time 7.11e-07/1.083, allocations: 0 / 0.7371 GB, free: 484 kB / 458.7 MB Notification: Performance of Templates: time 0.3014/1.384, allocations: 46.19 MB / 0.7822 GB, free: 60.73 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/jenkins/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