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.Rectifier12pulse.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.Rectifier12pulse,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001384/0.001384, allocations: 118.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001453/0.001453, allocations: 197.2 kB / 18.73 MB, free: 4.336 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.495/1.495, 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.00184/0.00184, allocations: 63.89 kB / 358.6 MB, free: 13.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.279, allocations: 50.54 MB / 409.1 MB, free: 1.297 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.0134/0.2925, allocations: 10.73 MB / 419.8 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006881/0.2994, allocations: 3.235 MB / 423.1 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001708/0.3012, allocations: 83.62 kB / 423.2 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001798/0.303, allocations: 0.7099 MB / 423.9 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003213/0.3062, allocations: 1.134 MB / 425 MB, free: 1.348 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001061/0.3073, allocations: 471.5 kB / 425.5 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006344/0.3136, allocations: 5.151 MB / 430.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005838/0.3195, allocations: 4.791 MB / 435.4 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005085/0.3246, allocations: 2.387 MB / 437.8 MB, free: 4.465 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004572/0.3292, allocations: 2.767 MB / 440.6 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001308/0.3305, allocations: 0.6211 MB / 441.2 MB, free: 1.066 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001949/0.3325, allocations: 0.7108 MB / 441.9 MB, free: 364 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001778/0.3343, allocations: 1.632 MB / 443.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00441/0.3387, allocations: 2.77 MB / 446.3 MB, free: 11.94 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0103/0.349, allocations: 8.44 MB / 454.7 MB, free: 3.469 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.3491, allocations: 0 / 454.7 MB, free: 3.469 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3491, allocations: 0 / 454.7 MB, free: 3.469 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002421/0.3493, allocations: 0 / 454.7 MB, free: 3.469 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01309/0.3624, allocations: 5.234 MB / 460 MB, free: 14.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/0.3625, allocations: 12.03 kB / 460 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001158/0.3637, allocations: 0.5517 MB / 460.5 MB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001875/0.3656, allocations: 0.5993 MB / 461.1 MB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005707/0.3713, allocations: 2.898 MB / 464 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000266/0.3716, allocations: 287.8 kB / 464.3 MB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000947/0.3725, allocations: 388 kB / 464.7 MB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01191/0.3844, allocations: 5.809 MB / 470.5 MB, free: 3.453 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.564e-05/0.3846, allocations: 0 / 470.5 MB, free: 3.453 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004296/0.385, allocations: 164 kB / 470.6 MB, free: 3.293 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002366/0.3852, allocations: 208 kB / 470.9 MB, free: 3.086 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009977/0.3952, allocations: 5.024 MB / 475.9 MB, free: 14.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03147/0.4267, allocations: 16.23 MB / 492.1 MB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008851/0.4356, allocations: 6.79 MB / 498.9 MB, free: 6.191 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004692/0.4404, allocations: 2.626 MB / 0.4898 GB, free: 3.566 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004127/0.4408, allocations: 135.1 kB / 0.4899 GB, free: 3.418 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.935e-05/0.4409, allocations: 56.56 kB / 0.4899 GB, free: 3.352 MB / 414.1 MB Notification: Performance of pre-optimization done (n=249): time 4.909e-06/0.4409, allocations: 4 kB / 0.49 GB, free: 3.348 MB / 414.1 MB Notification: Performance of matching and sorting (n=256): time 0.02511/0.4661, allocations: 10.76 MB / 0.5005 GB, free: 8.34 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.849e-05/0.4662, allocations: 77.42 kB / 0.5005 GB, free: 8.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005742/0.4719, allocations: 2.648 MB / 0.5031 GB, free: 5.582 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003186/0.4723, allocations: 65.7 kB / 0.5032 GB, free: 5.512 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001798/0.4741, allocations: 1.679 MB / 0.5048 GB, free: 3.816 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001112/0.4752, allocations: 0.8908 MB / 0.5057 GB, free: 2.918 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001044/0.4763, allocations: 412.7 kB / 0.5061 GB, free: 2.508 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.4764, allocations: 313.1 kB / 0.5064 GB, free: 2.199 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002397/0.4788, allocations: 1.336 MB / 0.5077 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002755/0.4816, allocations: 1.647 MB / 0.5093 GB, free: 15.12 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004995/0.4866, allocations: 3.087 MB / 0.5123 GB, free: 11.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/0.4866, allocations: 0 / 0.5123 GB, free: 11.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.008499/0.4952, allocations: 4.47 MB / 0.5167 GB, free: 7.355 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/0.4952, allocations: 8 kB / 0.5167 GB, free: 7.348 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.546e-05/0.4952, allocations: 8 kB / 0.5167 GB, free: 7.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005448/0.5007, allocations: 1.651 MB / 0.5183 GB, free: 5.656 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001635/0.5024, allocations: 387.5 kB / 0.5187 GB, free: 5.277 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2508/0.7532, allocations: 25.74 MB / 0.5438 GB, free: 116.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002187/0.7554, allocations: 96.92 kB / 0.5439 GB, free: 116.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002854/0.7557, allocations: 79.05 kB / 0.544 GB, free: 116.5 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 12 (diode4.idealDiode[3].off,diode4.idealDiode[2].off,diode4.idealDiode[1].off,diode3.idealDiode[3].off,diode3.idealDiode[2].off,diode3.idealDiode[1].off,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 (198): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,9,100.0%), (1,9,100.0%), (1,9,100.0%), (2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.002707/0.7584, allocations: 1.41 MB / 0.5454 GB, free: 116.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007865/0.7592, allocations: 307.5 kB / 0.5457 GB, free: 116.4 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00633/0.7655, allocations: 4.391 MB / 0.5499 GB, free: 114.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.756e-05/0.7656, allocations: 25.16 kB / 0.55 GB, free: 114.7 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.377e-05/0.7656, allocations: 6.531 kB / 0.55 GB, free: 114.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.076e-05/0.7656, allocations: 14.81 kB / 0.55 GB, free: 114.7 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/0.7782, allocations: 8.78 MB / 0.5586 GB, free: 111.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.238e-06/0.7783, allocations: 0 / 0.5586 GB, free: 111.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.7793, allocations: 294.8 kB / 0.5588 GB, free: 111.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004409/0.7838, allocations: 1.606 MB / 0.5604 GB, free: 109.8 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002048/0.784, allocations: 67.31 kB / 0.5605 GB, free: 109.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01828/0.8023, allocations: 25.48 MB / 0.5854 GB, free: 83.09 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.8023, allocations: 4.031 kB / 0.5854 GB, free: 83.09 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0089/0.8112, allocations: 6.116 MB / 0.5913 GB, free: 77.03 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001728/0.813, allocations: 0.6883 MB / 0.592 GB, free: 76.37 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000885/0.8139, allocations: 55.98 kB / 0.5921 GB, free: 76.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001933/0.8159, allocations: 127.8 kB / 0.5922 GB, free: 76.19 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006202/0.8165, allocations: 213.6 kB / 0.5924 GB, free: 75.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000223/0.8168, allocations: 63.98 kB / 0.5924 GB, free: 75.92 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003201/0.82, allocations: 1.852 MB / 0.5943 GB, free: 74.05 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.82, allocations: 0 / 0.5943 GB, free: 74.05 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00431/0.8243, allocations: 0.9628 MB / 0.5952 GB, free: 73.09 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,29,100.0%), (1,9,100.0%), (1,9,100.0%), (1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 6 systems {(2,7), (2,7), (2,7), (2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008686/0.833, allocations: 6.81 MB / 0.6018 GB, free: 66.19 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00623/0.8393, allocations: 4.884 MB / 0.6066 GB, free: 61.16 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.8393, allocations: 8.375 kB / 0.6066 GB, free: 61.16 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004148/0.8435, allocations: 3.372 MB / 0.6099 GB, free: 57.66 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004906/0.8484, allocations: 0.9511 MB / 0.6108 GB, free: 56.71 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05366/0.9021, allocations: 32.02 MB / 0.6421 GB, free: 24.25 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003487/0.9057, allocations: 3.169 MB / 0.6452 GB, free: 21.04 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001735/0.9074, allocations: 0.5831 MB / 0.6458 GB, free: 20.45 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001752/0.9092, allocations: 1.472 MB / 0.6472 GB, free: 18.98 MB / 462.1 MB Notification: Performance of SimCode: time 7.81e-07/0.9092, allocations: 5.312 kB / 0.6472 GB, free: 18.98 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1906/1.1, allocations: 91.24 MB / 0.7363 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.29/19.39, allocations: 9.297 kB / 0.7363 GB, free: 8.633 MB / 0.5294 GB (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_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_Rectifier12pulse.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1)