Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_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: translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.003004/0.003005, allocations: 194 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.011/2.011, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.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.001813/0.001813, allocations: 51.94 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2817, allocations: 46.63 MB / 324.9 MB, free: 1.902 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.009245/0.291, allocations: 6.797 MB / 331.7 MB, free: 12.54 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0067/0.2978, allocations: 2.302 MB / 334 MB, free: 10.63 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001682/0.2996, allocations: 39.53 kB / 334 MB, free: 10.62 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001354/0.301, allocations: 394 kB / 334.4 MB, free: 10.32 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002651/0.3036, allocations: 0.6024 MB / 335 MB, free: 9.832 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007428/0.3044, allocations: 255.7 kB / 335.2 MB, free: 9.609 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003837/0.3083, allocations: 2.902 MB / 338.1 MB, free: 6.777 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00271/0.311, allocations: 2.45 MB / 340.6 MB, free: 4.27 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003308/0.3143, allocations: 1.317 MB / 341.9 MB, free: 2.953 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002484/0.3168, allocations: 1.572 MB / 343.5 MB, free: 1.375 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004865/0.3173, allocations: 356 kB / 343.8 MB, free: 1.027 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009352/0.3182, allocations: 435.8 kB / 344.2 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008544/0.3191, allocations: 0.8882 MB / 345.1 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00192/0.321, allocations: 1.525 MB / 346.7 MB, free: 14.18 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004804/0.3258, allocations: 4.572 MB / 351.2 MB, free: 9.594 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.3259, allocations: 0 / 351.2 MB, free: 9.594 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.3259, allocations: 3.938 kB / 351.2 MB, free: 9.59 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.776e-05/0.326, allocations: 0 / 351.2 MB, free: 9.59 MB / 286.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.006965/0.333, allocations: 2.956 MB / 354.2 MB, free: 6.57 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.173e-05/0.333, allocations: 8.031 kB / 354.2 MB, free: 6.562 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009858/0.334, allocations: 313.6 kB / 354.5 MB, free: 6.254 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002996/0.337, allocations: 1.511 MB / 356 MB, free: 4.684 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001476/0.3372, allocations: 160.4 kB / 356.2 MB, free: 4.523 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003263/0.3375, allocations: 212 kB / 356.4 MB, free: 4.316 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006345/0.3439, allocations: 3.174 MB / 359.6 MB, free: 1.055 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.642e-05/0.344, allocations: 4 kB / 359.6 MB, free: 1.051 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002173/0.3442, allocations: 88 kB / 359.6 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001486/0.3444, allocations: 112.4 kB / 359.8 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00549/0.3499, allocations: 2.723 MB / 362.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01659/0.3665, allocations: 8.892 MB / 371.4 MB, free: 5.047 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004394/0.3709, allocations: 3.394 MB / 374.8 MB, free: 1.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002136/0.3731, allocations: 1.323 MB / 376.1 MB, free: 20 kB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003847/0.3735, allocations: 126.4 kB / 376.2 MB, free: 15.88 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.475e-05/0.3736, allocations: 51.81 kB / 376.3 MB, free: 15.82 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 3.256e-06/0.3736, allocations: 0 / 376.3 MB, free: 15.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.01162/0.3852, allocations: 5.628 MB / 381.9 MB, free: 10.06 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.149e-05/0.3853, allocations: 64.72 kB / 382 MB, free: 9.98 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002561/0.3879, allocations: 1.49 MB / 383.4 MB, free: 8.473 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.388, allocations: 53.7 kB / 383.5 MB, free: 8.414 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008124/0.3889, allocations: 0.937 MB / 384.4 MB, free: 7.465 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004047/0.3893, allocations: 453.4 kB / 384.9 MB, free: 7.016 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003706/0.3897, allocations: 218.8 kB / 385.1 MB, free: 6.797 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.3898, allocations: 357.9 kB / 385.4 MB, free: 6.441 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001062/0.3909, allocations: 0.6974 MB / 386.1 MB, free: 5.742 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00121/0.3921, allocations: 0.8638 MB / 387 MB, free: 4.832 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002224/0.3944, allocations: 1.613 MB / 388.6 MB, free: 3.164 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/0.3944, allocations: 4 kB / 388.6 MB, free: 3.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003923/0.3983, allocations: 2.306 MB / 390.9 MB, free: 0.832 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.132e-05/0.3984, allocations: 11.98 kB / 390.9 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/0.3984, allocations: 4 kB / 390.9 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002728/0.4011, allocations: 0.8267 MB / 391.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007605/0.4019, allocations: 207.7 kB / 392 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01307/0.415, allocations: 11.5 MB / 403.5 MB, free: 3.715 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/0.4165, allocations: 51.95 kB / 403.5 MB, free: 3.664 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001079/0.4166, allocations: 36.12 kB / 403.6 MB, free: 3.629 MB / 334.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.00167/0.4183, allocations: 0.8252 MB / 404.4 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004491/0.4187, allocations: 158.1 kB / 404.5 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003845/0.4226, allocations: 2.269 MB / 406.8 MB, free: 352 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.4226, allocations: 12 kB / 406.8 MB, free: 340 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/0.4226, allocations: 12.45 kB / 406.8 MB, free: 328 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.768e-05/0.4227, allocations: 11.97 kB / 406.8 MB, free: 316 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007842/0.4305, allocations: 4.734 MB / 411.6 MB, free: 11.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.089e-05/0.4306, allocations: 4 kB / 411.6 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006953/0.4313, allocations: 155.8 kB / 411.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002707/0.434, allocations: 0.823 MB / 412.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.351e-05/0.4341, allocations: 35.98 kB / 412.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01306/0.4472, allocations: 11.39 MB / 424 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.4472, allocations: 4.062 kB / 424 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005457/0.4527, allocations: 3.242 MB / 427.2 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/0.4537, allocations: 403.1 kB / 427.6 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002044/0.454, allocations: 27.98 kB / 427.6 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007771/0.4547, allocations: 67.95 kB / 427.7 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003353/0.4551, allocations: 113.1 kB / 427.8 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.729e-05/0.4552, allocations: 39.98 kB / 427.9 MB, free: 10.55 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001602/0.4568, allocations: 1.056 MB / 428.9 MB, free: 9.496 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4568, allocations: 0 / 428.9 MB, free: 9.496 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002168/0.459, allocations: 0.5195 MB / 429.4 MB, free: 8.977 MB / 366.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.0006164/0.4596, allocations: 203.9 kB / 429.6 MB, free: 8.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005179/0.4648, allocations: 2.939 MB / 432.6 MB, free: 5.777 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.4648, allocations: 0 / 432.6 MB, free: 5.777 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002556/0.4674, allocations: 1.645 MB / 434.2 MB, free: 4.082 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002704/0.4701, allocations: 0.512 MB / 434.7 MB, free: 3.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0103/0.4804, allocations: 5.604 MB / 440.3 MB, free: 13.91 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002/0.4825, allocations: 2.031 MB / 442.4 MB, free: 11.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001367/0.4838, allocations: 313.5 kB / 442.7 MB, free: 11.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002727/0.4841, allocations: 99.36 kB / 442.8 MB, free: 11.43 MB / 382.1 MB Notification: Performance of SimCode: time 1.262e-06/0.4841, allocations: 0 / 442.8 MB, free: 11.43 MB / 382.1 MB Notification: Performance of Templates: time 0.3021/0.7862, allocations: 32.33 MB / 475.1 MB, free: 99.39 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1)