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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001733/0.001733, allocations: 109 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002069/0.002069, allocations: 213.9 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.456/1.456, allocations: 230.6 MB / 258.3 MB, free: 8.035 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "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.001945/0.001945, allocations: 60.78 kB / 378.6 MB, free: 3.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2613/0.2633, allocations: 53.37 MB / 431.9 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.01042/0.2737, allocations: 6.951 MB / 438.9 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004916/0.2786, allocations: 2.352 MB / 441.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.2796, allocations: 63.56 kB / 441.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001252/0.2809, allocations: 464.9 kB / 441.7 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001855/0.2827, allocations: 0.6914 MB / 442.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005867/0.2833, allocations: 287.6 kB / 442.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003255/0.2866, allocations: 2.852 MB / 445.6 MB, free: 9.207 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001971/0.2886, allocations: 1.364 MB / 446.9 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002795/0.2913, allocations: 1.349 MB / 448.3 MB, free: 6.438 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002552/0.2939, allocations: 1.58 MB / 449.9 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005901/0.2945, allocations: 348 kB / 450.2 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009925/0.2955, allocations: 443.8 kB / 450.6 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008437/0.2963, allocations: 0.896 MB / 451.5 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002143/0.2985, allocations: 1.533 MB / 453.1 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005906/0.3044, allocations: 4.642 MB / 457.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.3044, allocations: 0 / 457.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3044, allocations: 0 / 457.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000135/0.3045, allocations: 3.938 kB / 457.7 MB, free: 12.98 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.006795/0.3113, allocations: 2.967 MB / 460.7 MB, free: 9.965 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.3114, allocations: 12.03 kB / 460.7 MB, free: 9.953 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005171/0.3119, allocations: 324.9 kB / 461 MB, free: 9.625 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/0.313, allocations: 355 kB / 461.4 MB, free: 9.277 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003053/0.3161, allocations: 1.623 MB / 463 MB, free: 7.609 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001418/0.3162, allocations: 164.4 kB / 463.1 MB, free: 7.445 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003673/0.3166, allocations: 212 kB / 463.3 MB, free: 7.238 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005614/0.3222, allocations: 3.178 MB / 466.5 MB, free: 3.973 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.64e-05/0.3222, allocations: 0 / 466.5 MB, free: 3.973 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002158/0.3225, allocations: 91.98 kB / 466.6 MB, free: 3.883 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001196/0.3226, allocations: 108.4 kB / 466.7 MB, free: 3.773 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004716/0.3273, allocations: 2.734 MB / 469.5 MB, free: 1.023 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01495/0.3422, allocations: 8.684 MB / 478.1 MB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003/0.3452, allocations: 1.95 MB / 480.1 MB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001925/0.3472, allocations: 1.238 MB / 481.3 MB, free: 5.004 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002132/0.3474, allocations: 45.22 kB / 481.4 MB, free: 4.961 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.396e-05/0.3474, allocations: 55.81 kB / 481.4 MB, free: 4.895 MB / 382.1 MB Notification: Performance of pre-optimization done (n=128): time 3.006e-06/0.3474, allocations: 0 / 481.4 MB, free: 4.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01107/0.3585, allocations: 5.302 MB / 486.7 MB, free: 15.56 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.3585, allocations: 76.72 kB / 486.8 MB, free: 15.47 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002366/0.3609, allocations: 1.495 MB / 488.3 MB, free: 13.96 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001288/0.361, allocations: 49.7 kB / 488.3 MB, free: 13.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008499/0.3619, allocations: 0.9588 MB / 489.3 MB, free: 12.94 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000422/0.3623, allocations: 468 kB / 489.8 MB, free: 12.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000384/0.3627, allocations: 222.9 kB / 490 MB, free: 12.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000201/0.3629, allocations: 353.9 kB / 490.3 MB, free: 11.9 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/0.3641, allocations: 0.7013 MB / 491 MB, free: 11.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/0.3653, allocations: 0.859 MB / 491.9 MB, free: 10.29 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002426/0.3677, allocations: 1.604 MB / 493.5 MB, free: 8.637 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/0.3677, allocations: 4 kB / 493.5 MB, free: 8.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004106/0.3718, allocations: 2.291 MB / 495.8 MB, free: 6.32 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.252e-05/0.3719, allocations: 4 kB / 495.8 MB, free: 6.316 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.3719, allocations: 4 kB / 495.8 MB, free: 6.312 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002757/0.3747, allocations: 0.8306 MB / 496.6 MB, free: 5.469 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008106/0.3755, allocations: 195.8 kB / 496.8 MB, free: 5.277 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01343/0.3889, allocations: 11.08 MB / 0.496 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/0.3901, allocations: 51.95 kB / 0.496 GB, free: 9.691 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/0.3902, allocations: 43.94 kB / 0.4961 GB, free: 9.648 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.001589/0.3918, allocations: 0.8194 MB / 0.4969 GB, free: 8.82 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004375/0.3923, allocations: 171 kB / 0.497 GB, free: 8.652 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004169/0.3964, allocations: 2.253 MB / 0.4992 GB, free: 6.375 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/0.3964, allocations: 15.98 kB / 0.4993 GB, free: 6.359 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.157e-05/0.3965, allocations: 8.531 kB / 0.4993 GB, free: 6.352 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.3965, allocations: 3.984 kB / 0.4993 GB, free: 6.348 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008268/0.4047, allocations: 4.691 MB / 0.5039 GB, free: 1.566 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.4047, allocations: 0 / 0.5039 GB, free: 1.566 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006684/0.4054, allocations: 155.8 kB / 0.504 GB, free: 1.414 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002596/0.408, allocations: 0.8077 MB / 0.5048 GB, free: 0.5938 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.38e-05/0.4081, allocations: 35.98 kB / 0.5048 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01306/0.4212, allocations: 10.96 MB / 0.5155 GB, free: 5.145 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/0.4212, allocations: 12.03 kB / 0.5155 GB, free: 5.133 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005609/0.4268, allocations: 3.22 MB / 0.5187 GB, free: 1.867 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/0.4279, allocations: 338.9 kB / 0.519 GB, free: 1.535 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003053/0.4282, allocations: 28 kB / 0.519 GB, free: 1.508 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008143/0.429, allocations: 75.88 kB / 0.5191 GB, free: 1.434 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003299/0.4294, allocations: 121 kB / 0.5192 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.731e-05/0.4294, allocations: 36 kB / 0.5193 GB, free: 1.277 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001667/0.4311, allocations: 1.06 MB / 0.5203 GB, free: 220 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4311, allocations: 0 / 0.5203 GB, free: 220 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.001893/0.433, allocations: 0.5156 MB / 0.5208 GB, free: 15.7 MB / 446.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.005741/0.4387, allocations: 3.869 MB / 0.5246 GB, free: 11.78 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004013/0.4428, allocations: 2.353 MB / 0.5269 GB, free: 9.375 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.4428, allocations: 0 / 0.5269 GB, free: 9.375 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002459/0.4452, allocations: 1.594 MB / 0.5284 GB, free: 7.734 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002315/0.4475, allocations: 0.5034 MB / 0.5289 GB, free: 7.242 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2429/0.6904, allocations: 17.67 MB / 0.5462 GB, free: 97.63 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001357/0.6918, allocations: 2.04 MB / 0.5482 GB, free: 96.65 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007699/0.6925, allocations: 312.9 kB / 0.5485 GB, free: 96.63 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007262/0.6933, allocations: 0.7781 MB / 0.5492 GB, free: 96 MB / 446.1 MB Notification: Performance of SimCode: time 1.052e-06/0.6933, allocations: 0 / 0.5492 GB, free: 96 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1115/0.8048, allocations: 51.99 MB / 0.6 GB, free: 46.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.64/16.45, allocations: 3.859 kB / 0.6 GB, free: 46.95 MB / 446.1 MB " [Timeout remaining time 643] (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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.031604873016477] Failed to read output from testmodel.py, exit status != 0: ['time', 'cDC1.v', 'cDC2.v', 'transformer1.l2sigma.inductor[1].i', 'transformer1.l2sigma.inductor[3].i'] 16.56976567907259 16.580739321 16.27390314 Calling exit ...