Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001768/0.001768, allocations: 111.1 kB / 16.51 MB, free: 6.707 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.002046/0.002046, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.733/1.733, allocations: 205.1 MB / 223.3 MB, free: 12.49 MB / 190.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.001177/0.001177, allocations: 55.86 kB / 279.3 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1013, allocations: 46.61 MB / 326 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01206/0.1134, allocations: 10.59 MB / 336.5 MB, free: 10.26 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009016/0.1224, allocations: 3.23 MB / 339.8 MB, free: 7.02 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002342/0.1249, allocations: 67.62 kB / 339.8 MB, free: 6.953 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001997/0.1269, allocations: 0.6019 MB / 340.4 MB, free: 6.348 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004051/0.131, allocations: 1.065 MB / 341.5 MB, free: 5.277 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.1323, allocations: 435.6 kB / 341.9 MB, free: 4.852 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006882/0.1392, allocations: 5.986 MB / 347.9 MB, free: 14.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004647/0.1439, allocations: 3.364 MB / 351.3 MB, free: 11.4 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005588/0.1495, allocations: 1.998 MB / 353.3 MB, free: 9.406 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005314/0.1549, allocations: 2.65 MB / 355.9 MB, free: 6.746 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001989/0.1569, allocations: 384 kB / 356.3 MB, free: 6.371 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003221/0.1601, allocations: 479.8 kB / 356.8 MB, free: 5.902 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002074/0.1622, allocations: 1.367 MB / 358.1 MB, free: 4.531 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006797/0.169, allocations: 2.488 MB / 360.6 MB, free: 2.031 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01201/0.1811, allocations: 8.101 MB / 368.7 MB, free: 9.902 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.099e-05/0.1812, allocations: 0 / 368.7 MB, free: 9.902 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.1812, allocations: 0 / 368.7 MB, free: 9.902 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003247/0.1815, allocations: 0 / 368.7 MB, free: 9.902 MB / 318.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.0149/0.1964, allocations: 5.083 MB / 373.8 MB, free: 4.75 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.942e-05/0.1965, allocations: 16.02 kB / 373.8 MB, free: 4.734 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001753/0.1983, allocations: 0.546 MB / 374.4 MB, free: 4.184 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005024/0.2033, allocations: 2.588 MB / 377 MB, free: 1.52 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002261/0.2036, allocations: 295.8 kB / 377.2 MB, free: 1.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007885/0.2044, allocations: 388 kB / 377.6 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2217/0.4261, allocations: 5.783 MB / 383.4 MB, free: 47.09 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-05/0.4262, allocations: 2.375 kB / 383.4 MB, free: 47.09 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000383/0.4266, allocations: 165.9 kB / 383.6 MB, free: 46.97 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002172/0.4268, allocations: 206.7 kB / 383.8 MB, free: 46.95 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009294/0.4361, allocations: 5.016 MB / 388.8 MB, free: 45.11 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02107/0.4572, allocations: 16.4 MB / 405.2 MB, free: 33.7 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004503/0.4618, allocations: 6.812 MB / 412 MB, free: 26.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002765/0.4646, allocations: 2.649 MB / 414.7 MB, free: 23.7 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002572/0.4648, allocations: 135.1 kB / 414.8 MB, free: 23.55 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.4649, allocations: 60.56 kB / 414.8 MB, free: 23.48 MB / 318.1 MB Notification: Performance of pre-optimization done (n=249): time 3.757e-06/0.4649, allocations: 3.391 kB / 414.8 MB, free: 23.48 MB / 318.1 MB Notification: Performance of matching and sorting (n=256): time 0.01689/0.4818, allocations: 10.7 MB / 425.5 MB, free: 12.54 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.4819, allocations: 77.42 kB / 425.6 MB, free: 12.45 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003354/0.4852, allocations: 2.632 MB / 428.3 MB, free: 9.797 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001799/0.4854, allocations: 73.69 kB / 428.3 MB, free: 9.719 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007758/0.4862, allocations: 1.632 MB / 430 MB, free: 8.066 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004744/0.4867, allocations: 0.8417 MB / 430.8 MB, free: 7.234 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005298/0.4872, allocations: 412.6 kB / 431.2 MB, free: 6.824 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.006e-05/0.4873, allocations: 305.1 kB / 431.5 MB, free: 6.523 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001592/0.4889, allocations: 1.34 MB / 432.8 MB, free: 5.18 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001717/0.4906, allocations: 1.653 MB / 434.5 MB, free: 3.434 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003357/0.494, allocations: 3.076 MB / 437.6 MB, free: 240 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.494, allocations: 7.938 kB / 437.6 MB, free: 232 kB / 318.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007904/0.5019, allocations: 4.451 MB / 442 MB, free: 11.7 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.11e-05/0.502, allocations: 11.94 kB / 442 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/0.502, allocations: 4 kB / 442 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007858/0.5099, allocations: 1.647 MB / 443.7 MB, free: 10 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002594/0.5125, allocations: 391.5 kB / 444.1 MB, free: 9.617 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0369/0.5494, allocations: 23.48 MB / 467.5 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00311/0.5526, allocations: 91.92 kB / 467.6 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004579/0.5531, allocations: 76 kB / 467.7 MB, free: 0.6562 MB / 350.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.003472/0.5565, allocations: 1.403 MB / 469.1 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001218/0.5578, allocations: 296.5 kB / 469.4 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0101/0.5679, allocations: 4.383 MB / 473.8 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.195e-05/0.568, allocations: 24 kB / 473.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-05/0.568, allocations: 12 kB / 473.8 MB, free: 10.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-05/0.5681, allocations: 11.95 kB / 473.8 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01618/0.5843, allocations: 8.876 MB / 482.7 MB, free: 1.484 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/0.5843, allocations: 4 kB / 482.7 MB, free: 1.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/0.5855, allocations: 291.6 kB / 483 MB, free: 1.195 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005274/0.5908, allocations: 1.618 MB / 484.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002112/0.591, allocations: 55.98 kB / 484.7 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02346/0.6144, allocations: 23.24 MB / 0.496 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.6145, allocations: 0 / 0.496 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009622/0.6241, allocations: 6.082 MB / 0.5019 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00178/0.6259, allocations: 0.6771 MB / 0.5026 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005146/0.6265, allocations: 56.27 kB / 0.5027 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/0.6277, allocations: 123.8 kB / 0.5028 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005839/0.6283, allocations: 221.5 kB / 0.503 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001462/0.6285, allocations: 63.98 kB / 0.5031 GB, free: 15.58 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002777/0.6313, allocations: 1.848 MB / 0.5049 GB, free: 13.72 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.6313, allocations: 0 / 0.5049 GB, free: 13.72 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.004226/0.6355, allocations: 0.9565 MB / 0.5058 GB, free: 12.77 MB / 414.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.0008138/0.6364, allocations: 267.6 kB / 0.506 GB, free: 12.51 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00836/0.6447, allocations: 4.835 MB / 0.5108 GB, free: 7.531 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.6448, allocations: 0 / 0.5108 GB, free: 7.531 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005785/0.6506, allocations: 3.351 MB / 0.514 GB, free: 4.047 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004838/0.6555, allocations: 0.8861 MB / 0.5149 GB, free: 3.156 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01777/0.6733, allocations: 10.26 MB / 0.5249 GB, free: 8.863 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003414/0.6767, allocations: 3.173 MB / 0.528 GB, free: 5.656 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002106/0.6788, allocations: 0.5674 MB / 0.5286 GB, free: 5.082 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005246/0.6794, allocations: 171.4 kB / 0.5287 GB, free: 4.918 MB / 430.1 MB Notification: Performance of SimCode: time 3.847e-06/0.6794, allocations: 0 / 0.5287 GB, free: 4.918 MB / 430.1 MB Notification: Performance of Templates: time 0.2959/0.9753, allocations: 59.27 MB / 0.5866 GB, free: 104.1 MB / 430.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1)