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.000818/0.000818, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0009522/0.0009522, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.567/1.567, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.0004741/0.0004745, allocations: 12 kB / 278.9 MB, free: 12.82 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2408, allocations: 47.59 MB / 326.5 MB, free: 1.25 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.006123/0.247, allocations: 5.959 MB / 332.4 MB, free: 12.58 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.004682/0.2517, allocations: 2.223 MB / 334.7 MB, free: 10.74 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001135/0.2529, allocations: 35.22 kB / 334.7 MB, free: 10.73 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001097/0.254, allocations: 349.2 kB / 335 MB, free: 10.47 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002063/0.256, allocations: 0.5939 MB / 335.6 MB, free: 9.992 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005479/0.2566, allocations: 168.7 kB / 335.8 MB, free: 9.855 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.003307/0.2599, allocations: 3.003 MB / 338.8 MB, free: 7.043 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001948/0.2619, allocations: 1.586 MB / 340.4 MB, free: 5.426 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001762/0.2637, allocations: 0.9652 MB / 341.4 MB, free: 4.457 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001563/0.2652, allocations: 1.245 MB / 342.6 MB, free: 3.207 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002365/0.2655, allocations: 156 kB / 342.8 MB, free: 3.055 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005393/0.266, allocations: 211.9 kB / 343 MB, free: 2.848 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005627/0.2666, allocations: 0.6619 MB / 343.6 MB, free: 2.184 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005605/0.2672, allocations: 0.5277 MB / 344.1 MB, free: 1.648 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003303/0.2705, allocations: 3.732 MB / 347.9 MB, free: 13.91 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.2705, allocations: 4 kB / 347.9 MB, free: 13.9 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2705, allocations: 4 kB / 347.9 MB, free: 13.9 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.303e-05/0.2706, allocations: 0 / 347.9 MB, free: 13.9 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.004899/0.2755, allocations: 2.535 MB / 350.4 MB, free: 11.3 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.2756, allocations: 8.031 kB / 350.4 MB, free: 11.29 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008158/0.2764, allocations: 300.8 kB / 350.7 MB, free: 11 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002294/0.2787, allocations: 1.46 MB / 352.2 MB, free: 9.477 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.2788, allocations: 164.4 kB / 352.3 MB, free: 9.312 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002879/0.2791, allocations: 212 kB / 352.6 MB, free: 9.105 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005087/0.2842, allocations: 3.17 MB / 355.7 MB, free: 5.848 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.55e-05/0.2843, allocations: 3.953 kB / 355.7 MB, free: 5.844 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001953/0.2845, allocations: 92 kB / 355.8 MB, free: 5.754 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001179/0.2846, allocations: 112.4 kB / 355.9 MB, free: 5.641 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004361/0.289, allocations: 2.715 MB / 358.6 MB, free: 2.91 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01478/0.3038, allocations: 8.959 MB / 367.6 MB, free: 9.777 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003816/0.3076, allocations: 3.382 MB / 371 MB, free: 6.086 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002143/0.3098, allocations: 1.343 MB / 372.3 MB, free: 4.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002603/0.3101, allocations: 118.4 kB / 372.4 MB, free: 4.617 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.967e-05/0.3102, allocations: 63.8 kB / 372.5 MB, free: 4.547 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 3.096e-06/0.3102, allocations: 0 / 372.5 MB, free: 4.547 MB / 302.1 MB Notification: Performance of matching and sorting (n=132): time 0.01157/0.3218, allocations: 5.656 MB / 378.2 MB, free: 14.76 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.549e-05/0.3219, allocations: 72.66 kB / 378.2 MB, free: 14.67 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002703/0.3246, allocations: 1.482 MB / 379.7 MB, free: 13.17 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001007/0.3247, allocations: 53.64 kB / 379.8 MB, free: 13.11 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008353/0.3255, allocations: 0.937 MB / 380.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004108/0.326, allocations: 437.6 kB / 381.1 MB, free: 11.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.268e-05/0.326, allocations: 24 kB / 381.2 MB, free: 11.71 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.3262, allocations: 361.9 kB / 381.5 MB, free: 11.35 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001067/0.3273, allocations: 0.6974 MB / 382.2 MB, free: 10.65 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001198/0.3285, allocations: 0.8715 MB / 383.1 MB, free: 9.73 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001282/0.3298, allocations: 0.8144 MB / 383.9 MB, free: 8.914 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.3298, allocations: 4 kB / 383.9 MB, free: 8.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003944/0.3337, allocations: 2.306 MB / 386.2 MB, free: 6.582 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.3338, allocations: 4 kB / 386.2 MB, free: 6.578 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/0.3338, allocations: 4 kB / 386.2 MB, free: 6.574 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002778/0.3366, allocations: 0.8228 MB / 387 MB, free: 5.738 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008275/0.3374, allocations: 211.7 kB / 387.2 MB, free: 5.531 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01246/0.3499, allocations: 10.51 MB / 397.7 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001131/0.3511, allocations: 51.97 kB / 397.8 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001986/0.3513, allocations: 43.98 kB / 397.8 MB, free: 10.38 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 (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 initialization (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.001686/0.353, allocations: 0.8176 MB / 398.7 MB, free: 9.551 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004309/0.3534, allocations: 162.1 kB / 398.8 MB, free: 9.391 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004126/0.3575, allocations: 2.273 MB / 401.1 MB, free: 7.098 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/0.3576, allocations: 12 kB / 401.1 MB, free: 7.086 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/0.3576, allocations: 4 kB / 401.1 MB, free: 7.082 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/0.3576, allocations: 3.984 kB / 401.1 MB, free: 7.078 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0088/0.3664, allocations: 4.762 MB / 405.9 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/0.3664, allocations: 0 / 405.9 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006911/0.3671, allocations: 167.9 kB / 406 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002624/0.3698, allocations: 0.8036 MB / 406.8 MB, free: 1.234 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/0.3699, allocations: 32.05 kB / 406.9 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01192/0.3818, allocations: 10.42 MB / 417.3 MB, free: 6.25 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.3819, allocations: 4.031 kB / 417.3 MB, free: 6.246 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005645/0.3875, allocations: 3.234 MB / 420.5 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001213/0.3888, allocations: 407.1 kB / 420.9 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00047/0.3893, allocations: 27.98 kB / 420.9 MB, free: 2.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.3903, allocations: 83.84 kB / 421 MB, free: 2.438 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003058/0.3906, allocations: 109.1 kB / 421.1 MB, free: 2.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-05/0.3907, allocations: 40 kB / 421.2 MB, free: 2.293 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001892/0.3926, allocations: 1.04 MB / 422.2 MB, free: 1.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.21e-07/0.3927, allocations: 3.938 kB / 422.2 MB, free: 1.246 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002222/0.3949, allocations: 0.5156 MB / 422.7 MB, free: 0.7305 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004478/0.3953, allocations: 170 kB / 422.9 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.003785/0.3991, allocations: 2.389 MB / 425.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.3992, allocations: 3.938 kB / 425.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002429/0.4016, allocations: 1.644 MB / 426.9 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002477/0.4041, allocations: 0.4966 MB / 427.4 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00921/0.4133, allocations: 5.443 MB / 432.9 MB, free: 6.422 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002094/0.4154, allocations: 2.035 MB / 434.9 MB, free: 4.352 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001096/0.4165, allocations: 309.5 kB / 435.2 MB, free: 4.043 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003598/0.4169, allocations: 103.4 kB / 435.3 MB, free: 3.941 MB / 366.1 MB Notification: Performance of SimCode: time 1.513e-06/0.4169, allocations: 0 / 435.3 MB, free: 3.941 MB / 366.1 MB Notification: Performance of Templates: time 0.2247/0.6417, allocations: 29.77 MB / 465.1 MB, free: 101.9 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)