Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00169/0.00169, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001965/0.001965, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.331/1.331, allocations: 227.4 MB / 247.5 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001119, allocations: 59.44 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.105, allocations: 50.53 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.0102/0.1152, allocations: 10.73 MB / 369.6 MB, free: 2.582 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1754/0.2906, allocations: 3.23 MB / 372.9 MB, free: 9.727 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001888/0.2925, allocations: 86.84 kB / 372.9 MB, free: 9.727 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002043/0.2947, allocations: 0.7094 MB / 373.6 MB, free: 9.723 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003713/0.2984, allocations: 1.136 MB / 374.8 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001194/0.2996, allocations: 475.8 kB / 375.3 MB, free: 9.684 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007882/0.3075, allocations: 5.146 MB / 380.4 MB, free: 8.188 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005948/0.3135, allocations: 4.784 MB / 385.2 MB, free: 6.332 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005144/0.3186, allocations: 2.401 MB / 387.6 MB, free: 5.258 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004366/0.323, allocations: 2.763 MB / 390.3 MB, free: 4.008 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009563/0.324, allocations: 0.6218 MB / 391 MB, free: 4.008 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001626/0.3256, allocations: 0.7102 MB / 391.7 MB, free: 3.988 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001222/0.3269, allocations: 1.638 MB / 393.3 MB, free: 3.062 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00278/0.3296, allocations: 2.77 MB / 396.1 MB, free: 1.293 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006352/0.336, allocations: 8.413 MB / 404.5 MB, free: 10.29 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.336, allocations: 0 / 404.5 MB, free: 10.29 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.185e-06/0.336, allocations: 0 / 404.5 MB, free: 10.29 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.000149/0.3362, allocations: 0 / 404.5 MB, free: 10.29 MB / 318.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.01007/0.3463, allocations: 5.113 MB / 409.6 MB, free: 5.121 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.3463, allocations: 12.02 kB / 409.6 MB, free: 5.109 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001579/0.3479, allocations: 0.577 MB / 410.2 MB, free: 4.527 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004981/0.3529, allocations: 2.862 MB / 413.1 MB, free: 1.633 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001956/0.3531, allocations: 291.6 kB / 413.3 MB, free: 1.352 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005497/0.3537, allocations: 394.4 kB / 413.7 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009412/0.3631, allocations: 5.803 MB / 419.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.229e-05/0.3632, allocations: 3.938 kB / 419.5 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003697/0.3636, allocations: 163.8 kB / 419.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002197/0.3638, allocations: 204 kB / 419.9 MB, free: 10.73 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009121/0.3729, allocations: 5.02 MB / 424.9 MB, free: 5.688 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02899/0.402, allocations: 16.19 MB / 441.1 MB, free: 5.371 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006769/0.4088, allocations: 6.787 MB / 447.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003697/0.4125, allocations: 2.637 MB / 450.5 MB, free: 11.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003129/0.4128, allocations: 137.9 kB / 450.7 MB, free: 11.23 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.636e-05/0.4129, allocations: 68.5 kB / 450.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of pre-optimization done (n=249): time 4.608e-06/0.4129, allocations: 0 / 450.7 MB, free: 11.16 MB / 366.1 MB Notification: Performance of matching and sorting (n=256): time 0.01958/0.4325, allocations: 10.7 MB / 461.4 MB, free: 216 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.049e-05/0.4326, allocations: 77.42 kB / 461.5 MB, free: 124 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004377/0.437, allocations: 2.64 MB / 464.2 MB, free: 13.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003487/0.4374, allocations: 69.7 kB / 464.2 MB, free: 13.39 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00131/0.4387, allocations: 1.639 MB / 465.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007997/0.4395, allocations: 0.8463 MB / 466.7 MB, free: 10.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006542/0.4402, allocations: 412.6 kB / 467.1 MB, free: 10.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.4403, allocations: 302.7 kB / 467.4 MB, free: 10.19 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001923/0.4422, allocations: 1.344 MB / 468.7 MB, free: 8.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0022/0.4444, allocations: 1.652 MB / 470.4 MB, free: 7.094 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004291/0.4487, allocations: 3.077 MB / 473.5 MB, free: 3.895 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.096e-05/0.4488, allocations: 7.938 kB / 473.5 MB, free: 3.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007968/0.4567, allocations: 4.461 MB / 477.9 MB, free: 15.34 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.752e-05/0.4568, allocations: 8 kB / 478 MB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.171e-05/0.4568, allocations: 8.062 kB / 478 MB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005221/0.4621, allocations: 1.651 MB / 479.6 MB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001617/0.4637, allocations: 391.5 kB / 480 MB, free: 13.26 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02578/0.4895, allocations: 25.73 MB / 0.4939 GB, free: 2.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002413/0.4919, allocations: 95.86 kB / 0.494 GB, free: 2.066 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003792/0.4923, allocations: 76 kB / 0.494 GB, free: 1.992 MB / 414.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.002857/0.4952, allocations: 1.407 MB / 0.4954 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008826/0.4961, allocations: 296.5 kB / 0.4957 GB, free: 288 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007708/0.5038, allocations: 4.411 MB / 0.5 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.058e-05/0.5039, allocations: 24 kB / 0.5 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-05/0.5039, allocations: 8 kB / 0.5 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.042e-05/0.5039, allocations: 15.95 kB / 0.5 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01559/0.5195, allocations: 8.771 MB / 0.5086 GB, free: 2.996 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/0.5196, allocations: 4 kB / 0.5086 GB, free: 2.992 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00115/0.5207, allocations: 295.6 kB / 0.5089 GB, free: 2.703 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00489/0.5256, allocations: 1.612 MB / 0.5105 GB, free: 1.059 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002484/0.5259, allocations: 59.98 kB / 0.5105 GB, free: 1 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2311/0.757, allocations: 25.46 MB / 0.5354 GB, free: 133.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.757, allocations: 1.25 kB / 0.5354 GB, free: 133.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01018/0.7672, allocations: 6.093 MB / 0.5413 GB, free: 131 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001977/0.7692, allocations: 0.6782 MB / 0.542 GB, free: 130.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004287/0.7697, allocations: 58.98 kB / 0.5421 GB, free: 130.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001345/0.771, allocations: 119.2 kB / 0.5422 GB, free: 130.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006366/0.7717, allocations: 208.8 kB / 0.5424 GB, free: 130.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001644/0.7719, allocations: 70.66 kB / 0.5424 GB, free: 130.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00288/0.7747, allocations: 1.855 MB / 0.5443 GB, free: 129.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.7748, allocations: 3.094 kB / 0.5443 GB, free: 129.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003753/0.7785, allocations: 0.9523 MB / 0.5452 GB, free: 129.8 MB / 446.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.0006886/0.7792, allocations: 246.5 kB / 0.5454 GB, free: 129.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00694/0.7862, allocations: 4.877 MB / 0.5502 GB, free: 127.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.7862, allocations: 0 / 0.5502 GB, free: 127.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00424/0.7905, allocations: 3.36 MB / 0.5535 GB, free: 125.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004017/0.7945, allocations: 0.9623 MB / 0.5544 GB, free: 125 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01202/0.8066, allocations: 8.482 MB / 0.5627 GB, free: 121.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002792/0.8094, allocations: 3.168 MB / 0.5658 GB, free: 119.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001772/0.8112, allocations: 0.5805 MB / 0.5664 GB, free: 119.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005051/0.8117, allocations: 171.3 kB / 0.5665 GB, free: 119.3 MB / 446.1 MB Notification: Performance of SimCode: time 8.92e-07/0.8117, allocations: 0 / 0.5665 GB, free: 119.3 MB / 446.1 MB Notification: Performance of Templates: time 0.07947/0.8912, allocations: 59.04 MB / 0.6242 GB, free: 61.45 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches