Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 110.9 kB / 17.68 MB, free: 5.355 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.00103/0.00103, allocations: 192 kB / 18.62 MB, free: 4.434 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.306/1.306, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009543/0.0009544, allocations: 59.48 kB / 302.1 MB, free: 5.188 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09069/0.09165, allocations: 49.44 MB / 351.5 MB, free: 3.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01035/0.102, allocations: 10.71 MB / 362.2 MB, free: 8.961 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004942/0.107, allocations: 3.182 MB / 365.4 MB, free: 5.77 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008984/0.1079, allocations: 83.62 kB / 365.5 MB, free: 5.688 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00154/0.1095, allocations: 0.706 MB / 366.2 MB, free: 4.977 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002271/0.1118, allocations: 1.142 MB / 367.3 MB, free: 3.828 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007984/0.1126, allocations: 459.4 kB / 367.8 MB, free: 3.379 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1603/0.2729, allocations: 5.138 MB / 372.9 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004892/0.2778, allocations: 4.783 MB / 377.7 MB, free: 9.648 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003904/0.2817, allocations: 2.379 MB / 380.1 MB, free: 9.367 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004368/0.2861, allocations: 2.771 MB / 382.8 MB, free: 8.879 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001004/0.2871, allocations: 0.6218 MB / 383.5 MB, free: 8.879 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001653/0.2888, allocations: 0.7033 MB / 384.2 MB, free: 8.867 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001418/0.2902, allocations: 1.628 MB / 385.8 MB, free: 7.973 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002756/0.293, allocations: 2.771 MB / 388.6 MB, free: 6.227 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008336/0.3013, allocations: 8.404 MB / 397 MB, free: 1.816 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.333e-06/0.3014, allocations: 0 / 397 MB, free: 1.816 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3014, allocations: 0 / 397 MB, free: 1.816 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001826/0.3016, allocations: 0 / 397 MB, free: 1.816 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01412/0.3157, allocations: 5.104 MB / 402.1 MB, free: 14.21 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.3158, allocations: 8.031 kB / 402.1 MB, free: 14.21 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002247/0.318, allocations: 0.5498 MB / 402.6 MB, free: 13.65 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007211/0.3253, allocations: 2.853 MB / 405.5 MB, free: 10.86 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003213/0.3256, allocations: 291 kB / 405.8 MB, free: 10.58 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008944/0.3265, allocations: 392.9 kB / 406.2 MB, free: 10.2 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01394/0.3405, allocations: 5.794 MB / 411.9 MB, free: 4.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.972e-05/0.3406, allocations: 7.469 kB / 412 MB, free: 4.336 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005242/0.3411, allocations: 163.9 kB / 412.1 MB, free: 4.18 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000313/0.3415, allocations: 208 kB / 412.3 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01215/0.3536, allocations: 5.023 MB / 417.3 MB, free: 14.94 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03219/0.3858, allocations: 16.18 MB / 433.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006508/0.3924, allocations: 6.789 MB / 440.3 MB, free: 7.512 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00342/0.3959, allocations: 2.638 MB / 442.9 MB, free: 4.883 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002919/0.3962, allocations: 135.1 kB / 443.1 MB, free: 4.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.785e-05/0.3962, allocations: 64.55 kB / 443.1 MB, free: 4.66 MB / 350.1 MB Notification: Performance of pre-optimization done (n=249): time 4.759e-06/0.3962, allocations: 4 kB / 443.1 MB, free: 4.656 MB / 350.1 MB Notification: Performance of matching and sorting (n=256): time 0.01839/0.4146, allocations: 10.7 MB / 453.9 MB, free: 9.762 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.042e-05/0.4147, allocations: 81.42 kB / 453.9 MB, free: 9.668 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003563/0.4183, allocations: 2.62 MB / 456.5 MB, free: 7.027 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001922/0.4185, allocations: 73.7 kB / 456.6 MB, free: 6.949 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001058/0.4196, allocations: 1.639 MB / 458.3 MB, free: 5.293 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000623/0.4202, allocations: 0.8427 MB / 459.1 MB, free: 4.461 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006051/0.4208, allocations: 416.6 kB / 459.5 MB, free: 4.047 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.935e-05/0.4209, allocations: 305.1 kB / 459.8 MB, free: 3.746 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001866/0.4228, allocations: 1.336 MB / 461.1 MB, free: 2.406 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002007/0.4248, allocations: 1.654 MB / 462.8 MB, free: 0.6602 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003916/0.4287, allocations: 3.083 MB / 465.9 MB, free: 13.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.7e-05/0.4287, allocations: 11.94 kB / 465.9 MB, free: 13.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007307/0.4361, allocations: 4.454 MB / 470.3 MB, free: 9.004 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.915e-05/0.4361, allocations: 10.97 kB / 470.4 MB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.305e-05/0.4361, allocations: 8 kB / 470.4 MB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005409/0.4416, allocations: 1.642 MB / 472 MB, free: 7.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001677/0.4433, allocations: 390.5 kB / 472.4 MB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02593/0.4692, allocations: 25.72 MB / 498.1 MB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002359/0.4716, allocations: 103.8 kB / 498.2 MB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002706/0.4719, allocations: 72 kB / 498.3 MB, free: 11.84 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.00246/0.4744, allocations: 1.419 MB / 499.7 MB, free: 10.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007349/0.4751, allocations: 292.5 kB / 500 MB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0071/0.4822, allocations: 4.385 MB / 0.4926 GB, free: 5.711 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-05/0.4823, allocations: 24.47 kB / 0.4926 GB, free: 5.688 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.6e-05/0.4823, allocations: 8 kB / 0.4926 GB, free: 5.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.136e-05/0.4823, allocations: 15.89 kB / 0.4926 GB, free: 5.664 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01539/0.4977, allocations: 8.774 MB / 0.5012 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/0.4978, allocations: 0 / 0.5012 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001218/0.499, allocations: 293.4 kB / 0.5014 GB, free: 12.62 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00519/0.5042, allocations: 1.614 MB / 0.503 GB, free: 10.99 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002288/0.5045, allocations: 63.97 kB / 0.5031 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02576/0.5302, allocations: 25.47 MB / 0.528 GB, free: 224 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.5303, allocations: 3.938 kB / 0.528 GB, free: 220 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1989/0.7291, allocations: 6.087 MB / 0.5339 GB, free: 143.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002489/0.7317, allocations: 0.6713 MB / 0.5346 GB, free: 143.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006826/0.7324, allocations: 59.89 kB / 0.5346 GB, free: 143.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/0.7338, allocations: 128.1 kB / 0.5347 GB, free: 143.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005267/0.7343, allocations: 211.5 kB / 0.5349 GB, free: 143.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001531/0.7345, allocations: 64.69 kB / 0.535 GB, free: 143.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002898/0.7374, allocations: 1.854 MB / 0.5368 GB, free: 142.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.7374, allocations: 0 / 0.5368 GB, free: 142.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004188/0.7416, allocations: 0.9516 MB / 0.5377 GB, free: 142.7 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.0006551/0.7423, allocations: 243.9 kB / 0.538 GB, free: 142.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007262/0.7495, allocations: 4.875 MB / 0.5427 GB, free: 140.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.7496, allocations: 4.656 kB / 0.5427 GB, free: 140.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004427/0.754, allocations: 3.364 MB / 0.546 GB, free: 138.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00403/0.7581, allocations: 0.9568 MB / 0.547 GB, free: 137.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01377/0.7719, allocations: 8.465 MB / 0.5552 GB, free: 134.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003104/0.775, allocations: 3.177 MB / 0.5583 GB, free: 133 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001936/0.777, allocations: 0.5785 MB / 0.5589 GB, free: 132.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004793/0.7775, allocations: 172.5 kB / 0.5591 GB, free: 132.9 MB / 446.1 MB Notification: Performance of SimCode: time 9.02e-07/0.7775, allocations: 0 / 0.5591 GB, free: 132.9 MB / 446.1 MB Notification: Performance of Templates: time 0.07768/0.8552, allocations: 59.02 MB / 0.6167 GB, free: 77.24 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches