Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,fileNamePrefix="Modelica_3_2_3_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 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 105.5 kB / 17.73 MB, free: 5.238 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.001283/0.001284, allocations: 187.1 kB / 18.66 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.247/1.247, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 55.92 kB / 328 MB, free: 3.797 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07861/0.07977, allocations: 46.62 MB / 374.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.1606/0.2404, allocations: 6.807 MB / 381.5 MB, free: 9.145 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004109/0.2446, allocations: 2.335 MB / 383.8 MB, free: 8.773 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007659/0.2454, allocations: 42.72 kB / 383.8 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001158/0.2466, allocations: 455.2 kB / 384.3 MB, free: 8.57 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001862/0.2485, allocations: 0.6665 MB / 384.9 MB, free: 8.242 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005594/0.249, allocations: 289.6 kB / 385.2 MB, free: 8.121 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002835/0.2519, allocations: 2.908 MB / 388.1 MB, free: 6.668 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002376/0.2543, allocations: 2.449 MB / 390.6 MB, free: 5.668 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002349/0.2566, allocations: 1.311 MB / 391.9 MB, free: 5.043 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00203/0.2587, allocations: 1.53 MB / 393.4 MB, free: 4.301 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004657/0.2591, allocations: 352.8 kB / 393.8 MB, free: 4.297 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000827/0.26, allocations: 433.3 kB / 394.2 MB, free: 4.273 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006752/0.2607, allocations: 0.8867 MB / 395.1 MB, free: 3.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001382/0.2621, allocations: 1.529 MB / 396.6 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004092/0.2662, allocations: 4.613 MB / 401.2 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.2662, allocations: 5.078 kB / 401.2 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2662, allocations: 0 / 401.2 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.927e-05/0.2663, allocations: 0 / 401.2 MB, free: 0.6797 MB / 318.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.005899/0.2722, allocations: 2.948 MB / 404.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.2722, allocations: 11 kB / 404.2 MB, free: 14.66 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004304/0.2727, allocations: 329.5 kB / 404.5 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008205/0.2735, allocations: 311.8 kB / 404.8 MB, free: 14.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002648/0.2762, allocations: 1.516 MB / 406.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/0.2763, allocations: 163.6 kB / 406.5 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003542/0.2767, allocations: 222.2 kB / 406.7 MB, free: 13.04 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005132/0.2818, allocations: 3.173 MB / 409.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.276e-05/0.2819, allocations: 0 / 409.9 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000211/0.2821, allocations: 96.64 kB / 410 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001067/0.2822, allocations: 110.3 kB / 410.1 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004533/0.2867, allocations: 2.728 MB / 412.8 MB, free: 9.531 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01282/0.2996, allocations: 8.775 MB / 421.6 MB, free: 0.582 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003072/0.3027, allocations: 3.374 MB / 425 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001767/0.3045, allocations: 1.327 MB / 426.3 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002251/0.3047, allocations: 122.3 kB / 426.4 MB, free: 11.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/0.3047, allocations: 51.88 kB / 426.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=128): time 3.496e-06/0.3048, allocations: 4 kB / 426.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=132): time 0.009863/0.3146, allocations: 5.64 MB / 432.1 MB, free: 5.602 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.3147, allocations: 68.72 kB / 432.2 MB, free: 5.523 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001929/0.3166, allocations: 1.49 MB / 433.7 MB, free: 4.016 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.286e-05/0.3167, allocations: 53.64 kB / 433.7 MB, free: 3.957 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005851/0.3173, allocations: 0.937 MB / 434.6 MB, free: 3.008 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003004/0.3176, allocations: 449.5 kB / 435.1 MB, free: 2.559 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003285/0.318, allocations: 214.9 kB / 435.3 MB, free: 2.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.3181, allocations: 357.9 kB / 435.6 MB, free: 1.984 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000973/0.3191, allocations: 0.6935 MB / 436.3 MB, free: 1.293 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001065/0.3202, allocations: 0.8754 MB / 437.2 MB, free: 376 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002063/0.3222, allocations: 1.601 MB / 438.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.3222, allocations: 7.938 kB / 438.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003583/0.3258, allocations: 2.306 MB / 441.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/0.3259, allocations: 8 kB / 441.1 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/0.3259, allocations: 4 kB / 441.1 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002607/0.3285, allocations: 0.8305 MB / 442 MB, free: 11.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000778/0.3293, allocations: 199.7 kB / 442.2 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01158/0.3409, allocations: 11.5 MB / 453.7 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/0.3421, allocations: 55.86 kB / 453.7 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.3423, allocations: 40 kB / 453.8 MB, free: 15.17 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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.001305/0.3436, allocations: 0.8253 MB / 454.6 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003445/0.3439, allocations: 158.1 kB / 454.7 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003736/0.3477, allocations: 2.273 MB / 457 MB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.3477, allocations: 12 kB / 457 MB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.3477, allocations: 4 kB / 457 MB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.3477, allocations: 7.969 kB / 457 MB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007461/0.3552, allocations: 4.719 MB / 461.8 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.3552, allocations: 4.062 kB / 461.8 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006563/0.3559, allocations: 155.8 kB / 461.9 MB, free: 6.891 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002512/0.3584, allocations: 0.8078 MB / 462.7 MB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/0.3585, allocations: 35.98 kB / 462.8 MB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01126/0.3698, allocations: 11.37 MB / 474.1 MB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.3698, allocations: 64 / 474.1 MB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004865/0.3747, allocations: 3.247 MB / 477.4 MB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009364/0.3757, allocations: 403.2 kB / 477.8 MB, free: 6.398 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002055/0.3759, allocations: 27.98 kB / 477.8 MB, free: 6.371 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007805/0.3767, allocations: 71.86 kB / 477.9 MB, free: 6.301 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002636/0.3769, allocations: 117.1 kB / 478 MB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.049e-05/0.377, allocations: 35.98 kB / 478 MB, free: 6.152 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001414/0.3785, allocations: 1.056 MB / 479.1 MB, free: 5.094 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3785, allocations: 0 / 479.1 MB, free: 5.094 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001773/0.3802, allocations: 0.5117 MB / 479.6 MB, free: 4.582 MB / 398.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.005074/0.3853, allocations: 3.887 MB / 483.5 MB, free: 0.6406 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003545/0.3889, allocations: 2.412 MB / 485.9 MB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.3889, allocations: 0 / 485.9 MB, free: 14.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002259/0.3912, allocations: 1.641 MB / 487.5 MB, free: 12.48 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00211/0.3933, allocations: 0.5121 MB / 488 MB, free: 11.97 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02464/0.4179, allocations: 17.56 MB / 0.4937 GB, free: 10.08 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001691/0.4197, allocations: 2.043 MB / 0.4957 GB, free: 8.004 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001024/0.4207, allocations: 313.5 kB / 0.496 GB, free: 7.691 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009826/0.4217, allocations: 0.7766 MB / 0.4968 GB, free: 6.918 MB / 430.1 MB Notification: Performance of SimCode: time 1.322e-06/0.4217, allocations: 0 / 0.4968 GB, free: 6.918 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1317/0.5534, allocations: 50.55 MB / 0.5462 GB, free: 4.227 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.99/14.54, allocations: 7.844 kB / 0.5462 GB, free: 4.219 MB / 478.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_Rectifier6pulse.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1)