Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001296/0.001296, allocations: 114.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001295/0.001295, allocations: 209.2 kB / 18.74 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.404/1.404, allocations: 227.7 MB / 247.2 MB, free: 10.15 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 59.91 kB / 358.5 MB, free: 13.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2857/0.2876, allocations: 50.54 MB / 409.1 MB, free: 1.336 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008693/0.2963, allocations: 6.89 MB / 415.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004618/0.301, allocations: 2.325 MB / 418.3 MB, free: 8.094 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007764/0.3018, allocations: 47.81 kB / 418.3 MB, free: 8.047 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.3029, allocations: 451.9 kB / 418.8 MB, free: 7.605 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001643/0.3046, allocations: 0.6641 MB / 419.4 MB, free: 6.938 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005522/0.3051, allocations: 271.7 kB / 419.7 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003054/0.3082, allocations: 2.844 MB / 422.5 MB, free: 3.816 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002886/0.3111, allocations: 2.566 MB / 425.1 MB, free: 1.184 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002611/0.3137, allocations: 1.335 MB / 426.4 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002079/0.3158, allocations: 1.537 MB / 428 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005016/0.3163, allocations: 348 kB / 428.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008499/0.3172, allocations: 447.8 kB / 428.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008367/0.318, allocations: 0.8883 MB / 429.6 MB, free: 12.65 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001756/0.3198, allocations: 1.533 MB / 431.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004782/0.3246, allocations: 4.641 MB / 435.8 MB, free: 6.453 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3246, allocations: 0 / 435.8 MB, free: 6.453 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3246, allocations: 0 / 435.8 MB, free: 6.453 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.116e-05/0.3247, allocations: 0 / 435.8 MB, free: 6.453 MB / 350.1 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.005742/0.3304, allocations: 3.042 MB / 438.8 MB, free: 3.344 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.3305, allocations: 12.03 kB / 438.9 MB, free: 3.332 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004658/0.331, allocations: 324.9 kB / 439.2 MB, free: 3.004 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.332, allocations: 351.1 kB / 439.5 MB, free: 2.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00275/0.3348, allocations: 1.675 MB / 441.2 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000134/0.3349, allocations: 164.4 kB / 441.4 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003179/0.3353, allocations: 212 kB / 441.6 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005225/0.3405, allocations: 3.178 MB / 444.7 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.138e-05/0.3406, allocations: 4 kB / 444.7 MB, free: 13.28 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002095/0.3408, allocations: 91.94 kB / 444.8 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001242/0.3409, allocations: 112.4 kB / 444.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004859/0.3458, allocations: 2.727 MB / 447.7 MB, free: 10.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01428/0.3601, allocations: 8.786 MB / 456.5 MB, free: 1.379 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003669/0.3638, allocations: 3.379 MB / 459.8 MB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002007/0.3658, allocations: 1.319 MB / 461.2 MB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002642/0.3661, allocations: 130.4 kB / 461.3 MB, free: 12.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.923e-05/0.3662, allocations: 47.88 kB / 461.3 MB, free: 12.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.226e-06/0.3662, allocations: 0 / 461.3 MB, free: 12.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01119/0.3774, allocations: 5.789 MB / 467.1 MB, free: 6.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/0.3775, allocations: 64.72 kB / 467.2 MB, free: 6.156 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002312/0.3798, allocations: 1.502 MB / 468.7 MB, free: 4.637 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001332/0.3799, allocations: 45.7 kB / 468.7 MB, free: 4.586 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000811/0.3807, allocations: 0.9743 MB / 469.7 MB, free: 3.602 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004557/0.3812, allocations: 464 kB / 470.2 MB, free: 3.145 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003951/0.3816, allocations: 222.8 kB / 470.4 MB, free: 2.918 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.3818, allocations: 357.9 kB / 470.7 MB, free: 2.562 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/0.383, allocations: 0.6896 MB / 471.4 MB, free: 1.875 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001263/0.3843, allocations: 0.8668 MB / 472.3 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002401/0.3867, allocations: 1.608 MB / 473.9 MB, free: 15.3 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.3867, allocations: 0 / 473.9 MB, free: 15.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004197/0.3909, allocations: 2.307 MB / 476.2 MB, free: 12.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.883e-05/0.391, allocations: 8 kB / 476.2 MB, free: 12.97 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.391, allocations: 4 kB / 476.2 MB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00275/0.3938, allocations: 0.8189 MB / 477 MB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008507/0.3946, allocations: 211.7 kB / 477.2 MB, free: 11.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01367/0.4083, allocations: 11.49 MB / 488.7 MB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.4095, allocations: 55.91 kB / 488.8 MB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.217e-05/0.4096, allocations: 36 kB / 488.8 MB, free: 15.79 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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.001372/0.411, allocations: 0.8214 MB / 489.6 MB, free: 14.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003508/0.4114, allocations: 167 kB / 489.8 MB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003953/0.4153, allocations: 2.273 MB / 492.1 MB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.4153, allocations: 16 kB / 492.1 MB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.4154, allocations: 7.984 kB / 492.1 MB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.4154, allocations: 3.984 kB / 492.1 MB, free: 12.47 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007681/0.4231, allocations: 4.711 MB / 496.8 MB, free: 7.668 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.4231, allocations: 8.125 kB / 496.8 MB, free: 7.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006653/0.4238, allocations: 159.8 kB / 497 MB, free: 7.504 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002553/0.4263, allocations: 0.8116 MB / 497.8 MB, free: 6.68 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.571e-05/0.4264, allocations: 27.98 kB / 497.8 MB, free: 6.652 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01271/0.4392, allocations: 11.39 MB / 0.4973 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.4392, allocations: 3.938 kB / 0.4973 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005335/0.4446, allocations: 3.248 MB / 0.5004 GB, free: 7.402 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008426/0.4454, allocations: 408 kB / 0.5008 GB, free: 6.984 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001948/0.4456, allocations: 31.98 kB / 0.5009 GB, free: 6.953 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007591/0.4464, allocations: 59.95 kB / 0.5009 GB, free: 6.895 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002989/0.4467, allocations: 129 kB / 0.501 GB, free: 6.77 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.608e-05/0.4468, allocations: 35.98 kB / 0.5011 GB, free: 6.734 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001618/0.4484, allocations: 1.06 MB / 0.5021 GB, free: 5.672 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4484, allocations: 4 kB / 0.5021 GB, free: 5.668 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0017/0.4501, allocations: 0.5078 MB / 0.5026 GB, free: 5.16 MB / 430.1 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.005658/0.4558, allocations: 3.897 MB / 0.5064 GB, free: 1.215 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00386/0.4597, allocations: 2.408 MB / 0.5088 GB, free: 14.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.4597, allocations: 0 / 0.5088 GB, free: 14.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002439/0.4621, allocations: 1.641 MB / 0.5104 GB, free: 13.06 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002137/0.4643, allocations: 0.5077 MB / 0.5109 GB, free: 12.56 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02715/0.4915, allocations: 17.66 MB / 0.5281 GB, free: 10.59 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002113/0.4936, allocations: 2.043 MB / 0.5301 GB, free: 8.508 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001061/0.4947, allocations: 309.5 kB / 0.5304 GB, free: 8.199 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001138/0.4958, allocations: 0.7844 MB / 0.5312 GB, free: 7.414 MB / 462.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4959, allocations: 0 / 0.5312 GB, free: 7.414 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2826/0.7785, allocations: 50.6 MB / 0.5806 GB, free: 93.55 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.01/15.78, allocations: 7.938 kB / 0.5806 GB, free: 93.54 MB / 462.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse_fmu --startTime=0 --stopTime=0.1 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1)