Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_trunk_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.001592/0.001592, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001979/0.001979, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.4 MB / 246.8 MB, free: 10.64 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 61.34 kB / 307 MB, free: 0.5664 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1209, allocations: 50.54 MB / 357.6 MB, free: 14.02 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.01468/0.1356, allocations: 6.873 MB / 364.5 MB, free: 7.109 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007029/0.1427, allocations: 2.329 MB / 366.8 MB, free: 4.773 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001246/0.144, allocations: 47.81 kB / 366.8 MB, free: 4.727 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002156/0.1462, allocations: 444.9 kB / 367.3 MB, free: 4.289 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003462/0.1497, allocations: 0.672 MB / 367.9 MB, free: 3.613 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.1509, allocations: 279.6 kB / 368.2 MB, free: 3.34 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.005764/0.1567, allocations: 2.836 MB / 371.1 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1889/0.3456, allocations: 2.561 MB / 373.6 MB, free: 9.395 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002447/0.3481, allocations: 1.327 MB / 374.9 MB, free: 9.266 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002065/0.3502, allocations: 1.532 MB / 376.5 MB, free: 9.012 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005137/0.3507, allocations: 349.3 kB / 376.8 MB, free: 9.012 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008991/0.3516, allocations: 438.4 kB / 377.2 MB, free: 9.012 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000728/0.3524, allocations: 0.8929 MB / 378.1 MB, free: 8.914 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001463/0.3538, allocations: 1.526 MB / 379.7 MB, free: 8.488 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004368/0.3582, allocations: 4.589 MB / 384.3 MB, free: 6.996 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.3582, allocations: 1.5 kB / 384.3 MB, free: 6.996 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3582, allocations: 0 / 384.3 MB, free: 6.996 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.153e-05/0.3583, allocations: 4 kB / 384.3 MB, free: 6.992 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.005645/0.364, allocations: 2.976 MB / 387.2 MB, free: 5.312 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.364, allocations: 9.875 kB / 387.2 MB, free: 5.312 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003898/0.3644, allocations: 325.7 kB / 387.6 MB, free: 5.125 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/0.3655, allocations: 337.7 kB / 387.9 MB, free: 4.984 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002626/0.3682, allocations: 1.609 MB / 389.5 MB, free: 4 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/0.3683, allocations: 166.6 kB / 389.7 MB, free: 3.922 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003401/0.3686, allocations: 214.2 kB / 389.9 MB, free: 3.852 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005055/0.3737, allocations: 3.184 MB / 393.1 MB, free: 1.938 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.139e-05/0.3738, allocations: 3.938 kB / 393.1 MB, free: 1.938 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002046/0.374, allocations: 86.53 kB / 393.1 MB, free: 1.871 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001187/0.3741, allocations: 109.2 kB / 393.3 MB, free: 1.852 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00392/0.378, allocations: 2.73 MB / 396 MB, free: 416 kB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01312/0.3912, allocations: 8.868 MB / 404.9 MB, free: 9.652 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003167/0.3944, allocations: 3.381 MB / 408.2 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001833/0.3962, allocations: 1.33 MB / 409.6 MB, free: 4.645 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002406/0.3965, allocations: 126.3 kB / 409.7 MB, free: 4.508 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.3965, allocations: 55.88 kB / 409.7 MB, free: 4.441 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 3.026e-06/0.3965, allocations: 0 / 409.7 MB, free: 4.441 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.01055/0.4071, allocations: 5.75 MB / 415.5 MB, free: 14.57 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.4072, allocations: 64.72 kB / 415.6 MB, free: 14.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002074/0.4092, allocations: 1.499 MB / 417.1 MB, free: 12.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.485e-05/0.4093, allocations: 45.7 kB / 417.1 MB, free: 12.93 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006317/0.41, allocations: 0.9445 MB / 418 MB, free: 11.97 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003345/0.4103, allocations: 443.2 kB / 418.5 MB, free: 11.54 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003485/0.4107, allocations: 227.7 kB / 418.7 MB, free: 11.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001287/0.4108, allocations: 357.9 kB / 419 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001/0.4118, allocations: 0.6896 MB / 419.7 MB, free: 10.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001114/0.4129, allocations: 0.8684 MB / 420.6 MB, free: 9.352 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002109/0.4151, allocations: 1.601 MB / 422.2 MB, free: 7.719 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.4151, allocations: 0 / 422.2 MB, free: 7.719 MB / 334.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003626/0.4187, allocations: 2.31 MB / 424.5 MB, free: 5.426 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.4187, allocations: 8 kB / 424.5 MB, free: 5.418 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.4188, allocations: 11.92 kB / 424.5 MB, free: 5.406 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002582/0.4213, allocations: 0.8319 MB / 425.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007755/0.4221, allocations: 202.4 kB / 425.6 MB, free: 4.379 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01633/0.4385, allocations: 11.49 MB / 437.1 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002081/0.4406, allocations: 47.95 kB / 437.1 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003119/0.441, allocations: 44.06 kB / 437.1 MB, free: 8.305 MB / 350.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.002353/0.4433, allocations: 0.8201 MB / 438 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007416/0.4441, allocations: 166.1 kB / 438.1 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006437/0.4505, allocations: 2.276 MB / 440.4 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.891e-05/0.4506, allocations: 12 kB / 440.4 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.398e-05/0.4506, allocations: 4 kB / 440.4 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.327e-05/0.4506, allocations: 11.95 kB / 440.4 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01165/0.4623, allocations: 4.742 MB / 445.2 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/0.4624, allocations: 4 kB / 445.2 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/0.4634, allocations: 153.2 kB / 445.3 MB, free: 92 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003609/0.4671, allocations: 0.8197 MB / 446.1 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001476/0.4672, allocations: 35.92 kB / 446.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01775/0.485, allocations: 11.38 MB / 457.6 MB, free: 3.359 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.4851, allocations: 4.156 kB / 457.6 MB, free: 3.355 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008014/0.4931, allocations: 3.233 MB / 460.8 MB, free: 100 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001527/0.4946, allocations: 399.1 kB / 461.2 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000609/0.4953, allocations: 31.98 kB / 461.2 MB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001491/0.4968, allocations: 67.86 kB / 461.3 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004346/0.4972, allocations: 125.1 kB / 461.4 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001644/0.4974, allocations: 35.98 kB / 461.4 MB, free: 15.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001945/0.4994, allocations: 1.064 MB / 462.5 MB, free: 14.37 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4994, allocations: 0 / 462.5 MB, free: 14.37 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002301/0.5017, allocations: 0.5156 MB / 463 MB, free: 13.86 MB / 382.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.005834/0.5075, allocations: 3.883 MB / 466.9 MB, free: 9.957 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005056/0.5126, allocations: 2.932 MB / 469.8 MB, free: 7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.5126, allocations: 0 / 469.8 MB, free: 7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00253/0.5152, allocations: 1.638 MB / 471.5 MB, free: 5.332 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00294/0.5181, allocations: 0.4987 MB / 472 MB, free: 4.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03523/0.5534, allocations: 19.17 MB / 491.1 MB, free: 0.9609 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002723/0.5561, allocations: 2.047 MB / 493.2 MB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001057/0.5572, allocations: 313.5 kB / 493.5 MB, free: 14.56 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001119/0.5583, allocations: 0.7766 MB / 494.3 MB, free: 13.79 MB / 414.1 MB Notification: Performance of SimCode: time 8.31e-07/0.5584, allocations: 11.94 kB / 494.3 MB, free: 13.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2508/0.8092, allocations: 49.65 MB / 0.5312 GB, free: 146.7 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.26/13.07, allocations: 7.562 kB / 0.5312 GB, free: 146.7 MB / 446.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1)