Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_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.001321/0.001321, allocations: 111.6 kB / 17.28 MB, free: 6.176 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.001431/0.001432, allocations: 189.3 kB / 18.2 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.883/1.883, allocations: 205.1 MB / 224.1 MB, free: 12.44 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 43.94 kB / 280.2 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1214, allocations: 46.64 MB / 326.8 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008073/0.1295, allocations: 6.789 MB / 333.6 MB, free: 13.95 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004735/0.1343, allocations: 2.295 MB / 335.9 MB, free: 11.65 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009133/0.1353, allocations: 35.81 kB / 335.9 MB, free: 11.61 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001125/0.1364, allocations: 397.8 kB / 336.3 MB, free: 11.22 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001746/0.1382, allocations: 0.6062 MB / 336.9 MB, free: 10.61 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005527/0.1387, allocations: 259.8 kB / 337.2 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002891/0.1416, allocations: 2.898 MB / 340.1 MB, free: 7.449 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002575/0.1442, allocations: 2.458 MB / 342.5 MB, free: 4.934 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003061/0.1473, allocations: 1.31 MB / 343.8 MB, free: 3.629 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002338/0.1496, allocations: 1.576 MB / 345.4 MB, free: 2.047 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005206/0.1502, allocations: 352 kB / 345.7 MB, free: 1.703 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009206/0.1511, allocations: 431.8 kB / 346.2 MB, free: 1.281 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008063/0.1519, allocations: 0.8883 MB / 347.1 MB, free: 400 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00174/0.1537, allocations: 1.525 MB / 348.6 MB, free: 14.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004435/0.1581, allocations: 4.576 MB / 353.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.1581, allocations: 0 / 353.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1581, allocations: 0 / 353.2 MB, free: 10.27 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001232/0.1583, allocations: 0 / 353.2 MB, free: 10.27 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.006535/0.1648, allocations: 2.963 MB / 356.1 MB, free: 7.242 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.1649, allocations: 8.031 kB / 356.1 MB, free: 7.234 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008444/0.1657, allocations: 313.6 kB / 356.4 MB, free: 6.926 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002244/0.168, allocations: 1.515 MB / 357.9 MB, free: 5.352 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001115/0.1681, allocations: 156.4 kB / 358.1 MB, free: 5.195 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002917/0.1684, allocations: 212 kB / 358.3 MB, free: 4.988 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005126/0.1735, allocations: 3.178 MB / 361.5 MB, free: 1.723 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.293e-05/0.1736, allocations: 4 kB / 361.5 MB, free: 1.719 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001982/0.1738, allocations: 84 kB / 361.6 MB, free: 1.637 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001167/0.1739, allocations: 112.4 kB / 361.7 MB, free: 1.523 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004129/0.1781, allocations: 2.727 MB / 364.4 MB, free: 14.78 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01547/0.1936, allocations: 8.896 MB / 373.3 MB, free: 5.707 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003324/0.1969, allocations: 3.39 MB / 376.7 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001813/0.1988, allocations: 1.323 MB / 378 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002777/0.1991, allocations: 122.4 kB / 378.1 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.862e-05/0.1991, allocations: 51.81 kB / 378.2 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 2.655e-06/0.1991, allocations: 0 / 378.2 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.2558/0.455, allocations: 5.629 MB / 383.8 MB, free: 50.69 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.455, allocations: 66.73 kB / 383.9 MB, free: 50.62 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002827/0.4579, allocations: 1.49 MB / 385.4 MB, free: 50.06 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001183/0.458, allocations: 55.75 kB / 385.4 MB, free: 50.01 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008368/0.4589, allocations: 0.9389 MB / 386.4 MB, free: 49.29 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003732/0.4592, allocations: 450 kB / 386.8 MB, free: 48.95 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003986/0.4597, allocations: 221.6 kB / 387 MB, free: 48.84 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.4598, allocations: 356 kB / 387.4 MB, free: 48.52 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001278/0.4611, allocations: 0.6905 MB / 388.1 MB, free: 48.28 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00142/0.4625, allocations: 0.8663 MB / 388.9 MB, free: 47.86 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002958/0.4655, allocations: 1.615 MB / 390.5 MB, free: 47.11 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-05/0.4655, allocations: 5 kB / 390.5 MB, free: 47.11 MB / 318.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00466/0.4702, allocations: 2.305 MB / 392.9 MB, free: 46.18 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.135e-05/0.4702, allocations: 6.625 kB / 392.9 MB, free: 46.18 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.4702, allocations: 8.031 kB / 392.9 MB, free: 46.18 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002824/0.4731, allocations: 0.8252 MB / 393.7 MB, free: 45.95 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007836/0.4739, allocations: 199.4 kB / 393.9 MB, free: 45.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01063/0.4845, allocations: 11.51 MB / 405.4 MB, free: 36.67 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/0.4861, allocations: 57.89 kB / 405.4 MB, free: 36.63 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.552e-05/0.4862, allocations: 42.69 kB / 405.5 MB, free: 36.62 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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.001628/0.4879, allocations: 0.8185 MB / 406.3 MB, free: 35.92 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003539/0.4882, allocations: 162.1 kB / 406.5 MB, free: 35.76 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003304/0.4915, allocations: 2.265 MB / 408.7 MB, free: 33.47 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/0.4916, allocations: 19.94 kB / 408.8 MB, free: 33.45 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/0.4916, allocations: 4 kB / 408.8 MB, free: 33.45 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.4916, allocations: 7.969 kB / 408.8 MB, free: 33.44 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006646/0.4983, allocations: 4.74 MB / 413.5 MB, free: 28.63 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.4983, allocations: 4 kB / 413.5 MB, free: 28.63 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006098/0.4989, allocations: 159.8 kB / 413.7 MB, free: 28.47 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002349/0.5013, allocations: 0.8186 MB / 414.5 MB, free: 27.64 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.427e-05/0.5014, allocations: 28 kB / 414.5 MB, free: 27.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009483/0.5109, allocations: 11.39 MB / 425.9 MB, free: 15.68 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.5109, allocations: 0 / 425.9 MB, free: 15.68 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00445/0.5154, allocations: 3.237 MB / 429.1 MB, free: 12.4 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00115/0.5166, allocations: 399.1 kB / 429.5 MB, free: 11.99 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002269/0.5168, allocations: 28 kB / 429.6 MB, free: 11.96 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007779/0.5176, allocations: 71.94 kB / 429.6 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000376/0.518, allocations: 121.1 kB / 429.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.244e-05/0.5181, allocations: 32 kB / 429.8 MB, free: 11.74 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001477/0.5196, allocations: 1.064 MB / 430.8 MB, free: 10.68 MB / 318.1 MB Notification: Performance of sort global known variables: time 6.91e-07/0.5196, allocations: 0 / 430.8 MB, free: 10.68 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002237/0.5218, allocations: 0.5144 MB / 431.4 MB, free: 10.16 MB / 318.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.0006143/0.5225, allocations: 204.9 kB / 431.6 MB, free: 9.965 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004815/0.5273, allocations: 2.932 MB / 434.5 MB, free: 6.996 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 8.606e-06/0.5273, allocations: 0 / 434.5 MB, free: 6.996 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002142/0.5295, allocations: 1.643 MB / 436.1 MB, free: 5.305 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002531/0.532, allocations: 0.5043 MB / 436.6 MB, free: 4.805 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009336/0.5414, allocations: 5.619 MB / 442.3 MB, free: 15.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002416/0.5439, allocations: 2.039 MB / 444.3 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001401/0.5453, allocations: 305.5 kB / 444.6 MB, free: 12.78 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002774/0.5456, allocations: 103.2 kB / 444.7 MB, free: 12.68 MB / 334.1 MB Notification: Performance of SimCode: time 2.164e-06/0.5456, allocations: 0 / 444.7 MB, free: 12.68 MB / 334.1 MB Notification: Performance of Templates: time 0.06583/0.6114, allocations: 32.34 MB / 477 MB, free: 12.32 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/Rectifier6pulse/Rectifier6pulse.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches