Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.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.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.001607/0.001607, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001841/0.001841, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.908/1.908, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.001453/0.001453, allocations: 52.41 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3074, allocations: 46.64 MB / 325.3 MB, free: 1.996 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008349/0.3157, allocations: 6.818 MB / 332.1 MB, free: 12.59 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005557/0.3213, allocations: 2.328 MB / 334.5 MB, free: 10.66 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001427/0.3229, allocations: 40.09 kB / 334.5 MB, free: 10.65 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001269/0.3241, allocations: 456.2 kB / 334.9 MB, free: 10.29 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002297/0.3264, allocations: 0.6587 MB / 335.6 MB, free: 9.711 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006187/0.3271, allocations: 287.7 kB / 335.9 MB, free: 9.43 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003038/0.3301, allocations: 2.898 MB / 338.8 MB, free: 6.516 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002613/0.3328, allocations: 2.458 MB / 341.2 MB, free: 4 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002733/0.3355, allocations: 1.302 MB / 342.5 MB, free: 2.699 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002122/0.3376, allocations: 1.53 MB / 344.1 MB, free: 1.164 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000499/0.3382, allocations: 348 kB / 344.4 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009613/0.3391, allocations: 435.8 kB / 344.8 MB, free: 408 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007402/0.3399, allocations: 0.896 MB / 345.7 MB, free: 15.5 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002183/0.3421, allocations: 1.525 MB / 347.3 MB, free: 13.97 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005975/0.3481, allocations: 4.572 MB / 351.8 MB, free: 9.383 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3481, allocations: 0 / 351.8 MB, free: 9.383 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.3481, allocations: 0 / 351.8 MB, free: 9.383 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0001339/0.3482, allocations: 0 / 351.8 MB, free: 9.383 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.006521/0.3548, allocations: 2.956 MB / 354.8 MB, free: 6.363 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.413e-05/0.3549, allocations: 12.03 kB / 354.8 MB, free: 6.352 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009246/0.3558, allocations: 309.6 kB / 355.1 MB, free: 6.047 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002668/0.3585, allocations: 1.507 MB / 356.6 MB, free: 4.48 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001402/0.3586, allocations: 164.4 kB / 356.8 MB, free: 4.316 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003002/0.3589, allocations: 212 kB / 357 MB, free: 4.109 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005596/0.3645, allocations: 3.174 MB / 360.1 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.968e-05/0.3646, allocations: 4 kB / 360.2 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002005/0.3648, allocations: 87.94 kB / 360.2 MB, free: 0.7578 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001184/0.365, allocations: 112.4 kB / 360.3 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004662/0.3696, allocations: 2.727 MB / 363.1 MB, free: 13.9 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01578/0.3854, allocations: 8.896 MB / 372 MB, free: 4.832 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003799/0.3893, allocations: 3.382 MB / 375.4 MB, free: 1.141 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002149/0.3915, allocations: 1.327 MB / 376.7 MB, free: 15.81 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002665/0.3917, allocations: 126.4 kB / 376.8 MB, free: 15.67 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.639e-05/0.3918, allocations: 55.75 kB / 376.9 MB, free: 15.61 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 4.288e-06/0.3918, allocations: 0 / 376.9 MB, free: 15.61 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.01148/0.4033, allocations: 5.632 MB / 382.5 MB, free: 9.844 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.248e-05/0.4034, allocations: 68.66 kB / 382.6 MB, free: 9.762 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002696/0.4061, allocations: 1.498 MB / 384.1 MB, free: 8.246 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001462/0.4063, allocations: 49.7 kB / 384.1 MB, free: 8.191 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00081/0.4071, allocations: 0.9331 MB / 385 MB, free: 7.246 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004389/0.4076, allocations: 453.4 kB / 385.5 MB, free: 6.797 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003939/0.408, allocations: 218.8 kB / 385.7 MB, free: 6.578 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002496/0.4082, allocations: 361.9 kB / 386 MB, free: 6.219 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001262/0.4095, allocations: 0.6896 MB / 386.7 MB, free: 5.527 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00126/0.4108, allocations: 0.8677 MB / 387.6 MB, free: 4.609 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002291/0.4131, allocations: 1.605 MB / 389.2 MB, free: 2.953 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.4131, allocations: 0 / 389.2 MB, free: 2.953 MB / 318.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004198/0.4173, allocations: 2.314 MB / 391.5 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.4173, allocations: 4 kB / 391.5 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.4174, allocations: 4 kB / 391.5 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00244/0.4198, allocations: 0.7721 MB / 392.3 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007796/0.4206, allocations: 203.7 kB / 392.5 MB, free: 15.62 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01423/0.4348, allocations: 11.51 MB / 404 MB, free: 3.551 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/0.4362, allocations: 52.59 kB / 404.1 MB, free: 3.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.093e-05/0.4363, allocations: 40 kB / 404.1 MB, free: 3.461 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.001432/0.4377, allocations: 0.8174 MB / 404.9 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003514/0.4381, allocations: 162.1 kB / 405.1 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003831/0.4419, allocations: 2.277 MB / 407.4 MB, free: 176 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/0.4419, allocations: 12 kB / 407.4 MB, free: 164 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.442, allocations: 7.938 kB / 407.4 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.328e-05/0.442, allocations: 3.984 kB / 407.4 MB, free: 152 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007704/0.4497, allocations: 4.746 MB / 412.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.4497, allocations: 0 / 412.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006392/0.4504, allocations: 155.8 kB / 412.3 MB, free: 11.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002081/0.4525, allocations: 0.7568 MB / 413 MB, free: 10.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.224e-05/0.4526, allocations: 27.98 kB / 413.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01213/0.4647, allocations: 11.39 MB / 424.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.4648, allocations: 4.031 kB / 424.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005462/0.4702, allocations: 3.238 MB / 427.7 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009809/0.4712, allocations: 407.1 kB / 428.1 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001954/0.4715, allocations: 28 kB / 428.1 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000752/0.4722, allocations: 67.94 kB / 428.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003139/0.4725, allocations: 117.1 kB / 428.3 MB, free: 10.49 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.933e-05/0.4726, allocations: 40.05 kB / 428.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0017/0.4743, allocations: 1.056 MB / 429.4 MB, free: 9.395 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4743, allocations: 0 / 429.4 MB, free: 9.395 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001946/0.4763, allocations: 0.5156 MB / 429.9 MB, free: 8.879 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.0005293/0.4768, allocations: 204 kB / 430.1 MB, free: 8.672 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.005324/0.4822, allocations: 2.927 MB / 433 MB, free: 5.691 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/0.4822, allocations: 5.219 kB / 433 MB, free: 5.688 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002684/0.4849, allocations: 1.652 MB / 434.7 MB, free: 3.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00243/0.4874, allocations: 0.5003 MB / 435.2 MB, free: 3.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008127/0.4955, allocations: 4.639 MB / 439.8 MB, free: 14.79 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001927/0.4975, allocations: 2.047 MB / 441.9 MB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001201/0.4987, allocations: 301.5 kB / 442.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003028/0.499, allocations: 99.36 kB / 442.3 MB, free: 12.31 MB / 382.1 MB Notification: Performance of SimCode: time 1.243e-06/0.499, allocations: 0 / 442.3 MB, free: 12.31 MB / 382.1 MB Notification: Performance of Templates: time 0.2331/0.7321, allocations: 32.56 MB / 474.8 MB, free: 99.71 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1)