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.0007795/0.0007796, allocations: 94.19 kB / 17.31 MB, free: 6.539 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.0008334/0.0008335, allocations: 176.3 kB / 18.21 MB, free: 5.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.132/1.132, allocations: 223.3 MB / 242.3 MB, free: 228 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002081/0.0002081, allocations: 12.12 kB / 302.1 MB, free: 6.141 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07147/0.07169, allocations: 50.42 MB / 352.5 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.008725/0.08044, allocations: 10.06 MB / 362.6 MB, free: 9.605 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005062/0.08552, allocations: 3.124 MB / 365.7 MB, free: 6.473 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001246/0.08678, allocations: 79.62 kB / 365.8 MB, free: 6.395 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.08813, allocations: 0.5903 MB / 366.3 MB, free: 5.801 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002198/0.09034, allocations: 1.061 MB / 367.4 MB, free: 4.734 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006448/0.091, allocations: 407.6 kB / 367.8 MB, free: 4.336 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1372/0.2282, allocations: 5.85 MB / 373.7 MB, free: 9.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004701/0.2329, allocations: 3.998 MB / 377.7 MB, free: 8.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00388/0.2368, allocations: 1.747 MB / 379.4 MB, free: 8.398 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003444/0.2403, allocations: 2.321 MB / 381.7 MB, free: 7.941 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009864/0.2413, allocations: 269.3 kB / 382 MB, free: 7.941 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001618/0.2429, allocations: 365 kB / 382.3 MB, free: 7.941 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001114/0.244, allocations: 1.194 MB / 383.5 MB, free: 7.77 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002308/0.2463, allocations: 2.303 MB / 385.8 MB, free: 7.059 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004069/0.2504, allocations: 6.826 MB / 392.7 MB, free: 4.133 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2504, allocations: 0 / 392.7 MB, free: 4.133 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2504, allocations: 0 / 392.7 MB, free: 4.133 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.74e-05/0.2505, allocations: 1.219 kB / 392.7 MB, free: 4.133 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.006182/0.2567, allocations: 4.306 MB / 397 MB, free: 1.367 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.2567, allocations: 8.844 kB / 397 MB, free: 1.367 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.2578, allocations: 0.5464 MB / 397.5 MB, free: 1.105 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003052/0.2608, allocations: 2.742 MB / 400.3 MB, free: 15.36 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001563/0.261, allocations: 299.2 kB / 400.6 MB, free: 15.22 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004611/0.2615, allocations: 392.3 kB / 400.9 MB, free: 15.09 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007896/0.2694, allocations: 5.811 MB / 406.8 MB, free: 9.848 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.693e-05/0.2694, allocations: 0 / 406.8 MB, free: 9.848 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003385/0.2698, allocations: 163.1 kB / 406.9 MB, free: 9.691 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001678/0.2699, allocations: 206.6 kB / 407.1 MB, free: 9.488 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007092/0.277, allocations: 5.035 MB / 412.1 MB, free: 4.445 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02116/0.2982, allocations: 16.51 MB / 428.7 MB, free: 4.035 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005837/0.3041, allocations: 6.807 MB / 435.5 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003306/0.3074, allocations: 2.65 MB / 438.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002526/0.3077, allocations: 138.2 kB / 438.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.079e-05/0.3077, allocations: 60.56 kB / 438.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of pre-optimization done (n=249): time 3.928e-06/0.3077, allocations: 0 / 438.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of matching and sorting (n=256): time 0.01766/0.3254, allocations: 10.77 MB / 449.1 MB, free: 14.85 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.3255, allocations: 81.42 kB / 449.2 MB, free: 14.76 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003296/0.3288, allocations: 2.624 MB / 451.8 MB, free: 12.11 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001348/0.3289, allocations: 73.7 kB / 451.9 MB, free: 12.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001032/0.33, allocations: 1.642 MB / 453.5 MB, free: 10.38 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005588/0.3305, allocations: 0.8331 MB / 454.3 MB, free: 9.551 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002476/0.3308, allocations: 202.5 kB / 454.5 MB, free: 9.348 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.757e-05/0.3309, allocations: 305.1 kB / 454.8 MB, free: 9.047 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001767/0.3326, allocations: 1.34 MB / 456.2 MB, free: 7.703 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00196/0.3346, allocations: 1.665 MB / 457.8 MB, free: 5.945 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0038/0.3384, allocations: 3.091 MB / 460.9 MB, free: 2.758 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.3384, allocations: 7.938 kB / 460.9 MB, free: 2.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.006434/0.3449, allocations: 4.473 MB / 465.4 MB, free: 14.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.3449, allocations: 11.94 kB / 465.4 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.3449, allocations: 10.72 kB / 465.4 MB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004855/0.3498, allocations: 1.644 MB / 467.1 MB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/0.3511, allocations: 395.4 kB / 467.5 MB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02119/0.3723, allocations: 23.52 MB / 491 MB, free: 3.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001751/0.3741, allocations: 95.92 kB / 491.1 MB, free: 3.406 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002007/0.3743, allocations: 76.56 kB / 491.2 MB, free: 3.332 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.002243/0.3766, allocations: 1.411 MB / 492.6 MB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005866/0.3772, allocations: 296.5 kB / 492.9 MB, free: 1.637 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00684/0.384, allocations: 4.387 MB / 497.2 MB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.708e-05/0.384, allocations: 31.94 kB / 497.3 MB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-05/0.3841, allocations: 15.98 kB / 497.3 MB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.724e-05/0.3841, allocations: 11.95 kB / 497.3 MB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01271/0.3968, allocations: 8.906 MB / 0.4943 GB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.3968, allocations: 0 / 0.4943 GB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001051/0.3979, allocations: 289.9 kB / 0.4946 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004683/0.4026, allocations: 1.634 MB / 0.4962 GB, free: 2.324 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001252/0.4027, allocations: 59.97 kB / 0.4963 GB, free: 2.266 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0206/0.4233, allocations: 23.27 MB / 0.519 GB, free: 9.672 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4233, allocations: 0 / 0.519 GB, free: 9.672 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008193/0.4315, allocations: 6.107 MB / 0.525 GB, free: 3.449 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001234/0.4328, allocations: 0.6733 MB / 0.5256 GB, free: 2.754 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004301/0.4332, allocations: 55.98 kB / 0.5257 GB, free: 2.699 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001329/0.4345, allocations: 131.9 kB / 0.5258 GB, free: 2.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003808/0.4349, allocations: 209.6 kB / 0.526 GB, free: 2.367 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/0.4351, allocations: 63.98 kB / 0.5261 GB, free: 2.305 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002501/0.4376, allocations: 1.856 MB / 0.5279 GB, free: 448 kB / 446.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4376, allocations: 0 / 0.5279 GB, free: 448 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.1451/0.5827, allocations: 0.9456 MB / 0.5288 GB, free: 144.4 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.000755/0.5835, allocations: 232.1 kB / 0.529 GB, free: 144.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006564/0.5901, allocations: 4.872 MB / 0.5338 GB, free: 143.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.5901, allocations: 1.938 kB / 0.5338 GB, free: 143.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003858/0.594, allocations: 3.362 MB / 0.5371 GB, free: 141.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004061/0.5981, allocations: 0.9041 MB / 0.5379 GB, free: 141.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01267/0.6107, allocations: 10.32 MB / 0.548 GB, free: 136.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002041/0.6128, allocations: 3.1 MB / 0.551 GB, free: 135.6 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000469/0.6133, allocations: 168.4 kB / 0.5512 GB, free: 135.6 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.6133, allocations: 0 / 0.5512 GB, free: 135.6 MB / 446.1 MB Notification: Performance of Templates: time 0.2981/0.9113, allocations: 260.6 MB / 0.8057 GB, free: 42.74 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