Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001287/0.001287, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002048/0.002048, allocations: 190.9 kB / 16.13 MB, free: 6.66 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.779/1.779, allocations: 205.1 MB / 222 MB, free: 4.738 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.001258/0.001258, allocations: 55.92 kB / 278 MB, free: 12.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.289/0.2903, allocations: 46.64 MB / 324.7 MB, free: 1.934 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01306/0.3034, allocations: 10.57 MB / 335.3 MB, free: 9.547 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.007781/0.3112, allocations: 3.237 MB / 338.5 MB, free: 6.301 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003455/0.3148, allocations: 67.62 kB / 338.6 MB, free: 6.234 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002371/0.3172, allocations: 0.602 MB / 339.2 MB, free: 5.629 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005135/0.3224, allocations: 1.065 MB / 340.2 MB, free: 4.559 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00149/0.3239, allocations: 439.6 kB / 340.7 MB, free: 4.129 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.008078/0.3319, allocations: 5.982 MB / 346.6 MB, free: 14.12 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004491/0.3365, allocations: 3.364 MB / 350 MB, free: 10.68 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005504/0.342, allocations: 1.99 MB / 352 MB, free: 8.688 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005276/0.3473, allocations: 2.642 MB / 354.6 MB, free: 6.035 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009839/0.3483, allocations: 388 kB / 355 MB, free: 5.656 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002088/0.3504, allocations: 479.8 kB / 355.5 MB, free: 5.188 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001362/0.3518, allocations: 1.363 MB / 356.8 MB, free: 3.82 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003395/0.3552, allocations: 2.492 MB / 359.3 MB, free: 1.316 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009104/0.3643, allocations: 8.104 MB / 367.4 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.3643, allocations: 0 / 367.4 MB, free: 9.188 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3643, allocations: 0 / 367.4 MB, free: 9.188 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002757/0.3646, allocations: 0 / 367.4 MB, free: 9.188 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.01413/0.3787, allocations: 5.075 MB / 372.5 MB, free: 4.039 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/0.3788, allocations: 12.03 kB / 372.5 MB, free: 4.027 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001712/0.3805, allocations: 0.5459 MB / 373.1 MB, free: 3.477 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004939/0.3855, allocations: 2.592 MB / 375.7 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002461/0.3858, allocations: 303.8 kB / 376 MB, free: 0.5117 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007245/0.3865, allocations: 383.9 kB / 376.3 MB, free: 136 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01196/0.3985, allocations: 5.797 MB / 382.1 MB, free: 10.25 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.919e-05/0.3986, allocations: 0 / 382.1 MB, free: 10.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003564/0.3989, allocations: 160 kB / 382.3 MB, free: 10.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002063/0.3992, allocations: 200 kB / 382.5 MB, free: 9.895 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01001/0.4092, allocations: 5.016 MB / 387.5 MB, free: 4.859 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03859/0.4478, allocations: 16.4 MB / 403.9 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007304/0.4552, allocations: 6.828 MB / 410.7 MB, free: 12.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00395/0.4591, allocations: 2.638 MB / 413.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003191/0.4595, allocations: 135.1 kB / 413.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.69e-05/0.4596, allocations: 56.56 kB / 413.6 MB, free: 9.957 MB / 350.1 MB Notification: Performance of pre-optimization done (n=249): time 8.366e-06/0.4596, allocations: 8 kB / 413.6 MB, free: 9.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=256): time 0.0204/0.48, allocations: 10.69 MB / 424.3 MB, free: 15 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/0.4801, allocations: 81.36 kB / 424.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004253/0.4844, allocations: 2.636 MB / 427 MB, free: 12.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002209/0.4846, allocations: 73.7 kB / 427 MB, free: 12.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001198/0.4858, allocations: 1.632 MB / 428.7 MB, free: 10.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007426/0.4866, allocations: 0.8433 MB / 429.5 MB, free: 9.668 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006622/0.4872, allocations: 412.6 kB / 429.9 MB, free: 9.258 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.4874, allocations: 305.1 kB / 430.2 MB, free: 8.957 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002048/0.4894, allocations: 1.34 MB / 431.6 MB, free: 7.613 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002294/0.4917, allocations: 1.654 MB / 433.2 MB, free: 5.863 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004403/0.4961, allocations: 3.079 MB / 436.3 MB, free: 2.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.086e-05/0.4962, allocations: 4 kB / 436.3 MB, free: 2.656 MB / 366.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.00801/0.5042, allocations: 4.457 MB / 440.7 MB, free: 14.12 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.14e-05/0.5043, allocations: 8 kB / 440.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.653e-05/0.5043, allocations: 4 kB / 440.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005671/0.51, allocations: 1.647 MB / 442.4 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001666/0.5117, allocations: 391.5 kB / 442.8 MB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2442/0.7559, allocations: 23.46 MB / 466.3 MB, free: 100.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002338/0.7583, allocations: 95.11 kB / 466.3 MB, free: 100.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002634/0.7586, allocations: 82 kB / 466.4 MB, free: 100.3 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.002726/0.7613, allocations: 1.41 MB / 467.8 MB, free: 99.65 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008222/0.7621, allocations: 298.1 kB / 468.1 MB, free: 99.65 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006733/0.7689, allocations: 4.381 MB / 472.5 MB, free: 97.87 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/0.7689, allocations: 26.59 kB / 472.5 MB, free: 97.87 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.445e-05/0.7689, allocations: 7.875 kB / 472.5 MB, free: 97.87 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.837e-05/0.769, allocations: 15.45 kB / 472.6 MB, free: 97.87 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0128/0.7818, allocations: 8.88 MB / 481.4 MB, free: 91.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/0.7818, allocations: 0 / 481.4 MB, free: 91.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/0.7829, allocations: 286.6 kB / 481.7 MB, free: 91.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004552/0.7875, allocations: 1.621 MB / 483.3 MB, free: 89.85 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002056/0.7877, allocations: 55.98 kB / 483.4 MB, free: 89.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01785/0.8056, allocations: 23.23 MB / 0.4947 GB, free: 65.47 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.8056, allocations: 7.922 kB / 0.4948 GB, free: 65.46 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00808/0.8137, allocations: 6.084 MB / 0.5007 GB, free: 59.38 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001776/0.8155, allocations: 0.6771 MB / 0.5014 GB, free: 58.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004449/0.816, allocations: 51.98 kB / 0.5014 GB, free: 58.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/0.8173, allocations: 127.5 kB / 0.5015 GB, free: 58.51 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005559/0.8178, allocations: 217.3 kB / 0.5017 GB, free: 58.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001329/0.818, allocations: 63.98 kB / 0.5018 GB, free: 58.24 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002343/0.8203, allocations: 1.848 MB / 0.5036 GB, free: 56.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.8203, allocations: 0 / 0.5036 GB, free: 56.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003887/0.8242, allocations: 0.9599 MB / 0.5045 GB, free: 55.42 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.0006492/0.8249, allocations: 242.2 kB / 0.5048 GB, free: 55.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005845/0.8307, allocations: 4.845 MB / 0.5095 GB, free: 50.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.8308, allocations: 0 / 0.5095 GB, free: 50.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003695/0.8345, allocations: 3.342 MB / 0.5128 GB, free: 46.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003885/0.8384, allocations: 0.9083 MB / 0.5137 GB, free: 45.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0136/0.852, allocations: 10.26 MB / 0.5237 GB, free: 35.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002486/0.8545, allocations: 3.169 MB / 0.5268 GB, free: 32.37 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002164/0.8567, allocations: 0.5752 MB / 0.5273 GB, free: 31.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004663/0.8572, allocations: 167.4 kB / 0.5275 GB, free: 31.62 MB / 382.1 MB Notification: Performance of SimCode: time 1.573e-06/0.8572, allocations: 0 / 0.5275 GB, free: 31.62 MB / 382.1 MB Notification: Performance of Templates: time 0.09461/0.9518, allocations: 59.26 MB / 0.5854 GB, free: 4.273 MB / 414.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.pipe 2>&1)