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.001799/0.001799, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002048/0.002048, allocations: 201.2 kB / 18.74 MB, free: 4.332 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.462/1.462, allocations: 227.7 MB / 247.2 MB, free: 10.18 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.002124/0.002124, allocations: 59.91 kB / 358.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2687/0.2709, allocations: 50.55 MB / 409.1 MB, free: 1.359 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.009441/0.2804, allocations: 6.875 MB / 416 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005398/0.2858, allocations: 2.321 MB / 418.3 MB, free: 8.129 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001126/0.287, allocations: 51.75 kB / 418.3 MB, free: 8.078 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001366/0.2884, allocations: 459.8 kB / 418.8 MB, free: 7.629 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002179/0.2906, allocations: 0.6564 MB / 419.4 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006672/0.2913, allocations: 275.6 kB / 419.7 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003696/0.295, allocations: 2.848 MB / 422.5 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003252/0.2983, allocations: 2.566 MB / 425.1 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00319/0.3015, allocations: 1.33 MB / 426.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002865/0.3044, allocations: 1.533 MB / 428 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007713/0.3052, allocations: 348 kB / 428.3 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001204/0.3064, allocations: 443.8 kB / 428.7 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009683/0.3074, allocations: 0.9038 MB / 429.7 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002227/0.3096, allocations: 1.521 MB / 431.2 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005397/0.3151, allocations: 4.644 MB / 435.8 MB, free: 6.484 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.3151, allocations: 4 kB / 435.8 MB, free: 6.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3151, allocations: 0 / 435.8 MB, free: 6.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.879e-05/0.3152, allocations: 0 / 435.8 MB, free: 6.48 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.006318/0.3215, allocations: 3.042 MB / 438.9 MB, free: 3.371 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.3216, allocations: 8.031 kB / 438.9 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005236/0.3221, allocations: 332.8 kB / 439.2 MB, free: 3.027 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/0.3232, allocations: 351.1 kB / 439.5 MB, free: 2.684 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002866/0.3261, allocations: 1.667 MB / 441.2 MB, free: 0.957 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001353/0.3262, allocations: 168.3 kB / 441.4 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003451/0.3266, allocations: 212 kB / 441.6 MB, free: 0.582 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005425/0.332, allocations: 3.178 MB / 444.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.451e-05/0.3321, allocations: 3.938 kB / 444.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002178/0.3323, allocations: 91.98 kB / 444.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001265/0.3324, allocations: 108.4 kB / 445 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005229/0.3377, allocations: 2.734 MB / 447.7 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01529/0.353, allocations: 8.774 MB / 456.5 MB, free: 1.418 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003924/0.357, allocations: 3.395 MB / 459.9 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002155/0.3592, allocations: 1.315 MB / 461.2 MB, free: 12.4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002715/0.3595, allocations: 122.4 kB / 461.3 MB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.288e-05/0.3595, allocations: 47.86 kB / 461.3 MB, free: 12.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.777e-06/0.3595, allocations: 0 / 461.3 MB, free: 12.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.0117/0.3712, allocations: 5.793 MB / 467.1 MB, free: 6.262 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/0.3713, allocations: 64.72 kB / 467.2 MB, free: 6.188 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002465/0.3738, allocations: 1.499 MB / 468.7 MB, free: 4.672 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001439/0.374, allocations: 49.7 kB / 468.7 MB, free: 4.617 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008254/0.3748, allocations: 0.9627 MB / 469.7 MB, free: 3.645 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004547/0.3753, allocations: 472 kB / 470.2 MB, free: 3.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003942/0.3757, allocations: 222.8 kB / 470.4 MB, free: 2.953 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.3759, allocations: 361.9 kB / 470.7 MB, free: 2.594 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/0.377, allocations: 0.6896 MB / 471.4 MB, free: 1.906 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/0.3783, allocations: 0.8668 MB / 472.3 MB, free: 0.9922 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002438/0.3807, allocations: 1.605 MB / 473.9 MB, free: 15.34 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.3808, allocations: 0 / 473.9 MB, free: 15.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004214/0.385, allocations: 2.311 MB / 476.2 MB, free: 13 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.385, allocations: 8 kB / 476.2 MB, free: 13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.457e-05/0.3851, allocations: 8.031 kB / 476.2 MB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002898/0.388, allocations: 0.8188 MB / 477 MB, free: 12.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008775/0.3889, allocations: 203.7 kB / 477.2 MB, free: 11.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0139/0.4028, allocations: 11.49 MB / 488.7 MB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/0.404, allocations: 59.97 kB / 488.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/0.4042, allocations: 40 kB / 488.8 MB, free: 15.82 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.001538/0.4057, allocations: 0.8213 MB / 489.7 MB, free: 14.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004103/0.4061, allocations: 167 kB / 489.8 MB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004388/0.4105, allocations: 2.273 MB / 492.1 MB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.71e-05/0.4106, allocations: 12 kB / 492.1 MB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.4106, allocations: 4 kB / 492.1 MB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/0.4106, allocations: 3.984 kB / 492.1 MB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008309/0.419, allocations: 4.715 MB / 496.8 MB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/0.419, allocations: 7.984 kB / 496.8 MB, free: 7.688 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006983/0.4197, allocations: 155.9 kB / 497 MB, free: 7.535 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002649/0.4224, allocations: 0.8155 MB / 497.8 MB, free: 6.707 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000118/0.4225, allocations: 28 kB / 497.8 MB, free: 6.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01333/0.4358, allocations: 11.4 MB / 0.4973 GB, free: 10.72 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.4359, allocations: 3.938 kB / 0.4973 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005409/0.4413, allocations: 3.24 MB / 0.5005 GB, free: 7.43 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009992/0.4423, allocations: 416 kB / 0.5009 GB, free: 7.004 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000247/0.4426, allocations: 24 kB / 0.5009 GB, free: 6.98 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007963/0.4434, allocations: 75.94 kB / 0.501 GB, free: 6.906 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004171/0.4438, allocations: 113 kB / 0.5011 GB, free: 6.797 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001192/0.444, allocations: 35.98 kB / 0.5011 GB, free: 6.762 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001736/0.4457, allocations: 1.064 MB / 0.5021 GB, free: 5.695 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4457, allocations: 4 kB / 0.5021 GB, free: 5.691 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001855/0.4476, allocations: 0.5155 MB / 0.5026 GB, free: 5.176 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.005956/0.4535, allocations: 3.893 MB / 0.5064 GB, free: 1.238 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004062/0.4576, allocations: 2.409 MB / 0.5088 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.4577, allocations: 0 / 0.5088 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002611/0.4603, allocations: 1.64 MB / 0.5104 GB, free: 13.08 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002439/0.4628, allocations: 0.5032 MB / 0.5109 GB, free: 12.58 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0305/0.4933, allocations: 17.66 MB / 0.5281 GB, free: 10.61 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002109/0.4954, allocations: 2.055 MB / 0.5301 GB, free: 8.523 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001068/0.4965, allocations: 301.5 kB / 0.5304 GB, free: 8.223 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001142/0.4977, allocations: 0.7805 MB / 0.5312 GB, free: 7.441 MB / 462.1 MB Notification: Performance of SimCode: time 9.72e-07/0.4977, allocations: 0 / 0.5312 GB, free: 7.441 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2973/0.795, allocations: 50.61 MB / 0.5806 GB, free: 93.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.08/15.87, allocations: 5.312 kB / 0.5806 GB, free: 93.5 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 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)