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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001185/0.001185, allocations: 114.5 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001228/0.001228, allocations: 206 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.223/1.223, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 63.89 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2298, allocations: 50.55 MB / 410 MB, free: 1.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01315/0.243, allocations: 10.72 MB / 420.7 MB, free: 6.801 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00674/0.2497, allocations: 3.244 MB / 423.9 MB, free: 3.547 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002092/0.2519, allocations: 87.62 kB / 424 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002321/0.2543, allocations: 0.7021 MB / 424.7 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003725/0.258, allocations: 1.134 MB / 425.8 MB, free: 1.613 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001203/0.2592, allocations: 479.4 kB / 426.3 MB, free: 1.145 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005656/0.2649, allocations: 5.147 MB / 431.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004868/0.2698, allocations: 4.788 MB / 436.3 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004135/0.2739, allocations: 2.391 MB / 438.6 MB, free: 4.727 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004034/0.278, allocations: 2.775 MB / 441.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001013/0.279, allocations: 0.6211 MB / 442 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001441/0.2805, allocations: 0.7069 MB / 442.7 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001374/0.2819, allocations: 1.629 MB / 444.4 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00351/0.2854, allocations: 2.777 MB / 447.2 MB, free: 12.19 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008124/0.2935, allocations: 8.417 MB / 455.6 MB, free: 3.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.2936, allocations: 0 / 455.6 MB, free: 3.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2936, allocations: 4 kB / 455.6 MB, free: 3.746 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002164/0.2938, allocations: 4 kB / 455.6 MB, free: 3.742 MB / 366.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.01142/0.3052, allocations: 5.107 MB / 460.7 MB, free: 14.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.3053, allocations: 8.031 kB / 460.7 MB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001733/0.307, allocations: 0.5771 MB / 461.3 MB, free: 13.97 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005849/0.3129, allocations: 2.872 MB / 464.1 MB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002057/0.3131, allocations: 295.8 kB / 464.4 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006837/0.3138, allocations: 380 kB / 464.8 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009671/0.3235, allocations: 5.805 MB / 470.6 MB, free: 4.473 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.012e-05/0.3236, allocations: 7.938 kB / 470.6 MB, free: 4.465 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003668/0.324, allocations: 156 kB / 470.8 MB, free: 4.312 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001876/0.3242, allocations: 212 kB / 471 MB, free: 4.102 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008262/0.3324, allocations: 5.024 MB / 476 MB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02694/0.3594, allocations: 16.18 MB / 492.2 MB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006394/0.3658, allocations: 6.802 MB / 499 MB, free: 7.238 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003621/0.3695, allocations: 2.626 MB / 0.4898 GB, free: 4.613 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002962/0.3698, allocations: 131.1 kB / 0.49 GB, free: 4.469 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.959e-05/0.3699, allocations: 64.56 kB / 0.49 GB, free: 4.395 MB / 414.1 MB Notification: Performance of pre-optimization done (n=249): time 6.712e-06/0.3699, allocations: 0 / 0.49 GB, free: 4.395 MB / 414.1 MB Notification: Performance of matching and sorting (n=256): time 0.02097/0.3909, allocations: 10.7 MB / 0.5005 GB, free: 9.445 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.336e-05/0.391, allocations: 81.42 kB / 0.5006 GB, free: 9.352 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004305/0.3953, allocations: 2.64 MB / 0.5031 GB, free: 6.691 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003072/0.3956, allocations: 69.7 kB / 0.5032 GB, free: 6.617 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001243/0.3969, allocations: 1.648 MB / 0.5048 GB, free: 4.949 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008769/0.3977, allocations: 0.8394 MB / 0.5056 GB, free: 4.098 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008171/0.3986, allocations: 412.6 kB / 0.506 GB, free: 3.688 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.3987, allocations: 309.1 kB / 0.5063 GB, free: 3.383 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002114/0.4008, allocations: 1.332 MB / 0.5076 GB, free: 2.047 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002356/0.4032, allocations: 1.658 MB / 0.5092 GB, free: 300 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004599/0.4078, allocations: 3.076 MB / 0.5122 GB, free: 13.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.856e-06/0.4078, allocations: 4 kB / 0.5122 GB, free: 13.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007937/0.4158, allocations: 4.457 MB / 0.5166 GB, free: 8.551 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.4158, allocations: 8.062 kB / 0.5166 GB, free: 8.543 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.4159, allocations: 12 kB / 0.5166 GB, free: 8.531 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005324/0.4212, allocations: 1.647 MB / 0.5182 GB, free: 6.852 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/0.4228, allocations: 387.5 kB / 0.5186 GB, free: 6.473 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2048/0.6276, allocations: 25.72 MB / 0.5437 GB, free: 118 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002024/0.6297, allocations: 94.27 kB / 0.5438 GB, free: 118 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003104/0.63, allocations: 80.03 kB / 0.5439 GB, free: 118 MB / 462.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.002423/0.6324, allocations: 1.419 MB / 0.5453 GB, free: 117.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007298/0.6332, allocations: 298.6 kB / 0.5456 GB, free: 117.9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006408/0.6396, allocations: 4.387 MB / 0.5498 GB, free: 116.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/0.6397, allocations: 21.28 kB / 0.5499 GB, free: 116.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.565e-05/0.6397, allocations: 11.28 kB / 0.5499 GB, free: 116.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.667e-05/0.6397, allocations: 18.89 kB / 0.5499 GB, free: 116.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01389/0.6536, allocations: 8.767 MB / 0.5584 GB, free: 112.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/0.6537, allocations: 0 / 0.5584 GB, free: 112.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00117/0.6548, allocations: 292.6 kB / 0.5587 GB, free: 112.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004727/0.6596, allocations: 1.611 MB / 0.5603 GB, free: 111.6 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002459/0.6598, allocations: 63.97 kB / 0.5604 GB, free: 111.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01842/0.6783, allocations: 25.47 MB / 0.5852 GB, free: 84.91 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.6783, allocations: 3.984 kB / 0.5852 GB, free: 84.91 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007553/0.6859, allocations: 6.091 MB / 0.5912 GB, free: 78.86 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001636/0.6875, allocations: 0.678 MB / 0.5918 GB, free: 78.21 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003821/0.6879, allocations: 59.92 kB / 0.5919 GB, free: 78.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001666/0.6896, allocations: 124.6 kB / 0.592 GB, free: 78.04 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004686/0.6901, allocations: 209.7 kB / 0.5922 GB, free: 77.83 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001334/0.6902, allocations: 67.98 kB / 0.5923 GB, free: 77.76 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002192/0.6924, allocations: 1.852 MB / 0.5941 GB, free: 75.9 MB / 462.1 MB Notification: Performance of sort global known variables: time 2e-07/0.6925, allocations: 0 / 0.5941 GB, free: 75.9 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003263/0.6957, allocations: 0.9537 MB / 0.595 GB, free: 74.95 MB / 462.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.0005432/0.6963, allocations: 252.9 kB / 0.5953 GB, free: 74.71 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005543/0.7018, allocations: 4.872 MB / 0.6 GB, free: 69.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.7019, allocations: 0 / 0.6 GB, free: 69.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003675/0.7055, allocations: 3.354 MB / 0.6033 GB, free: 66.22 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003585/0.7092, allocations: 0.9604 MB / 0.6042 GB, free: 65.27 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/0.7207, allocations: 8.428 MB / 0.6125 GB, free: 56.87 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002199/0.723, allocations: 3.107 MB / 0.6155 GB, free: 53.73 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000798/0.7238, allocations: 175.4 kB / 0.6157 GB, free: 53.55 MB / 462.1 MB Notification: Performance of SimCode: time 8.61e-07/0.7238, allocations: 0 / 0.6157 GB, free: 53.55 MB / 462.1 MB Notification: Performance of Templates: time 0.4/1.124, allocations: 262.6 MB / 0.8721 GB, free: 75.11 MB / 0.5294 GB 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches