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.001324/0.001324, allocations: 114.8 kB / 17.74 MB, free: 5.344 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.001161/0.001161, allocations: 180.5 kB / 18.66 MB, free: 4.426 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.295/1.295, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009784/0.0009784, allocations: 47.94 kB / 352 MB, free: 3.184 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.237/0.238, allocations: 49.43 MB / 401.4 MB, free: 8.727 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01073/0.2488, allocations: 10.73 MB / 412.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006055/0.2549, allocations: 3.178 MB / 415.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001949/0.2568, allocations: 87.62 kB / 415.4 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002081/0.259, allocations: 0.7059 MB / 416.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003349/0.2623, allocations: 1.134 MB / 417.3 MB, free: 8.945 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.2634, allocations: 471.4 kB / 417.7 MB, free: 8.484 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005608/0.2691, allocations: 5.132 MB / 422.9 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005752/0.2748, allocations: 4.781 MB / 427.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003995/0.2788, allocations: 2.384 MB / 430 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004049/0.2829, allocations: 2.775 MB / 432.8 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001461/0.2844, allocations: 0.625 MB / 433.4 MB, free: 8.684 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002036/0.2864, allocations: 0.703 MB / 434.1 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001574/0.288, allocations: 1.629 MB / 435.7 MB, free: 6.348 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003434/0.2915, allocations: 2.77 MB / 438.5 MB, free: 3.566 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007501/0.299, allocations: 8.401 MB / 446.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.299, allocations: 0 / 446.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of FrontEnd: time 4.99e-06/0.299, allocations: 3.938 kB / 446.9 MB, free: 11.14 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001625/0.2992, allocations: 7.938 kB / 446.9 MB, free: 11.13 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.01037/0.3096, allocations: 5.107 MB / 452 MB, free: 5.949 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.3096, allocations: 8.031 kB / 452 MB, free: 5.941 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001384/0.311, allocations: 0.5498 MB / 452.6 MB, free: 5.387 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004334/0.3154, allocations: 2.853 MB / 455.4 MB, free: 2.457 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000208/0.3156, allocations: 287.8 kB / 455.7 MB, free: 2.176 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006513/0.3163, allocations: 388 kB / 456.1 MB, free: 1.797 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009762/0.326, allocations: 5.805 MB / 461.9 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.776e-05/0.3261, allocations: 3.938 kB / 461.9 MB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003717/0.3265, allocations: 160 kB / 462.1 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001877/0.3267, allocations: 208 kB / 462.3 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008132/0.3348, allocations: 5.016 MB / 467.3 MB, free: 6.504 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02375/0.3586, allocations: 16.19 MB / 483.5 MB, free: 6.039 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006094/0.3648, allocations: 6.798 MB / 490.3 MB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003357/0.3681, allocations: 2.611 MB / 492.9 MB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002686/0.3684, allocations: 147 kB / 493 MB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/0.3685, allocations: 64.5 kB / 493.1 MB, free: 11.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=249): time 3.987e-06/0.3685, allocations: 0 / 493.1 MB, free: 11.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=256): time 0.01841/0.3869, allocations: 10.7 MB / 0.492 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/0.387, allocations: 81.42 kB / 0.4921 GB, free: 0.793 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00364/0.3906, allocations: 2.624 MB / 0.4946 GB, free: 14.15 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002075/0.3909, allocations: 69.7 kB / 0.4947 GB, free: 14.07 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001139/0.392, allocations: 1.644 MB / 0.4963 GB, free: 12.41 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006688/0.3927, allocations: 0.8355 MB / 0.4971 GB, free: 11.56 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006198/0.3933, allocations: 412.6 kB / 0.4975 GB, free: 11.15 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.508e-05/0.3934, allocations: 305.1 kB / 0.4978 GB, free: 10.85 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001926/0.3953, allocations: 1.344 MB / 0.4991 GB, free: 9.504 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002156/0.3975, allocations: 1.65 MB / 0.5007 GB, free: 7.758 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004073/0.4016, allocations: 3.083 MB / 0.5037 GB, free: 4.551 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.157e-06/0.4016, allocations: 4 kB / 0.5037 GB, free: 4.547 MB / 430.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007048/0.4087, allocations: 4.465 MB / 0.5081 GB, free: 0 / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.488e-05/0.4087, allocations: 4.047 kB / 0.5081 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.4088, allocations: 8 kB / 0.5081 GB, free: 15.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004938/0.4137, allocations: 1.644 MB / 0.5097 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/0.4152, allocations: 391.5 kB / 0.5101 GB, free: 13.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02464/0.4398, allocations: 25.73 MB / 0.5352 GB, free: 2.809 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/0.4417, allocations: 95.86 kB / 0.5353 GB, free: 2.715 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001728/0.4419, allocations: 76 kB / 0.5354 GB, free: 2.641 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.00213/0.444, allocations: 1.411 MB / 0.5368 GB, free: 1.219 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005216/0.4446, allocations: 296.5 kB / 0.537 GB, free: 0.9258 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.189/0.6336, allocations: 4.381 MB / 0.5413 GB, free: 128.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/0.6336, allocations: 31.56 kB / 0.5414 GB, free: 128.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.247e-05/0.6336, allocations: 8.938 kB / 0.5414 GB, free: 128.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.778e-05/0.6336, allocations: 15 kB / 0.5414 GB, free: 128.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01154/0.6452, allocations: 8.763 MB / 0.5499 GB, free: 125 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.6452, allocations: 0 / 0.5499 GB, free: 125 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/0.6463, allocations: 288.9 kB / 0.5502 GB, free: 125 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004419/0.6508, allocations: 1.616 MB / 0.5518 GB, free: 124.6 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001684/0.6509, allocations: 61.31 kB / 0.5518 GB, free: 124.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01781/0.6688, allocations: 25.48 MB / 0.5767 GB, free: 98.85 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.6688, allocations: 3.391 kB / 0.5767 GB, free: 98.85 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007182/0.676, allocations: 6.098 MB / 0.5827 GB, free: 92.79 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/0.6772, allocations: 0.6762 MB / 0.5833 GB, free: 92.24 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003784/0.6776, allocations: 48 kB / 0.5834 GB, free: 92.19 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001304/0.6789, allocations: 123.9 kB / 0.5835 GB, free: 92.07 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004263/0.6794, allocations: 209.6 kB / 0.5837 GB, free: 91.86 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001213/0.6795, allocations: 69.98 kB / 0.5838 GB, free: 91.8 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002028/0.6815, allocations: 1.848 MB / 0.5856 GB, free: 89.94 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.6815, allocations: 384 / 0.5856 GB, free: 89.94 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002928/0.6845, allocations: 0.9553 MB / 0.5865 GB, free: 88.98 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.0005482/0.685, allocations: 251.1 kB / 0.5868 GB, free: 88.75 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005353/0.6904, allocations: 4.874 MB / 0.5915 GB, free: 83.77 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.6904, allocations: 4 kB / 0.5915 GB, free: 83.77 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003527/0.6939, allocations: 3.351 MB / 0.5948 GB, free: 80.33 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003485/0.6974, allocations: 0.9644 MB / 0.5957 GB, free: 79.39 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/0.7075, allocations: 8.409 MB / 0.6039 GB, free: 71.03 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001979/0.7095, allocations: 3.091 MB / 0.607 GB, free: 67.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005809/0.7101, allocations: 175.4 kB / 0.6071 GB, free: 67.73 MB / 462.1 MB Notification: Performance of SimCode: time 6.31e-07/0.7101, allocations: 4 kB / 0.6071 GB, free: 67.73 MB / 462.1 MB Notification: Performance of Templates: time 0.3626/1.073, allocations: 261.5 MB / 0.8625 GB, free: 62.48 MB / 0.5137 GB 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