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.001419/0.001419, allocations: 108 kB / 17.06 MB, free: 6.117 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.001536/0.001536, allocations: 199.9 kB / 18 MB, free: 5.191 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.825/1.825, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.001397/0.001397, allocations: 52.39 kB / 327.9 MB, free: 3.262 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1226, allocations: 46.62 MB / 374.5 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.3199/0.4425, allocations: 10.64 MB / 385.2 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008834/0.4514, allocations: 3.277 MB / 388.4 MB, free: 5.363 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003485/0.455, allocations: 70.53 kB / 388.5 MB, free: 5.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002817/0.4578, allocations: 0.704 MB / 389.2 MB, free: 4.93 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005625/0.4635, allocations: 1.142 MB / 390.4 MB, free: 4.215 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001994/0.4655, allocations: 499 kB / 390.8 MB, free: 3.906 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008596/0.4741, allocations: 5.282 MB / 396.1 MB, free: 1.262 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005922/0.4801, allocations: 4.115 MB / 400.2 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006391/0.4865, allocations: 2.39 MB / 402.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006944/0.4934, allocations: 2.753 MB / 405.4 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002908/0.4964, allocations: 0.6218 MB / 406 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004449/0.5009, allocations: 0.7019 MB / 406.7 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003343/0.5042, allocations: 1.636 MB / 408.3 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009041/0.5133, allocations: 2.759 MB / 411.1 MB, free: 10.08 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01277/0.5261, allocations: 8.411 MB / 419.5 MB, free: 2.488 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.5261, allocations: 8 kB / 419.5 MB, free: 2.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.5261, allocations: 0 / 419.5 MB, free: 2.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000325/0.5265, allocations: 0 / 419.5 MB, free: 2.48 MB / 334.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.01495/0.5414, allocations: 5.076 MB / 424.6 MB, free: 13.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.5415, allocations: 8.031 kB / 424.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001463/0.543, allocations: 0.5498 MB / 425.2 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0062/0.5492, allocations: 2.619 MB / 427.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002476/0.5495, allocations: 297 kB / 428.1 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008594/0.5503, allocations: 383.9 kB / 428.4 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01227/0.5626, allocations: 5.789 MB / 434.2 MB, free: 3.535 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.808e-05/0.5627, allocations: 7.938 kB / 434.2 MB, free: 3.527 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004324/0.5632, allocations: 160 kB / 434.4 MB, free: 3.371 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002247/0.5634, allocations: 208 kB / 434.6 MB, free: 3.164 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009371/0.5728, allocations: 5.012 MB / 439.6 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0348/0.6076, allocations: 16.2 MB / 455.8 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007678/0.6153, allocations: 6.801 MB / 462.6 MB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004059/0.6194, allocations: 2.619 MB / 465.2 MB, free: 3.684 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003581/0.6198, allocations: 139 kB / 465.4 MB, free: 3.531 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.193e-05/0.6199, allocations: 64.56 kB / 465.4 MB, free: 3.457 MB / 382.1 MB Notification: Performance of pre-optimization done (n=249): time 5.22e-06/0.6199, allocations: 3.938 kB / 465.4 MB, free: 3.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=256): time 0.02278/0.6427, allocations: 10.7 MB / 476.1 MB, free: 8.5 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.296e-05/0.6428, allocations: 77.42 kB / 476.2 MB, free: 8.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005462/0.6483, allocations: 2.636 MB / 478.8 MB, free: 5.754 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005237/0.6488, allocations: 69.7 kB / 478.9 MB, free: 5.68 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001565/0.6504, allocations: 1.636 MB / 480.5 MB, free: 4.023 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001364/0.6518, allocations: 0.8432 MB / 481.4 MB, free: 3.168 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001348/0.6531, allocations: 416.5 kB / 481.8 MB, free: 2.754 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.6533, allocations: 309.1 kB / 482.1 MB, free: 2.449 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002612/0.6559, allocations: 1.34 MB / 483.4 MB, free: 1.105 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002913/0.6588, allocations: 1.647 MB / 485.1 MB, free: 15.36 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005396/0.6642, allocations: 3.087 MB / 488.2 MB, free: 12.15 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.302e-05/0.6643, allocations: 0 / 488.2 MB, free: 12.15 MB / 414.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.01064/0.6749, allocations: 4.441 MB / 492.6 MB, free: 7.629 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.849e-05/0.675, allocations: 12.06 kB / 492.6 MB, free: 7.617 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.746e-05/0.6751, allocations: 8 kB / 492.6 MB, free: 7.609 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005539/0.6806, allocations: 1.538 MB / 494.2 MB, free: 6.039 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001773/0.6824, allocations: 387.5 kB / 494.5 MB, free: 5.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03054/0.713, allocations: 25.73 MB / 0.5081 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00339/0.7165, allocations: 99.77 kB / 0.5082 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003476/0.7168, allocations: 76 kB / 0.5082 GB, free: 10.37 MB / 446.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.003343/0.7202, allocations: 1.411 MB / 0.5096 GB, free: 8.949 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008828/0.7211, allocations: 288.6 kB / 0.5099 GB, free: 8.664 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007672/0.7287, allocations: 4.383 MB / 0.5142 GB, free: 4.188 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-05/0.7288, allocations: 27.94 kB / 0.5142 GB, free: 4.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.343e-05/0.7288, allocations: 15.94 kB / 0.5142 GB, free: 4.145 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/0.7289, allocations: 11.95 kB / 0.5142 GB, free: 4.133 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0197/0.7486, allocations: 8.761 MB / 0.5228 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/0.7486, allocations: 0 / 0.5228 GB, free: 11.27 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001239/0.7499, allocations: 295.6 kB / 0.5231 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004693/0.7546, allocations: 1.507 MB / 0.5245 GB, free: 9.438 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002721/0.7549, allocations: 59.98 kB / 0.5246 GB, free: 9.379 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3705/1.125, allocations: 25.48 MB / 0.5495 GB, free: 143.6 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/1.125, allocations: 1.344 kB / 0.5495 GB, free: 143.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01597/1.141, allocations: 6.093 MB / 0.5554 GB, free: 143.2 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003569/1.145, allocations: 0.6717 MB / 0.5561 GB, free: 143.1 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001497/1.147, allocations: 56.52 kB / 0.5561 GB, free: 143.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002975/1.15, allocations: 124 kB / 0.5563 GB, free: 143.1 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00101/1.151, allocations: 216.6 kB / 0.5565 GB, free: 143.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002318/1.151, allocations: 65.27 kB / 0.5565 GB, free: 143.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004496/1.155, allocations: 1.85 MB / 0.5583 GB, free: 142.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.1e-07/1.155, allocations: 0 / 0.5583 GB, free: 142.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006507/1.162, allocations: 0.9603 MB / 0.5593 GB, free: 142.6 MB / 478.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.0007751/1.163, allocations: 235.7 kB / 0.5595 GB, free: 142.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008225/1.171, allocations: 4.868 MB / 0.5643 GB, free: 140 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/1.171, allocations: 1.344 kB / 0.5643 GB, free: 140 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005321/1.176, allocations: 3.372 MB / 0.5676 GB, free: 138.1 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00571/1.182, allocations: 0.957 MB / 0.5685 GB, free: 137.8 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01574/1.198, allocations: 8.423 MB / 0.5767 GB, free: 134.2 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002833/1.201, allocations: 3.169 MB / 0.5798 GB, free: 132.9 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002508/1.203, allocations: 0.5704 MB / 0.5804 GB, free: 132.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000539/1.204, allocations: 170.4 kB / 0.5805 GB, free: 132.8 MB / 478.1 MB Notification: Performance of SimCode: time 1.834e-06/1.204, allocations: 0 / 0.5805 GB, free: 132.8 MB / 478.1 MB Notification: Performance of Templates: time 0.08828/1.292, allocations: 61.14 MB / 0.6402 GB, free: 76.09 MB / 478.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)