Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.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.Rectifier12pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001338/0.001338, allocations: 193.5 kB / 16.25 MB, free: 6.629 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.045/2.045, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.001613/0.001613, allocations: 44.3 kB / 278.2 MB, free: 12.66 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3855/0.3871, allocations: 46.63 MB / 324.9 MB, free: 1.914 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01405/0.4012, allocations: 10.57 MB / 335.4 MB, free: 9.516 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0113/0.4126, allocations: 3.23 MB / 338.6 MB, free: 6.277 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003921/0.4166, allocations: 63.62 kB / 338.7 MB, free: 6.215 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003238/0.4199, allocations: 0.6019 MB / 339.3 MB, free: 5.609 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005767/0.4257, allocations: 1.045 MB / 340.4 MB, free: 4.559 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001781/0.4275, allocations: 447.6 kB / 340.8 MB, free: 4.121 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.009019/0.4365, allocations: 5.257 MB / 346.1 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005629/0.4422, allocations: 4.112 MB / 350.2 MB, free: 10.65 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006595/0.4488, allocations: 2.377 MB / 352.5 MB, free: 8.273 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006151/0.455, allocations: 2.845 MB / 355.4 MB, free: 5.418 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002409/0.4575, allocations: 0.6211 MB / 356 MB, free: 4.797 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003087/0.4606, allocations: 0.703 MB / 356.7 MB, free: 4.094 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002132/0.4627, allocations: 1.629 MB / 358.3 MB, free: 2.461 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007934/0.4707, allocations: 2.766 MB / 361.1 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01339/0.4841, allocations: 8.338 MB / 369.4 MB, free: 7.32 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.053e-05/0.4842, allocations: 0 / 369.4 MB, free: 7.32 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.4842, allocations: 0 / 369.4 MB, free: 7.32 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0003494/0.4846, allocations: 4 kB / 369.4 MB, free: 7.316 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01895/0.5035, allocations: 5.075 MB / 374.5 MB, free: 2.168 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.585e-05/0.5036, allocations: 8.031 kB / 374.5 MB, free: 2.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003523/0.5072, allocations: 0.5498 MB / 375.1 MB, free: 1.605 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007419/0.5146, allocations: 2.6 MB / 377.7 MB, free: 14.92 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003607/0.5151, allocations: 291.8 kB / 378 MB, free: 14.64 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001812/0.5169, allocations: 387.7 kB / 378.3 MB, free: 14.26 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0147/0.5316, allocations: 5.789 MB / 384.1 MB, free: 8.387 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001386/0.5318, allocations: 0 / 384.1 MB, free: 8.387 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001084/0.5329, allocations: 168 kB / 384.3 MB, free: 8.223 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002836/0.5332, allocations: 204 kB / 384.5 MB, free: 8.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01308/0.5463, allocations: 5.02 MB / 389.5 MB, free: 2.98 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04442/0.5908, allocations: 16.39 MB / 405.9 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01305/0.6039, allocations: 6.832 MB / 412.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005971/0.61, allocations: 2.638 MB / 415.4 MB, free: 8.305 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005359/0.6106, allocations: 147 kB / 415.5 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.878e-05/0.6107, allocations: 56.56 kB / 415.6 MB, free: 8.078 MB / 350.1 MB Notification: Performance of pre-optimization done (n=249): time 9.488e-06/0.6107, allocations: 3.938 kB / 415.6 MB, free: 8.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=256): time 0.02878/0.6395, allocations: 10.69 MB / 426.3 MB, free: 13.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.355e-05/0.6396, allocations: 81.36 kB / 426.3 MB, free: 13.03 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005995/0.6456, allocations: 2.64 MB / 429 MB, free: 10.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005318/0.6462, allocations: 65.7 kB / 429.1 MB, free: 10.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001646/0.6478, allocations: 1.636 MB / 430.7 MB, free: 8.641 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001579/0.6494, allocations: 0.8394 MB / 431.5 MB, free: 7.789 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001799/0.6512, allocations: 416.6 kB / 431.9 MB, free: 7.375 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002029/0.6515, allocations: 309.1 kB / 432.2 MB, free: 7.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003089/0.6546, allocations: 1.336 MB / 433.6 MB, free: 5.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003129/0.6577, allocations: 1.654 MB / 435.2 MB, free: 3.98 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008302/0.6661, allocations: 3.079 MB / 438.3 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.558e-05/0.6662, allocations: 0 / 438.3 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.01463/0.6809, allocations: 4.461 MB / 442.8 MB, free: 12.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.687e-05/0.681, allocations: 8 kB / 442.8 MB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.792e-05/0.6811, allocations: 4 kB / 442.8 MB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008355/0.6894, allocations: 1.647 MB / 444.4 MB, free: 10.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002698/0.6922, allocations: 391.5 kB / 444.8 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2476/0.9399, allocations: 25.74 MB / 470.5 MB, free: 97.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002087/0.942, allocations: 89.69 kB / 470.6 MB, free: 97.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003084/0.9423, allocations: 83.12 kB / 470.7 MB, free: 97.24 MB / 382.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.002494/0.9449, allocations: 1.414 MB / 472.1 MB, free: 96.56 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001038/0.9459, allocations: 295.1 kB / 472.4 MB, free: 96.56 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007145/0.9531, allocations: 4.382 MB / 476.8 MB, free: 94.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.985e-05/0.9531, allocations: 25.88 kB / 476.8 MB, free: 94.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.027e-05/0.9532, allocations: 11.75 kB / 476.8 MB, free: 94.77 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.662e-05/0.9532, allocations: 11.16 kB / 476.8 MB, free: 94.77 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01277/0.966, allocations: 8.867 MB / 485.7 MB, free: 87.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.966, allocations: 4.5 kB / 485.7 MB, free: 87.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/0.9671, allocations: 291.6 kB / 486 MB, free: 87.39 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004562/0.9717, allocations: 1.627 MB / 487.6 MB, free: 85.74 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002221/0.9719, allocations: 59.98 kB / 487.7 MB, free: 85.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01778/0.9897, allocations: 25.53 MB / 0.5012 GB, free: 59.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.9897, allocations: 0 / 0.5012 GB, free: 59.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007583/0.9973, allocations: 6.094 MB / 0.5071 GB, free: 52.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001477/0.9988, allocations: 0.6694 MB / 0.5078 GB, free: 52.19 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004741/0.9993, allocations: 55.98 kB / 0.5078 GB, free: 52.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001421/1.001, allocations: 123.8 kB / 0.508 GB, free: 52.02 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005902/1.001, allocations: 221.6 kB / 0.5082 GB, free: 51.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001395/1.002, allocations: 60 kB / 0.5082 GB, free: 51.74 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002323/1.004, allocations: 1.852 MB / 0.51 GB, free: 49.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/1.004, allocations: 0 / 0.51 GB, free: 49.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003548/1.007, allocations: 0.9521 MB / 0.511 GB, free: 48.93 MB / 382.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.0006277/1.008, allocations: 247.7 kB / 0.5112 GB, free: 48.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01054/1.019, allocations: 6.96 MB / 0.518 GB, free: 41.61 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/1.019, allocations: 4.438 kB / 0.518 GB, free: 41.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004099/1.023, allocations: 3.368 MB / 0.5213 GB, free: 38.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004478/1.027, allocations: 0.9536 MB / 0.5222 GB, free: 37.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01573/1.043, allocations: 10.27 MB / 0.5323 GB, free: 26.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002635/1.046, allocations: 3.169 MB / 0.5354 GB, free: 23.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001909/1.048, allocations: 0.5674 MB / 0.5359 GB, free: 23.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004857/1.048, allocations: 171.4 kB / 0.5361 GB, free: 22.95 MB / 382.1 MB Notification: Performance of SimCode: time 1.653e-06/1.048, allocations: 0 / 0.5361 GB, free: 22.95 MB / 382.1 MB Notification: Performance of Templates: time 0.109/1.157, allocations: 61.74 MB / 0.5964 GB, free: 9.133 MB / 430.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1)