Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cDC1.v|cDC2.v|transformer1.l2sigma.inductor.1..i|transformer1.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 92.75 kB / 16.65 MB, free: 6.535 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.00133/0.00133, allocations: 174.3 kB / 17.56 MB, free: 6.184 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.369/1.369, allocations: 223.3 MB / 241.6 MB, free: 204 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002433/0.0002432, allocations: 11.94 kB / 301.4 MB, free: 6.145 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08983/0.09008, allocations: 50.41 MB / 351.8 MB, free: 3.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.006517/0.09664, allocations: 6.384 MB / 358.2 MB, free: 13.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00348/0.1001, allocations: 2.224 MB / 360.4 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000443/0.1006, allocations: 43.81 kB / 360.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008368/0.1015, allocations: 381.8 kB / 360.9 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001218/0.1027, allocations: 0.6218 MB / 361.5 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004012/0.1031, allocations: 235.8 kB / 361.7 MB, free: 9.797 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002689/0.1058, allocations: 3.203 MB / 364.9 MB, free: 6.582 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002269/0.1081, allocations: 2.138 MB / 367.1 MB, free: 4.379 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001995/0.1101, allocations: 0.9686 MB / 368 MB, free: 3.414 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001452/0.1115, allocations: 1.287 MB / 369.3 MB, free: 2.121 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002236/0.1118, allocations: 148 kB / 369.5 MB, free: 1.977 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004818/0.1123, allocations: 251.8 kB / 369.7 MB, free: 1.73 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005179/0.1128, allocations: 0.6461 MB / 370.3 MB, free: 1.082 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1686/0.2814, allocations: 1.286 MB / 371.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005195/0.2867, allocations: 4.313 MB / 375.9 MB, free: 12.85 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.2867, allocations: 0.5 kB / 375.9 MB, free: 12.85 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.2867, allocations: 3.312 kB / 375.9 MB, free: 12.85 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001679/0.2869, allocations: 0 / 375.9 MB, free: 12.85 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.005638/0.2925, allocations: 2.533 MB / 378.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.2926, allocations: 8.062 kB / 378.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000794/0.2934, allocations: 309 kB / 378.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002128/0.2955, allocations: 1.586 MB / 380.4 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001362/0.2957, allocations: 162.9 kB / 380.5 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003529/0.296, allocations: 218.4 kB / 380.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004897/0.3009, allocations: 3.188 MB / 383.9 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.505e-05/0.301, allocations: 1 kB / 383.9 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002199/0.3012, allocations: 96.3 kB / 384 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001085/0.3013, allocations: 108.2 kB / 384.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004242/0.3056, allocations: 2.739 MB / 386.9 MB, free: 9.773 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01181/0.3174, allocations: 8.946 MB / 395.8 MB, free: 3.77 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002464/0.3199, allocations: 3.39 MB / 399.2 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001573/0.3215, allocations: 1.339 MB / 400.6 MB, free: 348 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000207/0.3217, allocations: 125.2 kB / 400.7 MB, free: 244 kB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.274e-05/0.3218, allocations: 47.12 kB / 400.7 MB, free: 196 kB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 2.845e-06/0.3218, allocations: 0 / 400.7 MB, free: 196 kB / 302.1 MB Notification: Performance of matching and sorting (n=132): time 0.01046/0.3322, allocations: 5.818 MB / 406.5 MB, free: 11.36 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.3323, allocations: 68.72 kB / 406.6 MB, free: 11.28 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002078/0.3344, allocations: 1.482 MB / 408.1 MB, free: 9.781 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.649e-05/0.3345, allocations: 45.7 kB / 408.1 MB, free: 9.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006474/0.3351, allocations: 0.9485 MB / 409.1 MB, free: 8.773 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003278/0.3355, allocations: 440.3 kB / 409.5 MB, free: 8.348 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/0.3356, allocations: 105.7 kB / 409.6 MB, free: 8.238 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.3358, allocations: 357.9 kB / 410 MB, free: 7.883 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001044/0.3368, allocations: 0.6974 MB / 410.7 MB, free: 7.188 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001168/0.338, allocations: 0.8669 MB / 411.5 MB, free: 6.273 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00224/0.3403, allocations: 1.618 MB / 413.1 MB, free: 4.621 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.3403, allocations: 3.938 kB / 413.1 MB, free: 4.617 MB / 318.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003751/0.344, allocations: 2.317 MB / 415.5 MB, free: 2.316 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.077e-05/0.3441, allocations: 8 kB / 415.5 MB, free: 2.309 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.3441, allocations: 8 kB / 415.5 MB, free: 2.301 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002759/0.3469, allocations: 0.8265 MB / 416.3 MB, free: 1.469 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008175/0.3477, allocations: 206.9 kB / 416.5 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01157/0.3593, allocations: 10.54 MB / 427 MB, free: 6.262 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.3606, allocations: 56.02 kB / 427.1 MB, free: 6.207 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.3608, allocations: 40 kB / 427.1 MB, free: 6.168 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 6 (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 (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001527/0.3623, allocations: 0.8175 MB / 428 MB, free: 5.352 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002813/0.3626, allocations: 162.1 kB / 428.1 MB, free: 5.191 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004004/0.3666, allocations: 2.28 MB / 430.4 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/0.3666, allocations: 16 kB / 430.4 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.3666, allocations: 4 kB / 430.4 MB, free: 2.895 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.3667, allocations: 7.969 kB / 430.4 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007536/0.3742, allocations: 4.763 MB / 435.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.3742, allocations: 1.781 kB / 435.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000676/0.3749, allocations: 162.3 kB / 435.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002625/0.3775, allocations: 0.8212 MB / 436.2 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.854e-05/0.3777, allocations: 31.98 kB / 436.2 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01094/0.3886, allocations: 10.42 MB / 446.6 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3886, allocations: 0 / 446.6 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005448/0.3941, allocations: 3.249 MB / 449.9 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009721/0.3951, allocations: 399.3 kB / 450.3 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000193/0.3953, allocations: 35.92 kB / 450.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000833/0.3961, allocations: 75.94 kB / 450.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003082/0.3964, allocations: 116 kB / 450.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001088/0.3966, allocations: 35.98 kB / 450.5 MB, free: 14.23 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001674/0.3982, allocations: 1.052 MB / 451.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.3983, allocations: 0 / 451.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001916/0.4002, allocations: 0.5156 MB / 452.1 MB, free: 12.66 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005407/0.4007, allocations: 212.6 kB / 452.3 MB, free: 12.47 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003889/0.4046, allocations: 2.407 MB / 454.7 MB, free: 10.03 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.4047, allocations: 0 / 454.7 MB, free: 10.03 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002607/0.4073, allocations: 1.636 MB / 456.3 MB, free: 8.363 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002503/0.4098, allocations: 489.3 kB / 456.8 MB, free: 7.891 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008674/0.4185, allocations: 5.7 MB / 462.5 MB, free: 2.172 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001839/0.4203, allocations: 2.039 MB / 464.6 MB, free: 100 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0009237/0.4213, allocations: 313.5 kB / 464.9 MB, free: 15.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000257/0.4215, allocations: 91.42 kB / 465 MB, free: 15.7 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4215, allocations: 0 / 465 MB, free: 15.7 MB / 382.1 MB Notification: Performance of Templates: time 0.04807/0.4696, allocations: 30.5 MB / 495.5 MB, free: 1.625 MB / 398.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches