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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.00113/0.00113, allocations: 187 kB / 17.92 MB, free: 3.855 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.219/1.219, allocations: 205.1 MB / 223.7 MB, free: 8.48 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.0009634/0.0009634, allocations: 95.92 kB / 271.2 MB, free: 8.445 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008822/0.0008827, allocations: 39.94 kB / 327.2 MB, free: 324 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2646, allocations: 46.61 MB / 373.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.006908/0.2716, allocations: 6.81 MB / 380.6 MB, free: 40.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003241/0.2749, allocations: 2.313 MB / 382.9 MB, free: 38.53 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004131/0.2753, allocations: 39.69 kB / 383 MB, free: 38.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008046/0.2762, allocations: 387.2 kB / 383.4 MB, free: 38.22 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001054/0.2772, allocations: 0.6088 MB / 384 MB, free: 37.73 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000349/0.2776, allocations: 256.9 kB / 384.2 MB, free: 37.51 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002476/0.2801, allocations: 3.317 MB / 387.5 MB, free: 35.64 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001515/0.2816, allocations: 2.045 MB / 389.6 MB, free: 33.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001825/0.2834, allocations: 1.119 MB / 390.7 MB, free: 32.54 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001064/0.2845, allocations: 1.459 MB / 392.2 MB, free: 31.08 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002346/0.2848, allocations: 212 kB / 392.4 MB, free: 30.87 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005054/0.2853, allocations: 315.8 kB / 392.7 MB, free: 30.56 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004085/0.2857, allocations: 0.7554 MB / 393.4 MB, free: 29.8 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008807/0.2866, allocations: 1.369 MB / 394.8 MB, free: 28.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002163/0.2887, allocations: 4.459 MB / 399.3 MB, free: 23.96 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2888, allocations: 0 / 399.3 MB, free: 23.96 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2888, allocations: 4 kB / 399.3 MB, free: 23.95 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.627e-05/0.2888, allocations: 0 / 399.3 MB, free: 23.95 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.004165/0.293, allocations: 2.952 MB / 402.2 MB, free: 20.94 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.293, allocations: 8.031 kB / 402.2 MB, free: 20.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005645/0.2936, allocations: 305.6 kB / 402.5 MB, free: 20.63 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001972/0.2956, allocations: 1.503 MB / 404 MB, free: 19.07 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.274e-05/0.2957, allocations: 164.4 kB / 404.2 MB, free: 18.9 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002238/0.2959, allocations: 220 kB / 404.4 MB, free: 18.69 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003486/0.2994, allocations: 3.174 MB / 407.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.437e-05/0.2994, allocations: 0 / 407.6 MB, free: 15.43 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001587/0.2996, allocations: 92 kB / 407.7 MB, free: 15.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.618e-05/0.2997, allocations: 112.4 kB / 407.8 MB, free: 15.22 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003142/0.3028, allocations: 2.723 MB / 410.5 MB, free: 12.48 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009749/0.3126, allocations: 8.896 MB / 419.4 MB, free: 3.41 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002316/0.3149, allocations: 3.382 MB / 422.8 MB, free: 15.72 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001717/0.3167, allocations: 1.327 MB / 424.1 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002266/0.3169, allocations: 122.4 kB / 424.2 MB, free: 14.26 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.3169, allocations: 51.8 kB / 424.3 MB, free: 14.2 MB / 314.7 MB Notification: Performance of pre-optimization done (n=128): time 3.657e-06/0.3169, allocations: 0 / 424.3 MB, free: 14.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=132): time 0.009239/0.3262, allocations: 5.628 MB / 429.9 MB, free: 8.441 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.3263, allocations: 64.72 kB / 430 MB, free: 8.363 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001922/0.3282, allocations: 1.498 MB / 431.5 MB, free: 6.848 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.992e-05/0.3283, allocations: 49.7 kB / 431.5 MB, free: 6.793 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006178/0.3289, allocations: 0.9409 MB / 432.5 MB, free: 5.84 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003074/0.3292, allocations: 441.5 kB / 432.9 MB, free: 5.402 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003198/0.3296, allocations: 226.7 kB / 433.1 MB, free: 5.176 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.3297, allocations: 357.9 kB / 433.5 MB, free: 4.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009528/0.3307, allocations: 0.6896 MB / 434.1 MB, free: 4.129 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.3317, allocations: 0.8754 MB / 435 MB, free: 3.207 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002023/0.3338, allocations: 1.609 MB / 436.6 MB, free: 1.543 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3338, allocations: 0 / 436.6 MB, free: 1.543 MB / 314.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003598/0.3374, allocations: 2.314 MB / 438.9 MB, free: 15.21 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.3374, allocations: 4 kB / 438.9 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.3374, allocations: 8 kB / 439 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002511/0.34, allocations: 0.8228 MB / 439.8 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000727/0.3407, allocations: 203.7 kB / 440 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01045/0.3512, allocations: 10.51 MB / 450.5 MB, free: 3.102 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/0.3522, allocations: 56.02 kB / 450.5 MB, free: 3.047 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-05/0.3523, allocations: 40 kB / 450.6 MB, free: 3.008 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 (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.001161/0.3535, allocations: 0.8179 MB / 451.4 MB, free: 2.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002311/0.3537, allocations: 162.1 kB / 451.6 MB, free: 2.02 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003478/0.3572, allocations: 2.273 MB / 453.8 MB, free: 15.72 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.3572, allocations: 12 kB / 453.8 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.3572, allocations: 8 kB / 453.9 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/0.3572, allocations: 3.984 kB / 453.9 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006801/0.364, allocations: 4.75 MB / 458.6 MB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/0.3641, allocations: 4 kB / 458.6 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00061/0.3647, allocations: 151.8 kB / 458.8 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002331/0.367, allocations: 0.8117 MB / 459.6 MB, free: 9.871 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-05/0.3671, allocations: 47.92 kB / 459.6 MB, free: 9.824 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0101/0.3772, allocations: 10.39 MB / 470 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.3773, allocations: 96 / 470 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02996/0.4072, allocations: 23.35 MB / 493.4 MB, free: 6.793 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006931/0.408, allocations: 407 kB / 493.8 MB, free: 6.375 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001657/0.4081, allocations: 32 kB / 493.8 MB, free: 6.344 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007041/0.4089, allocations: 68 kB / 493.8 MB, free: 6.277 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002956/0.4092, allocations: 117.1 kB / 494 MB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.555e-05/0.4092, allocations: 35.98 kB / 494 MB, free: 6.125 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001335/0.4106, allocations: 1.056 MB / 495.1 MB, free: 5.066 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4106, allocations: 0 / 495.1 MB, free: 5.066 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002133/0.4127, allocations: 0.7305 MB / 495.8 MB, free: 4.336 MB / 378.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 (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.0004427/0.4132, allocations: 191.5 kB / 496 MB, free: 4.148 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003151/0.4163, allocations: 2.393 MB / 498.4 MB, free: 1.703 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.4164, allocations: 0 / 498.4 MB, free: 1.703 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002067/0.4184, allocations: 1.644 MB / 0.4883 GB, free: 12 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001967/0.4204, allocations: 487.1 kB / 0.4888 GB, free: 15.54 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009752/0.4302, allocations: 7.243 MB / 0.4958 GB, free: 8.18 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001991/0.4322, allocations: 2.087 MB / 0.4979 GB, free: 6.062 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0009498/0.4332, allocations: 325.5 kB / 0.4982 GB, free: 5.738 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003038/0.4335, allocations: 95.42 kB / 0.4983 GB, free: 5.645 MB / 394.7 MB Notification: Performance of SimCode: time 4.11e-07/0.4335, allocations: 0 / 0.4983 GB, free: 5.645 MB / 394.7 MB Notification: Performance of Templates: time 0.1944/0.6279, allocations: 36.56 MB / 0.534 GB, free: 99.48 MB / 394.7 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@2/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