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.001098/0.001098, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001156/0.001156, allocations: 198 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.332/1.332, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 63.89 kB / 358.7 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2676, allocations: 50.55 MB / 409.3 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01102/0.2786, allocations: 10.72 MB / 420 MB, free: 6.816 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007336/0.286, allocations: 3.24 MB / 423.2 MB, free: 3.566 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001414/0.2875, allocations: 87.56 kB / 423.3 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001485/0.289, allocations: 0.7099 MB / 424 MB, free: 2.766 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00235/0.2914, allocations: 1.138 MB / 425.2 MB, free: 1.621 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008185/0.2922, allocations: 467.5 kB / 425.6 MB, free: 1.164 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005058/0.2973, allocations: 5.151 MB / 430.8 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004856/0.3021, allocations: 4.781 MB / 435.6 MB, free: 7.125 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00439/0.3065, allocations: 2.405 MB / 438 MB, free: 4.734 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004074/0.3106, allocations: 2.771 MB / 440.7 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008039/0.3114, allocations: 0.625 MB / 441.4 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.3127, allocations: 0.6991 MB / 442.1 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001464/0.3142, allocations: 1.636 MB / 443.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003284/0.3175, allocations: 2.77 MB / 446.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008025/0.3255, allocations: 8.424 MB / 454.9 MB, free: 3.758 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.3255, allocations: 0 / 454.9 MB, free: 3.758 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.3255, allocations: 0 / 454.9 MB, free: 3.758 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002077/0.3258, allocations: 0 / 454.9 MB, free: 3.758 MB / 366.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.01118/0.3369, allocations: 5.114 MB / 460 MB, free: 14.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.337, allocations: 8.031 kB / 460 MB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001695/0.3387, allocations: 0.5732 MB / 460.6 MB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005436/0.3442, allocations: 2.869 MB / 463.5 MB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001832/0.3444, allocations: 291.8 kB / 463.7 MB, free: 10.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000556/0.3449, allocations: 384 kB / 464.1 MB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009036/0.354, allocations: 5.813 MB / 469.9 MB, free: 4.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.65e-05/0.3541, allocations: 4 kB / 469.9 MB, free: 4.477 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003497/0.3544, allocations: 160 kB / 470.1 MB, free: 4.32 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001928/0.3546, allocations: 204 kB / 470.3 MB, free: 4.117 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008494/0.3631, allocations: 5.02 MB / 475.3 MB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03156/0.3947, allocations: 16.19 MB / 491.5 MB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007779/0.4025, allocations: 6.79 MB / 498.3 MB, free: 7.254 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003947/0.4065, allocations: 2.618 MB / 0.4892 GB, free: 4.637 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003411/0.4069, allocations: 143 kB / 0.4893 GB, free: 4.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.591e-05/0.407, allocations: 56.56 kB / 0.4894 GB, free: 4.414 MB / 414.1 MB Notification: Performance of pre-optimization done (n=249): time 4.458e-06/0.407, allocations: 4 kB / 0.4894 GB, free: 4.41 MB / 414.1 MB Notification: Performance of matching and sorting (n=256): time 0.02193/0.4289, allocations: 10.7 MB / 0.4998 GB, free: 9.461 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.19e-05/0.429, allocations: 77.42 kB / 0.4999 GB, free: 9.371 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004016/0.4331, allocations: 2.64 MB / 0.5025 GB, free: 6.711 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001725/0.4333, allocations: 77.7 kB / 0.5025 GB, free: 6.629 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001182/0.4344, allocations: 1.644 MB / 0.5041 GB, free: 4.965 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000724/0.4352, allocations: 0.8355 MB / 0.505 GB, free: 4.117 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006554/0.4358, allocations: 416.5 kB / 0.5054 GB, free: 3.703 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.436, allocations: 313.1 kB / 0.5057 GB, free: 3.395 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001973/0.4379, allocations: 1.336 MB / 0.507 GB, free: 2.055 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00218/0.4401, allocations: 1.647 MB / 0.5086 GB, free: 320 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004351/0.4445, allocations: 3.087 MB / 0.5116 GB, free: 13.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.4445, allocations: 3.938 kB / 0.5116 GB, free: 13.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007761/0.4523, allocations: 4.457 MB / 0.5159 GB, free: 8.559 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.397e-05/0.4524, allocations: 8 kB / 0.5159 GB, free: 8.551 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-05/0.4524, allocations: 4 kB / 0.516 GB, free: 8.547 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005327/0.4577, allocations: 1.651 MB / 0.5176 GB, free: 6.863 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00183/0.4596, allocations: 387.5 kB / 0.5179 GB, free: 6.484 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3536/0.8132, allocations: 25.72 MB / 0.5431 GB, free: 118 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002124/0.8153, allocations: 95.59 kB / 0.5431 GB, free: 118 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002248/0.8156, allocations: 81.09 kB / 0.5432 GB, free: 118 MB / 462.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.002242/0.8178, allocations: 1.412 MB / 0.5446 GB, free: 117.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006192/0.8185, allocations: 300 kB / 0.5449 GB, free: 117.9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006317/0.8248, allocations: 4.388 MB / 0.5492 GB, free: 116.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.968e-05/0.8248, allocations: 23.59 kB / 0.5492 GB, free: 116.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-05/0.8248, allocations: 9.344 kB / 0.5492 GB, free: 116.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.815e-05/0.8249, allocations: 10.88 kB / 0.5492 GB, free: 116.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01228/0.8371, allocations: 8.783 MB / 0.5578 GB, free: 112.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/0.8372, allocations: 0 / 0.5578 GB, free: 112.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/0.8383, allocations: 287.7 kB / 0.5581 GB, free: 112.8 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004565/0.8428, allocations: 1.622 MB / 0.5596 GB, free: 111.6 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001523/0.843, allocations: 55.98 kB / 0.5597 GB, free: 111.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01884/0.8618, allocations: 25.47 MB / 0.5846 GB, free: 84.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.8619, allocations: 0 / 0.5846 GB, free: 84.98 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007688/0.8696, allocations: 6.094 MB / 0.5905 GB, free: 78.93 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001786/0.8714, allocations: 0.678 MB / 0.5912 GB, free: 78.29 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004107/0.8718, allocations: 56.41 kB / 0.5912 GB, free: 78.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001333/0.8732, allocations: 120.6 kB / 0.5914 GB, free: 78.12 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004765/0.8737, allocations: 213.6 kB / 0.5916 GB, free: 77.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001267/0.8738, allocations: 63.98 kB / 0.5916 GB, free: 77.84 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002138/0.8759, allocations: 1.856 MB / 0.5934 GB, free: 75.98 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.876, allocations: 3.938 kB / 0.5934 GB, free: 75.97 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003223/0.8792, allocations: 0.9498 MB / 0.5944 GB, free: 75.02 MB / 462.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.0007354/0.8799, allocations: 251.5 kB / 0.5946 GB, free: 74.79 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008828/0.8888, allocations: 4.876 MB / 0.5994 GB, free: 69.77 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.742e-06/0.8888, allocations: 0 / 0.5994 GB, free: 69.77 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005929/0.8948, allocations: 3.358 MB / 0.6026 GB, free: 66.29 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005984/0.9008, allocations: 0.9557 MB / 0.6036 GB, free: 65.33 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01978/0.9206, allocations: 8.48 MB / 0.6119 GB, free: 56.89 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003849/0.9245, allocations: 3.173 MB / 0.615 GB, free: 53.68 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002816/0.9273, allocations: 0.5792 MB / 0.6155 GB, free: 53.09 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007832/0.9281, allocations: 171.4 kB / 0.6157 GB, free: 52.93 MB / 462.1 MB Notification: Performance of SimCode: time 2.215e-06/0.9282, allocations: 0 / 0.6157 GB, free: 52.93 MB / 462.1 MB Notification: Performance of Templates: time 0.1284/1.057, allocations: 61.07 MB / 0.6753 GB, free: 8.516 MB / 478.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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/Rectifier12pulse/Rectifier12pulse.csv","/var/lib/jenkins/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