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.001212/0.001212, allocations: 114.6 kB / 16.63 MB, free: 6.812 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.001402/0.001402, allocations: 185.8 kB / 17.55 MB, free: 5.934 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.752/1.752, allocations: 205.1 MB / 223.4 MB, free: 12.43 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.001503/0.001503, allocations: 48.36 kB / 279.5 MB, free: 3.484 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1488, allocations: 46.63 MB / 326.1 MB, free: 4.785 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01414/0.1629, allocations: 10.56 MB / 336.7 MB, free: 10.16 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009454/0.1725, allocations: 3.226 MB / 339.9 MB, free: 6.926 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00351/0.1761, allocations: 63.62 kB / 340 MB, free: 6.863 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003355/0.1795, allocations: 0.5942 MB / 340.6 MB, free: 6.266 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006249/0.1858, allocations: 1.053 MB / 341.6 MB, free: 5.207 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002352/0.1881, allocations: 447.6 kB / 342.1 MB, free: 4.77 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.008893/0.1971, allocations: 5.264 MB / 347.3 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008791/0.2059, allocations: 4.12 MB / 351.5 MB, free: 11.29 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007655/0.2136, allocations: 2.369 MB / 353.8 MB, free: 8.922 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006373/0.22, allocations: 2.841 MB / 356.7 MB, free: 6.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002675/0.2227, allocations: 0.6211 MB / 357.3 MB, free: 5.449 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003709/0.2264, allocations: 0.703 MB / 358 MB, free: 4.746 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003619/0.2301, allocations: 1.629 MB / 359.6 MB, free: 3.113 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006419/0.2365, allocations: 2.777 MB / 362.4 MB, free: 332 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01007/0.2466, allocations: 8.327 MB / 370.7 MB, free: 7.973 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.165e-05/0.2466, allocations: 4 kB / 370.7 MB, free: 7.969 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.2466, allocations: 0 / 370.7 MB, free: 7.969 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0003455/0.247, allocations: 0 / 370.7 MB, free: 7.969 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.01528/0.2623, allocations: 5.087 MB / 375.8 MB, free: 2.809 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.069e-05/0.2624, allocations: 8.031 kB / 375.8 MB, free: 2.801 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002063/0.2644, allocations: 0.546 MB / 376.4 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2139/0.4783, allocations: 2.597 MB / 379 MB, free: 48.03 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000298/0.4787, allocations: 289.2 kB / 379.3 MB, free: 48.02 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001372/0.4801, allocations: 384.5 kB / 379.6 MB, free: 48.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01194/0.492, allocations: 5.794 MB / 385.4 MB, free: 45.86 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.14e-05/0.4921, allocations: 5.438 kB / 385.4 MB, free: 45.86 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003785/0.4925, allocations: 162.7 kB / 385.6 MB, free: 45.74 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002406/0.4927, allocations: 209.2 kB / 385.8 MB, free: 45.72 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01046/0.5032, allocations: 5.013 MB / 390.8 MB, free: 43.89 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03059/0.5339, allocations: 16.39 MB / 407.2 MB, free: 31.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005945/0.5399, allocations: 6.831 MB / 414 MB, free: 24.05 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003195/0.5431, allocations: 2.634 MB / 416.7 MB, free: 21.43 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003057/0.5434, allocations: 131.1 kB / 416.8 MB, free: 21.28 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.958e-05/0.5435, allocations: 75.17 kB / 416.9 MB, free: 21.2 MB / 318.1 MB Notification: Performance of pre-optimization done (n=249): time 4.409e-06/0.5435, allocations: 0 / 416.9 MB, free: 21.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=256): time 0.01821/0.5617, allocations: 10.69 MB / 427.6 MB, free: 10.27 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.5618, allocations: 85.41 kB / 427.6 MB, free: 10.17 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003604/0.5654, allocations: 2.632 MB / 430.3 MB, free: 7.52 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003372/0.5658, allocations: 69.7 kB / 430.3 MB, free: 7.445 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008674/0.5667, allocations: 1.647 MB / 432 MB, free: 5.785 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006052/0.5673, allocations: 0.8304 MB / 432.8 MB, free: 4.961 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005722/0.5679, allocations: 416.6 kB / 433.2 MB, free: 4.547 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.938e-05/0.5679, allocations: 309.6 kB / 433.5 MB, free: 4.242 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001632/0.5696, allocations: 1.336 MB / 434.9 MB, free: 2.902 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001666/0.5712, allocations: 1.65 MB / 436.5 MB, free: 1.156 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003915/0.5752, allocations: 3.079 MB / 439.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.5752, allocations: 4 kB / 439.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.008523/0.5837, allocations: 4.454 MB / 444 MB, free: 9.414 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.999e-05/0.5838, allocations: 8 kB / 444.1 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.931e-05/0.5838, allocations: 8 kB / 444.1 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005408/0.5892, allocations: 1.653 MB / 445.7 MB, free: 7.715 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00153/0.5908, allocations: 391.5 kB / 446.1 MB, free: 7.332 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02666/0.6175, allocations: 25.73 MB / 471.8 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002218/0.6197, allocations: 103.9 kB / 471.9 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002155/0.62, allocations: 77.53 kB / 472 MB, free: 12.05 MB / 366.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.002771/0.6227, allocations: 1.407 MB / 473.4 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007278/0.6235, allocations: 296.5 kB / 473.7 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007299/0.6308, allocations: 4.38 MB / 478.1 MB, free: 5.871 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-05/0.6308, allocations: 24 kB / 478.1 MB, free: 5.848 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.485e-05/0.6308, allocations: 8 kB / 478.1 MB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.3e-05/0.6309, allocations: 11.95 kB / 478.1 MB, free: 5.828 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01488/0.6458, allocations: 8.882 MB / 487 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.6458, allocations: 0 / 487 MB, free: 12.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001179/0.647, allocations: 291.7 kB / 487.3 MB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005271/0.6523, allocations: 1.627 MB / 488.9 MB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002411/0.6525, allocations: 59.98 kB / 489 MB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02961/0.6822, allocations: 25.52 MB / 0.5024 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.6822, allocations: 4.531 kB / 0.5024 GB, free: 0 / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01017/0.6924, allocations: 6.088 MB / 0.5084 GB, free: 9.797 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001754/0.6942, allocations: 0.6733 MB / 0.509 GB, free: 9.102 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003929/0.6946, allocations: 55.98 kB / 0.5091 GB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/0.6958, allocations: 119.9 kB / 0.5092 GB, free: 8.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005441/0.6964, allocations: 217.6 kB / 0.5094 GB, free: 8.719 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001435/0.6966, allocations: 67.98 kB / 0.5095 GB, free: 8.652 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002701/0.6993, allocations: 1.844 MB / 0.5113 GB, free: 6.797 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6993, allocations: 4 kB / 0.5113 GB, free: 6.793 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003265/0.7025, allocations: 0.9625 MB / 0.5122 GB, free: 5.836 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.000535/0.7031, allocations: 240.1 kB / 0.5125 GB, free: 5.602 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01172/0.7148, allocations: 6.963 MB / 0.5193 GB, free: 14.51 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/0.7149, allocations: 2.625 kB / 0.5193 GB, free: 14.51 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0047/0.7196, allocations: 3.374 MB / 0.5226 GB, free: 11 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004498/0.7241, allocations: 0.9628 MB / 0.5235 GB, free: 10.04 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2095/0.9336, allocations: 10.24 MB / 0.5335 GB, free: 139.3 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006704/0.9404, allocations: 3.171 MB / 0.5366 GB, free: 138.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002799/0.9432, allocations: 0.5683 MB / 0.5372 GB, free: 138.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008631/0.9441, allocations: 168.8 kB / 0.5373 GB, free: 138.5 MB / 430.1 MB Notification: Performance of SimCode: time 1.763e-06/0.9441, allocations: 2 kB / 0.5373 GB, free: 138.5 MB / 430.1 MB Notification: Performance of Templates: time 0.1077/1.052, allocations: 61.75 MB / 0.5976 GB, free: 94.19 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)