Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 107.2 kB / 17.16 MB, free: 6.082 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001857/0.001857, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.591/2.591, allocations: 222.9 MB / 241.8 MB, free: 13.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 51.16 kB / 300.6 MB, free: 6.082 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1708, allocations: 49.44 MB / 350.1 MB, free: 4.629 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.0205/0.1914, allocations: 10.63 MB / 360.7 MB, free: 9.945 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0107/0.2022, allocations: 3.143 MB / 363.8 MB, free: 6.793 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004135/0.2064, allocations: 79.62 kB / 363.9 MB, free: 6.715 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003846/0.2104, allocations: 0.6059 MB / 364.5 MB, free: 6.105 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006828/0.2172, allocations: 1.065 MB / 365.6 MB, free: 5.035 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002554/0.2198, allocations: 403.7 kB / 366 MB, free: 4.641 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.3316/0.5514, allocations: 5.853 MB / 371.8 MB, free: 9.695 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0157/0.5672, allocations: 4.03 MB / 375.9 MB, free: 8.793 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01175/0.5791, allocations: 2.018 MB / 377.9 MB, free: 8.531 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01119/0.5903, allocations: 2.65 MB / 380.5 MB, free: 8.074 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004478/0.5949, allocations: 387.5 kB / 380.9 MB, free: 8.074 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006139/0.6011, allocations: 484.9 kB / 381.4 MB, free: 8.074 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005768/0.607, allocations: 1.369 MB / 382.7 MB, free: 7.906 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01226/0.6193, allocations: 2.486 MB / 385.2 MB, free: 6.707 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01571/0.6351, allocations: 7.001 MB / 392.2 MB, free: 3.355 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.028e-05/0.6352, allocations: 5.375 kB / 392.2 MB, free: 3.352 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.6352, allocations: 0 / 392.2 MB, free: 3.352 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0005025/0.6357, allocations: 0 / 392.2 MB, free: 3.352 MB / 302.1 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.02673/0.6625, allocations: 5.093 MB / 397.3 MB, free: 8 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.863e-05/0.6626, allocations: 10 kB / 397.3 MB, free: 8 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004778/0.6674, allocations: 0.5501 MB / 397.9 MB, free: 15.74 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01079/0.6782, allocations: 2.748 MB / 400.6 MB, free: 13.99 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004033/0.6786, allocations: 291.4 kB / 400.9 MB, free: 13.86 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002156/0.6808, allocations: 389.3 kB / 401.3 MB, free: 13.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02616/0.707, allocations: 5.806 MB / 407.1 MB, free: 8.453 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002356/0.7073, allocations: 1.5 kB / 407.1 MB, free: 8.453 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002333/0.7097, allocations: 159.2 kB / 407.3 MB, free: 8.301 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004193/0.7101, allocations: 204 kB / 407.5 MB, free: 8.098 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02241/0.7325, allocations: 5.025 MB / 412.5 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06502/0.7976, allocations: 16.4 MB / 428.9 MB, free: 2.766 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01532/0.813, allocations: 6.8 MB / 435.7 MB, free: 11.42 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008803/0.8219, allocations: 2.633 MB / 438.3 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007296/0.8227, allocations: 131.1 kB / 438.5 MB, free: 8.645 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001231/0.8228, allocations: 64.56 kB / 438.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of pre-optimization done (n=249): time 1.792e-05/0.8229, allocations: 0 / 438.5 MB, free: 8.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=256): time 0.0469/0.8698, allocations: 10.71 MB / 449.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/0.87, allocations: 77.42 kB / 449.3 MB, free: 13.58 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01101/0.881, allocations: 2.628 MB / 451.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001017/0.8821, allocations: 65.7 kB / 452 MB, free: 10.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003409/0.8856, allocations: 1.643 MB / 453.6 MB, free: 9.203 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002631/0.8883, allocations: 0.8425 MB / 454.5 MB, free: 8.371 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00313/0.8914, allocations: 412.5 kB / 454.9 MB, free: 7.961 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001832/0.8917, allocations: 303.8 kB / 455.2 MB, free: 7.664 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004777/0.8965, allocations: 1.336 MB / 456.5 MB, free: 6.324 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005407/0.9019, allocations: 1.656 MB / 458.2 MB, free: 4.578 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009455/0.9114, allocations: 3.079 MB / 461.2 MB, free: 1.398 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.102e-05/0.9116, allocations: 3.938 kB / 461.3 MB, free: 1.395 MB / 366.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.01735/0.929, allocations: 4.464 MB / 465.7 MB, free: 12.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.504e-05/0.9291, allocations: 8 kB / 465.7 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.333e-05/0.9291, allocations: 8.062 kB / 465.7 MB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01056/0.9397, allocations: 1.641 MB / 467.4 MB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003375/0.9431, allocations: 390.1 kB / 467.8 MB, free: 10.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04861/0.9918, allocations: 23.48 MB / 491.2 MB, free: 2.203 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004324/0.9962, allocations: 99.98 kB / 491.3 MB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007646/0.997, allocations: 87.98 kB / 491.4 MB, free: 2.02 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 12 (diode4.idealDiode[3].off,diode4.idealDiode[2].off,diode4.idealDiode[1].off,diode3.idealDiode[3].off,diode3.idealDiode[2].off,diode3.idealDiode[1].off,diode2.idealDiode[3].off,diode2.idealDiode[2].off,diode2.idealDiode[1].off,diode1.idealDiode[3].off,diode1.idealDiode[2].off,diode1.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (198): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,9,100.0%), (1,9,100.0%), (1,9,100.0%), (2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.005453/1.002, allocations: 1.403 MB / 492.8 MB, free: 0.625 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001782/1.004, allocations: 304.5 kB / 493.1 MB, free: 332 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01769/1.022, allocations: 4.378 MB / 497.5 MB, free: 11.95 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.422e-05/1.022, allocations: 24 kB / 497.5 MB, free: 11.92 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.448e-05/1.022, allocations: 8 kB / 497.5 MB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.454e-05/1.022, allocations: 11.95 kB / 497.5 MB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03584/1.058, allocations: 8.873 MB / 0.4945 GB, free: 3.031 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.939e-05/1.058, allocations: 12.05 kB / 0.4946 GB, free: 3.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002393/1.061, allocations: 285.4 kB / 0.4948 GB, free: 2.754 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00928/1.07, allocations: 1.623 MB / 0.4964 GB, free: 1.113 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000656/1.071, allocations: 55.98 kB / 0.4965 GB, free: 1.059 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04357/1.114, allocations: 23.21 MB / 0.5191 GB, free: 8.648 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.114, allocations: 4.031 kB / 0.5191 GB, free: 8.645 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02198/1.136, allocations: 6.097 MB / 0.5251 GB, free: 2.453 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003871/1.14, allocations: 0.6732 MB / 0.5258 GB, free: 1.758 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001975/1.142, allocations: 60.05 kB / 0.5258 GB, free: 1.699 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003815/1.146, allocations: 119.9 kB / 0.5259 GB, free: 1.582 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001277/1.147, allocations: 213.6 kB / 0.5261 GB, free: 1.375 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005501/1.148, allocations: 67.98 kB / 0.5262 GB, free: 1.309 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.4287/1.577, allocations: 1.843 MB / 0.528 GB, free: 143.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.265e-06/1.577, allocations: 0 / 0.528 GB, free: 143.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01078/1.588, allocations: 0.9504 MB / 0.5289 GB, free: 143.9 MB / 446.1 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 (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,29,100.0%), (1,9,100.0%), (1,9,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001821/1.59, allocations: 245.8 kB / 0.5292 GB, free: 143.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01699/1.607, allocations: 4.843 MB / 0.5339 GB, free: 142.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.598e-05/1.607, allocations: 1.688 kB / 0.5339 GB, free: 142.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01103/1.618, allocations: 3.347 MB / 0.5372 GB, free: 141.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01326/1.631, allocations: 0.9042 MB / 0.538 GB, free: 141.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03875/1.67, allocations: 10.2 MB / 0.548 GB, free: 136 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00821/1.678, allocations: 3.096 MB / 0.551 GB, free: 134.7 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001647/1.68, allocations: 173.4 kB / 0.5512 GB, free: 134.7 MB / 446.1 MB Notification: Performance of SimCode: time 2.195e-06/1.68, allocations: 0 / 0.5512 GB, free: 134.7 MB / 446.1 MB Notification: Performance of Templates: time 0.8212/2.501, allocations: 261.2 MB / 0.8062 GB, free: 42.27 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches