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.001517/0.001517, allocations: 97.98 kB / 17.58 MB, free: 5.418 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.001719/0.001719, allocations: 192 kB / 18.51 MB, free: 4.508 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.427/1.427, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.00121/0.00121, allocations: 51.92 kB / 280.8 MB, free: 3.074 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08466/0.08588, allocations: 46.63 MB / 327.4 MB, free: 4.371 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.007752/0.09367, allocations: 6.818 MB / 334.2 MB, free: 13.5 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00469/0.0984, allocations: 2.33 MB / 336.5 MB, free: 11.17 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006895/0.0992, allocations: 39.81 kB / 336.6 MB, free: 11.13 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001033/0.1002, allocations: 456.9 kB / 337 MB, free: 10.68 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001421/0.1017, allocations: 0.6602 MB / 337.7 MB, free: 10.02 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005345/0.1022, allocations: 287.7 kB / 338 MB, free: 9.734 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002447/0.1047, allocations: 2.898 MB / 340.9 MB, free: 6.824 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002385/0.1071, allocations: 2.447 MB / 343.3 MB, free: 4.32 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002029/0.1091, allocations: 1.319 MB / 344.6 MB, free: 3.008 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001679/0.1108, allocations: 1.526 MB / 346.2 MB, free: 1.477 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004223/0.1112, allocations: 352 kB / 346.5 MB, free: 1.133 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007085/0.112, allocations: 439.8 kB / 346.9 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008263/0.1128, allocations: 0.8845 MB / 347.8 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001647/0.1145, allocations: 1.525 MB / 349.3 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003728/0.1182, allocations: 4.572 MB / 353.9 MB, free: 9.699 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1182, allocations: 0 / 353.9 MB, free: 9.699 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.336e-06/0.1182, allocations: 4 kB / 353.9 MB, free: 9.695 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.42e-05/0.1183, allocations: 3.938 kB / 353.9 MB, free: 9.691 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.004729/0.123, allocations: 2.952 MB / 356.9 MB, free: 6.676 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.025e-05/0.1231, allocations: 12.03 kB / 356.9 MB, free: 6.664 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003617/0.1234, allocations: 328.9 kB / 357.2 MB, free: 6.332 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000662/0.1241, allocations: 313.6 kB / 357.5 MB, free: 6.023 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001995/0.1261, allocations: 1.507 MB / 359 MB, free: 4.457 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.1262, allocations: 160.4 kB / 359.2 MB, free: 4.297 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002858/0.1265, allocations: 220 kB / 359.4 MB, free: 4.082 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004453/0.131, allocations: 3.171 MB / 362.6 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.521e-05/0.131, allocations: 0 / 362.6 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001979/0.1313, allocations: 91.98 kB / 362.6 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001073/0.1314, allocations: 112.4 kB / 362.8 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004097/0.1355, allocations: 2.727 MB / 365.5 MB, free: 13.88 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01315/0.1486, allocations: 8.884 MB / 374.4 MB, free: 4.816 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003489/0.1522, allocations: 3.39 MB / 377.8 MB, free: 1.117 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1403/0.2925, allocations: 1.319 MB / 379.1 MB, free: 51.62 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003129/0.2929, allocations: 127.3 kB / 379.2 MB, free: 51.52 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.2929, allocations: 51.23 kB / 379.2 MB, free: 51.48 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 3.536e-06/0.2929, allocations: 1.094 kB / 379.2 MB, free: 51.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.01042/0.3034, allocations: 5.631 MB / 384.9 MB, free: 49.75 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.3034, allocations: 66.42 kB / 384.9 MB, free: 49.69 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002334/0.3058, allocations: 1.491 MB / 386.4 MB, free: 49.12 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.048e-05/0.3059, allocations: 50.91 kB / 386.5 MB, free: 49.08 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006414/0.3065, allocations: 0.9512 MB / 387.4 MB, free: 48.35 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002951/0.3068, allocations: 439.7 kB / 387.9 MB, free: 48.02 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003559/0.3072, allocations: 223.2 kB / 388.1 MB, free: 47.91 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 9.782e-05/0.3073, allocations: 359.4 kB / 388.4 MB, free: 47.58 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001041/0.3083, allocations: 0.6917 MB / 389.1 MB, free: 47.34 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001162/0.3095, allocations: 0.8717 MB / 390 MB, free: 46.92 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002105/0.3116, allocations: 1.613 MB / 391.6 MB, free: 46.18 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.88e-06/0.3117, allocations: 1.281 kB / 391.6 MB, free: 46.18 MB / 318.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003469/0.3151, allocations: 2.31 MB / 393.9 MB, free: 45.25 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.3152, allocations: 6.875 kB / 393.9 MB, free: 45.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.3152, allocations: 4.125 kB / 393.9 MB, free: 45.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002523/0.3177, allocations: 0.8291 MB / 394.8 MB, free: 45.01 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007533/0.3185, allocations: 205.2 kB / 395 MB, free: 44.99 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009266/0.3278, allocations: 11.51 MB / 406.5 MB, free: 35.58 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.3288, allocations: 51.95 kB / 406.5 MB, free: 35.53 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-05/0.3289, allocations: 44 kB / 406.6 MB, free: 35.49 MB / 318.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.001129/0.33, allocations: 0.8136 MB / 407.4 MB, free: 34.66 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002434/0.3303, allocations: 162.1 kB / 407.5 MB, free: 34.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002945/0.3332, allocations: 2.265 MB / 409.8 MB, free: 32.21 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.3332, allocations: 15.94 kB / 409.8 MB, free: 32.2 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.3333, allocations: 4 kB / 409.8 MB, free: 32.2 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.3333, allocations: 11.91 kB / 409.8 MB, free: 32.18 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005564/0.3388, allocations: 4.735 MB / 414.6 MB, free: 27.38 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.3389, allocations: 3.719 kB / 414.6 MB, free: 27.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006051/0.3395, allocations: 159.9 kB / 414.7 MB, free: 27.22 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002158/0.3416, allocations: 0.8165 MB / 415.5 MB, free: 26.39 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.714e-05/0.3417, allocations: 31.98 kB / 415.6 MB, free: 26.36 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008304/0.35, allocations: 11.38 MB / 427 MB, free: 14.44 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.3501, allocations: 8.531 kB / 427 MB, free: 14.43 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003766/0.3538, allocations: 3.237 MB / 430.2 MB, free: 11.16 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006252/0.3545, allocations: 403.1 kB / 430.6 MB, free: 10.74 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001888/0.3547, allocations: 28 kB / 430.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007539/0.3554, allocations: 67.94 kB / 430.7 MB, free: 10.65 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002367/0.3557, allocations: 117.1 kB / 430.8 MB, free: 10.54 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.859e-05/0.3558, allocations: 43.92 kB / 430.8 MB, free: 10.49 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001107/0.3569, allocations: 1.052 MB / 431.9 MB, free: 9.438 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3569, allocations: 4 kB / 431.9 MB, free: 9.434 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001504/0.3584, allocations: 0.5078 MB / 432.4 MB, free: 8.926 MB / 318.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.00402/0.3624, allocations: 3.884 MB / 436.3 MB, free: 5 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003852/0.3663, allocations: 2.937 MB / 439.2 MB, free: 2.023 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.3663, allocations: 0.9375 kB / 439.2 MB, free: 2.023 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001845/0.3682, allocations: 1.639 MB / 440.9 MB, free: 340 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002003/0.3702, allocations: 0.509 MB / 441.4 MB, free: 15.83 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02661/0.3968, allocations: 19.14 MB / 460.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002463/0.3993, allocations: 2.041 MB / 462.6 MB, free: 9.793 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0009669/0.4003, allocations: 317.5 kB / 462.9 MB, free: 9.477 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009647/0.4013, allocations: 0.7766 MB / 463.6 MB, free: 8.699 MB / 350.1 MB Notification: Performance of SimCode: time 1.703e-06/0.4013, allocations: 0 / 463.6 MB, free: 8.699 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1128/0.5141, allocations: 49.65 MB / 0.5013 GB, free: 6.922 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.13/12.64, allocations: 8.5 kB / 0.5013 GB, free: 6.914 MB / 398.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)