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.001531/0.001531, allocations: 117.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002007/0.002007, allocations: 201.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001097/0.001097, allocations: 55.91 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3092, allocations: 50.54 MB / 409.3 MB, free: 1.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01065/0.3198, allocations: 10.73 MB / 420 MB, free: 6.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005983/0.3259, allocations: 3.232 MB / 423.2 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00137/0.3272, allocations: 87.62 kB / 423.3 MB, free: 3.492 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00176/0.329, allocations: 0.7255 MB / 424.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002991/0.3321, allocations: 1.169 MB / 425.2 MB, free: 1.586 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008101/0.3329, allocations: 479.4 kB / 425.7 MB, free: 1.117 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004948/0.3378, allocations: 5.143 MB / 430.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00477/0.3426, allocations: 4.785 MB / 435.6 MB, free: 7.082 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003752/0.3464, allocations: 2.401 MB / 438 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003313/0.3497, allocations: 2.779 MB / 440.8 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008777/0.3506, allocations: 0.6211 MB / 441.4 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001277/0.3519, allocations: 0.703 MB / 442.1 MB, free: 0.582 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001361/0.3533, allocations: 1.636 MB / 443.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003345/0.3566, allocations: 2.77 MB / 446.5 MB, free: 12.16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007977/0.3646, allocations: 8.42 MB / 454.9 MB, free: 3.715 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3646, allocations: 0 / 454.9 MB, free: 3.715 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3646, allocations: 0 / 454.9 MB, free: 3.715 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000152/0.3648, allocations: 0 / 454.9 MB, free: 3.715 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.009739/0.3745, allocations: 5.111 MB / 460.1 MB, free: 14.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/0.3746, allocations: 8.031 kB / 460.1 MB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001673/0.3763, allocations: 0.5732 MB / 460.6 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004455/0.3807, allocations: 2.872 MB / 463.5 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002719/0.381, allocations: 291.8 kB / 463.8 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005358/0.3816, allocations: 384 kB / 464.2 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009133/0.3907, allocations: 5.813 MB / 470 MB, free: 4.438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.686e-05/0.3908, allocations: 0 / 470 MB, free: 4.438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003534/0.3912, allocations: 164 kB / 470.1 MB, free: 4.277 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001811/0.3914, allocations: 208 kB / 470.3 MB, free: 4.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00844/0.3998, allocations: 5.02 MB / 475.4 MB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02567/0.4255, allocations: 16.18 MB / 491.6 MB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006185/0.4318, allocations: 6.794 MB / 498.3 MB, free: 7.215 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003335/0.4351, allocations: 2.618 MB / 0.4892 GB, free: 4.598 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002901/0.4354, allocations: 139 kB / 0.4894 GB, free: 4.445 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.345e-05/0.4355, allocations: 68.56 kB / 0.4894 GB, free: 4.367 MB / 414.1 MB Notification: Performance of pre-optimization done (n=249): time 4.318e-06/0.4355, allocations: 0 / 0.4894 GB, free: 4.367 MB / 414.1 MB Notification: Performance of matching and sorting (n=256): time 0.01852/0.454, allocations: 10.7 MB / 0.4999 GB, free: 9.422 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/0.4541, allocations: 81.42 kB / 0.4999 GB, free: 9.328 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003758/0.4579, allocations: 2.644 MB / 0.5025 GB, free: 6.664 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001593/0.458, allocations: 65.7 kB / 0.5026 GB, free: 6.594 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001123/0.4592, allocations: 1.648 MB / 0.5042 GB, free: 4.926 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006342/0.4598, allocations: 0.8355 MB / 0.505 GB, free: 4.078 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006323/0.4605, allocations: 420.5 kB / 0.5054 GB, free: 3.66 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.322e-05/0.4606, allocations: 309.1 kB / 0.5057 GB, free: 3.355 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001917/0.4625, allocations: 1.332 MB / 0.507 GB, free: 2.02 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002108/0.4646, allocations: 1.658 MB / 0.5086 GB, free: 272 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004099/0.4687, allocations: 3.079 MB / 0.5116 GB, free: 13.06 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.135e-06/0.4687, allocations: 4 kB / 0.5116 GB, free: 13.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007708/0.4765, allocations: 4.461 MB / 0.516 GB, free: 8.516 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.512e-05/0.4766, allocations: 8 kB / 0.516 GB, free: 8.508 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.388e-05/0.4766, allocations: 8 kB / 0.516 GB, free: 8.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005053/0.4816, allocations: 1.643 MB / 0.5176 GB, free: 6.824 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/0.4831, allocations: 391.5 kB / 0.518 GB, free: 6.441 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2709/0.7541, allocations: 25.72 MB / 0.5431 GB, free: 117.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002152/0.7562, allocations: 93.91 kB / 0.5432 GB, free: 117.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001708/0.7564, allocations: 78.77 kB / 0.5433 GB, free: 117.7 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.002327/0.7588, allocations: 1.425 MB / 0.5447 GB, free: 117.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005649/0.7593, allocations: 297.7 kB / 0.5449 GB, free: 117.6 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006055/0.7654, allocations: 4.38 MB / 0.5492 GB, free: 116 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.827e-05/0.7654, allocations: 27.22 kB / 0.5492 GB, free: 116 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/0.7654, allocations: 7.875 kB / 0.5493 GB, free: 116 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.208e-05/0.7655, allocations: 18.75 kB / 0.5493 GB, free: 116 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01126/0.7767, allocations: 8.775 MB / 0.5578 GB, free: 112.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/0.7768, allocations: 0 / 0.5578 GB, free: 112.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001031/0.7778, allocations: 282 kB / 0.5581 GB, free: 112.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004292/0.7821, allocations: 1.622 MB / 0.5597 GB, free: 111.4 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000174/0.7823, allocations: 55.98 kB / 0.5598 GB, free: 111.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01778/0.8001, allocations: 25.48 MB / 0.5846 GB, free: 84.77 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.8001, allocations: 4.031 kB / 0.5846 GB, free: 84.77 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00738/0.8075, allocations: 6.09 MB / 0.5906 GB, free: 78.71 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001524/0.8091, allocations: 0.6741 MB / 0.5912 GB, free: 78.08 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003556/0.8094, allocations: 60.39 kB / 0.5913 GB, free: 78.02 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/0.8106, allocations: 117 kB / 0.5914 GB, free: 77.91 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004777/0.8111, allocations: 217.6 kB / 0.5916 GB, free: 77.69 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001266/0.8112, allocations: 60 kB / 0.5917 GB, free: 77.63 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002263/0.8135, allocations: 1.856 MB / 0.5935 GB, free: 75.77 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.8135, allocations: 3.938 kB / 0.5935 GB, free: 75.76 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003711/0.8172, allocations: 0.9537 MB / 0.5944 GB, free: 74.81 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.0006297/0.8179, allocations: 250.1 kB / 0.5947 GB, free: 74.57 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005623/0.8235, allocations: 4.876 MB / 0.5994 GB, free: 69.55 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.8235, allocations: 0 / 0.5994 GB, free: 69.55 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003535/0.8271, allocations: 3.358 MB / 0.6027 GB, free: 66.07 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00337/0.8305, allocations: 0.9698 MB / 0.6036 GB, free: 65.11 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01152/0.842, allocations: 8.467 MB / 0.6119 GB, free: 56.68 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002152/0.8442, allocations: 3.173 MB / 0.615 GB, free: 53.47 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001994/0.8462, allocations: 0.587 MB / 0.6156 GB, free: 52.88 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000395/0.8466, allocations: 167.4 kB / 0.6157 GB, free: 52.71 MB / 462.1 MB Notification: Performance of SimCode: time 1.293e-06/0.8466, allocations: 4 kB / 0.6158 GB, free: 52.71 MB / 462.1 MB Notification: Performance of Templates: time 0.07841/0.925, allocations: 60.04 MB / 0.6744 GB, free: 9.305 MB / 478.1 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","/var/lib/jenkins/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