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.001162/0.001162, allocations: 113.7 kB / 17.69 MB, free: 5.309 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.001124/0.001124, allocations: 191 kB / 18.63 MB, free: 4.375 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.288/1.288, allocations: 222.9 MB / 242.3 MB, free: 15.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009327/0.0009327, allocations: 54.92 kB / 302.1 MB, free: 5.133 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08196/0.08291, allocations: 49.44 MB / 351.5 MB, free: 3.664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01042/0.09336, allocations: 10.71 MB / 362.2 MB, free: 8.895 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005706/0.09909, allocations: 3.17 MB / 365.4 MB, free: 5.715 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001483/0.1006, allocations: 87.62 kB / 365.5 MB, free: 5.629 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001452/0.1021, allocations: 0.7059 MB / 366.2 MB, free: 4.918 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002584/0.1047, allocations: 1.138 MB / 367.3 MB, free: 3.773 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008073/0.1055, allocations: 463.4 kB / 367.8 MB, free: 3.32 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1702/0.2758, allocations: 5.134 MB / 372.9 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005278/0.2811, allocations: 4.792 MB / 377.7 MB, free: 9.648 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00405/0.2851, allocations: 2.377 MB / 380.1 MB, free: 9.367 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004253/0.2894, allocations: 2.779 MB / 382.9 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001132/0.2906, allocations: 0.622 MB / 383.5 MB, free: 8.875 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001607/0.2922, allocations: 0.7023 MB / 384.2 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001365/0.2935, allocations: 1.635 MB / 385.8 MB, free: 7.969 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003679/0.2972, allocations: 2.762 MB / 388.6 MB, free: 6.223 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006233/0.3035, allocations: 8.407 MB / 397 MB, free: 1.801 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.3035, allocations: 0 / 397 MB, free: 1.801 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3035, allocations: 0 / 397 MB, free: 1.801 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000147/0.3037, allocations: 0 / 397 MB, free: 1.801 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.01011/0.3138, allocations: 5.106 MB / 402.1 MB, free: 14.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.3138, allocations: 8.031 kB / 402.1 MB, free: 14.16 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001468/0.3153, allocations: 0.5498 MB / 402.6 MB, free: 13.6 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005568/0.3209, allocations: 2.845 MB / 405.5 MB, free: 10.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002268/0.3212, allocations: 286.7 kB / 405.8 MB, free: 10.54 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006599/0.3218, allocations: 402.8 kB / 406.2 MB, free: 10.16 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0112/0.333, allocations: 5.795 MB / 412 MB, free: 4.289 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.619e-05/0.3331, allocations: 3.188 kB / 412 MB, free: 4.289 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003775/0.3335, allocations: 166.9 kB / 412.1 MB, free: 4.133 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002023/0.3337, allocations: 208 kB / 412.3 MB, free: 3.926 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009673/0.3434, allocations: 5.015 MB / 417.3 MB, free: 14.9 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03172/0.3752, allocations: 16.19 MB / 433.5 MB, free: 14.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006878/0.3821, allocations: 6.785 MB / 440.3 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003855/0.386, allocations: 2.636 MB / 443 MB, free: 4.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003466/0.3864, allocations: 138 kB / 443.1 MB, free: 4.688 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.771e-05/0.3864, allocations: 60.56 kB / 443.2 MB, free: 4.621 MB / 350.1 MB Notification: Performance of pre-optimization done (n=249): time 5.21e-06/0.3864, allocations: 0 / 443.2 MB, free: 4.621 MB / 350.1 MB Notification: Performance of matching and sorting (n=256): time 0.02112/0.4076, allocations: 10.71 MB / 453.9 MB, free: 9.719 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.058e-05/0.4077, allocations: 77.42 kB / 453.9 MB, free: 9.629 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004652/0.4123, allocations: 2.628 MB / 456.6 MB, free: 6.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003598/0.4127, allocations: 65.7 kB / 456.6 MB, free: 6.91 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001171/0.4139, allocations: 1.647 MB / 458.3 MB, free: 5.246 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007985/0.4147, allocations: 0.8384 MB / 459.1 MB, free: 4.418 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000643/0.4153, allocations: 412.6 kB / 459.5 MB, free: 4.008 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.759e-05/0.4154, allocations: 309.1 kB / 459.8 MB, free: 3.703 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001964/0.4174, allocations: 1.332 MB / 461.2 MB, free: 2.367 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002119/0.4195, allocations: 1.65 MB / 462.8 MB, free: 0.625 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004043/0.4236, allocations: 3.087 MB / 465.9 MB, free: 13.44 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.4236, allocations: 3.938 kB / 465.9 MB, free: 13.44 MB / 382.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007217/0.4308, allocations: 4.459 MB / 470.4 MB, free: 8.969 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.602e-05/0.4309, allocations: 8 kB / 470.4 MB, free: 8.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/0.4309, allocations: 8.062 kB / 470.4 MB, free: 8.953 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005227/0.4361, allocations: 1.65 MB / 472 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/0.4377, allocations: 385.4 kB / 472.4 MB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02467/0.4624, allocations: 25.73 MB / 498.1 MB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002591/0.465, allocations: 103.8 kB / 498.2 MB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002819/0.4653, allocations: 76 kB / 498.3 MB, free: 11.78 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.002457/0.4678, allocations: 1.412 MB / 499.7 MB, free: 10.38 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007309/0.4685, allocations: 292.6 kB / 500 MB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007222/0.4758, allocations: 4.373 MB / 0.4925 GB, free: 5.676 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.138e-05/0.4758, allocations: 24.47 kB / 0.4926 GB, free: 5.652 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.945e-05/0.4759, allocations: 23.97 kB / 0.4926 GB, free: 5.629 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.698e-05/0.4759, allocations: 11.95 kB / 0.4926 GB, free: 5.617 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01487/0.4908, allocations: 8.76 MB / 0.5012 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.729e-06/0.4908, allocations: 4 kB / 0.5012 GB, free: 12.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001151/0.492, allocations: 290.3 kB / 0.5014 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004952/0.4969, allocations: 1.614 MB / 0.503 GB, free: 10.95 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001745/0.4971, allocations: 63.97 kB / 0.5031 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02388/0.521, allocations: 25.48 MB / 0.528 GB, free: 180 kB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.521, allocations: 7.219 kB / 0.528 GB, free: 176 kB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1958/0.7168, allocations: 6.088 MB / 0.5339 GB, free: 143.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002233/0.7191, allocations: 0.6743 MB / 0.5346 GB, free: 143.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006331/0.7197, allocations: 58.53 kB / 0.5346 GB, free: 143.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/0.7212, allocations: 125.7 kB / 0.5347 GB, free: 143.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005162/0.7217, allocations: 211.4 kB / 0.5349 GB, free: 143.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001646/0.7219, allocations: 67.98 kB / 0.535 GB, free: 143.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00294/0.7248, allocations: 1.846 MB / 0.5368 GB, free: 142.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.7248, allocations: 1.344 kB / 0.5368 GB, free: 142.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004022/0.7289, allocations: 0.9548 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.0006017/0.7295, allocations: 242.6 kB / 0.538 GB, free: 142.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00684/0.7363, allocations: 4.88 MB / 0.5427 GB, free: 140.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.7363, allocations: 0.5938 kB / 0.5427 GB, free: 140.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004759/0.7411, allocations: 3.362 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.004196/0.7453, allocations: 0.9601 MB / 0.547 GB, free: 138 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0128/0.7582, allocations: 8.485 MB / 0.5553 GB, free: 134.3 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002585/0.7608, allocations: 3.167 MB / 0.5583 GB, free: 133.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001778/0.7626, allocations: 0.5669 MB / 0.5589 GB, free: 133 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004877/0.7631, allocations: 175.4 kB / 0.5591 GB, free: 133 MB / 446.1 MB Notification: Performance of SimCode: time 1.533e-06/0.7631, allocations: 0 / 0.5591 GB, free: 133 MB / 446.1 MB Notification: Performance of Templates: time 0.07763/0.8407, 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 gbode -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