Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001566/0.001566, allocations: 177.1 kB / 16.41 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.729/1.729, allocations: 205.4 MB / 222.6 MB, free: 9.105 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000777/0.000777, allocations: 91.8 kB / 270.9 MB, free: 8.352 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003255/0.0003257, allocations: 11.98 kB / 327 MB, free: 188 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2247/0.2251, allocations: 47.57 MB / 374.6 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.004897/0.23, allocations: 5.974 MB / 380.5 MB, free: 40.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00283/0.2329, allocations: 2.214 MB / 382.7 MB, free: 38.91 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004042/0.2333, allocations: 35.62 kB / 382.8 MB, free: 38.9 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006505/0.2339, allocations: 352.9 kB / 383.1 MB, free: 38.63 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009505/0.2349, allocations: 0.5866 MB / 383.7 MB, free: 38.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003019/0.2352, allocations: 175.9 kB / 383.9 MB, free: 38.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002189/0.2374, allocations: 3.006 MB / 386.9 MB, free: 36.22 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001409/0.2388, allocations: 1.582 MB / 388.5 MB, free: 34.88 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001222/0.2401, allocations: 0.9573 MB / 389.4 MB, free: 33.91 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001099/0.2412, allocations: 1.249 MB / 390.7 MB, free: 32.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001975/0.2414, allocations: 156 kB / 390.8 MB, free: 32.51 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004498/0.2418, allocations: 219.9 kB / 391 MB, free: 32.29 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003742/0.2422, allocations: 0.658 MB / 391.7 MB, free: 31.63 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003509/0.2426, allocations: 0.5355 MB / 392.2 MB, free: 31.09 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002057/0.2446, allocations: 3.728 MB / 396 MB, free: 27.35 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2447, allocations: 3.938 kB / 396 MB, free: 27.35 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2447, allocations: 0 / 396 MB, free: 27.35 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.142e-05/0.2447, allocations: 0 / 396 MB, free: 27.35 MB / 298.7 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.003738/0.2485, allocations: 2.523 MB / 398.5 MB, free: 24.76 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.053e-05/0.2485, allocations: 11.97 kB / 398.5 MB, free: 24.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006335/0.2492, allocations: 312.8 kB / 398.8 MB, free: 24.44 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001771/0.251, allocations: 1.46 MB / 400.3 MB, free: 22.92 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.69e-05/0.251, allocations: 160.4 kB / 400.4 MB, free: 22.76 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002358/0.2513, allocations: 212 kB / 400.6 MB, free: 22.55 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00406/0.2553, allocations: 3.167 MB / 403.8 MB, free: 19.3 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.379e-05/0.2554, allocations: 3.953 kB / 403.8 MB, free: 19.3 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001794/0.2556, allocations: 88 kB / 403.9 MB, free: 19.21 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.153e-05/0.2557, allocations: 108.4 kB / 404 MB, free: 19.1 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003615/0.2593, allocations: 2.727 MB / 406.7 MB, free: 16.36 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01164/0.2709, allocations: 8.959 MB / 415.7 MB, free: 7.223 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002437/0.2734, allocations: 3.386 MB / 419.1 MB, free: 3.531 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001557/0.275, allocations: 1.339 MB / 420.4 MB, free: 2.199 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002045/0.2752, allocations: 126.3 kB / 420.5 MB, free: 2.059 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/0.2753, allocations: 43.88 kB / 420.6 MB, free: 2.008 MB / 298.7 MB Notification: Performance of pre-optimization done (n=128): time 4.819e-06/0.2753, allocations: 4 kB / 420.6 MB, free: 2.004 MB / 298.7 MB Notification: Performance of matching and sorting (n=132): time 0.00989/0.2852, allocations: 5.664 MB / 426.2 MB, free: 12.21 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/0.2852, allocations: 64.72 kB / 426.3 MB, free: 12.13 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002055/0.2873, allocations: 1.478 MB / 427.8 MB, free: 10.63 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.08e-05/0.2874, allocations: 49.7 kB / 427.8 MB, free: 10.58 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000696/0.2881, allocations: 0.9408 MB / 428.8 MB, free: 9.625 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003355/0.2885, allocations: 449.6 kB / 429.2 MB, free: 9.18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.951e-05/0.2885, allocations: 24 kB / 429.2 MB, free: 9.156 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001622/0.2887, allocations: 357.9 kB / 429.6 MB, free: 8.801 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/0.2897, allocations: 0.6896 MB / 430.3 MB, free: 8.113 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001119/0.2909, allocations: 0.8754 MB / 431.1 MB, free: 7.188 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.292, allocations: 0.8183 MB / 432 MB, free: 6.367 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.292, allocations: 4 kB / 432 MB, free: 6.363 MB / 314.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00364/0.2957, allocations: 2.298 MB / 434.3 MB, free: 4.043 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.2957, allocations: 12 kB / 434.3 MB, free: 4.031 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.2958, allocations: 7.984 kB / 434.3 MB, free: 4.023 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002889/0.2987, allocations: 0.8305 MB / 435.1 MB, free: 3.18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007943/0.2995, allocations: 203.7 kB / 435.3 MB, free: 2.98 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0108/0.3103, allocations: 10.51 MB / 445.8 MB, free: 7.922 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.3114, allocations: 60.11 kB / 445.9 MB, free: 7.863 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.489e-05/0.3115, allocations: 43.94 kB / 445.9 MB, free: 7.82 MB / 330.7 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 (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 initialization (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.001397/0.3129, allocations: 0.8135 MB / 446.7 MB, free: 6.996 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002766/0.3132, allocations: 170.1 kB / 446.9 MB, free: 6.828 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003642/0.3168, allocations: 2.265 MB / 449.2 MB, free: 4.543 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.3168, allocations: 12 kB / 449.2 MB, free: 4.531 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.3168, allocations: 11.98 kB / 449.2 MB, free: 4.52 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/0.3169, allocations: 7.969 kB / 449.2 MB, free: 4.512 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006883/0.3237, allocations: 4.758 MB / 454 MB, free: 15.65 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.596e-06/0.3238, allocations: 7.984 kB / 454 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006562/0.3244, allocations: 155.8 kB / 454.1 MB, free: 15.49 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002677/0.3271, allocations: 0.8034 MB / 454.9 MB, free: 14.68 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-05/0.3272, allocations: 32 kB / 455 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01094/0.3382, allocations: 10.4 MB / 465.4 MB, free: 3.703 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.3382, allocations: 4.062 kB / 465.4 MB, free: 3.699 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004876/0.3431, allocations: 3.226 MB / 468.6 MB, free: 436 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007421/0.3438, allocations: 407.1 kB / 469 MB, free: 8 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001867/0.344, allocations: 28.05 kB / 469 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007782/0.3448, allocations: 79.8 kB / 469.1 MB, free: 15.9 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002485/0.3451, allocations: 117.1 kB / 469.2 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.838e-05/0.3452, allocations: 39.94 kB / 469.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001484/0.3467, allocations: 1.048 MB / 470.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3467, allocations: 0 / 470.3 MB, free: 14.7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001937/0.3486, allocations: 0.5078 MB / 470.8 MB, free: 14.19 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003978/0.349, allocations: 189 kB / 471 MB, free: 14.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00348/0.3525, allocations: 2.392 MB / 473.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.3525, allocations: 0 / 473.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00225/0.3548, allocations: 1.637 MB / 475 MB, free: 9.875 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001886/0.3567, allocations: 498.4 kB / 475.5 MB, free: 9.387 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007124/0.3638, allocations: 5.448 MB / 481 MB, free: 3.887 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001594/0.3654, allocations: 1.987 MB / 482.9 MB, free: 1.867 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003001/0.3657, allocations: 95.42 kB / 483 MB, free: 1.773 MB / 362.7 MB Notification: Performance of SimCode: time 5.92e-07/0.3657, allocations: 0 / 483 MB, free: 1.773 MB / 362.7 MB Notification: Performance of Templates: time 0.2007/0.5664, allocations: 75.15 MB / 0.5451 GB, free: 56.79 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches