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.001535/0.001535, allocations: 98.53 kB / 15.05 MB, free: 1.105 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.001989/0.001989, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.666/1.666, allocations: 205.4 MB / 222.1 MB, free: 5.535 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.0004904/0.0004907, allocations: 8 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2785, allocations: 47.58 MB / 326.4 MB, free: 1.418 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01084/0.2895, allocations: 8.583 MB / 335 MB, free: 10.8 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.008328/0.2978, allocations: 3.265 MB / 338.3 MB, free: 7.609 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003696/0.3016, allocations: 63.62 kB / 338.4 MB, free: 7.547 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002677/0.3043, allocations: 0.575 MB / 338.9 MB, free: 6.969 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005555/0.3099, allocations: 0.9464 MB / 339.9 MB, free: 6.02 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001517/0.3114, allocations: 299.7 kB / 340.2 MB, free: 5.727 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.007678/0.3191, allocations: 3.322 MB / 343.5 MB, free: 2.395 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005371/0.3246, allocations: 2.882 MB / 346.4 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0038/0.3284, allocations: 1.604 MB / 348 MB, free: 13.86 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004926/0.3333, allocations: 1.949 MB / 349.9 MB, free: 11.9 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001709/0.3351, allocations: 276 kB / 350.2 MB, free: 11.63 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002533/0.3377, allocations: 339.9 kB / 350.5 MB, free: 11.3 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002871/0.3406, allocations: 1.149 MB / 351.7 MB, free: 10.14 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003073/0.3437, allocations: 0.9408 MB / 352.6 MB, free: 9.195 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01012/0.3538, allocations: 6.802 MB / 359.4 MB, free: 2.375 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.3539, allocations: 0 / 359.4 MB, free: 2.375 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.216e-06/0.3539, allocations: 0 / 359.4 MB, free: 2.375 MB / 286.1 MB Notification: Performance of Transformations before backend: time 0.0003243/0.3542, allocations: 0 / 359.4 MB, free: 2.375 MB / 286.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.01516/0.3694, allocations: 4.296 MB / 363.7 MB, free: 14.01 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.3695, allocations: 8.031 kB / 363.7 MB, free: 14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003391/0.3729, allocations: 0.5411 MB / 364.3 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009259/0.3822, allocations: 2.526 MB / 366.8 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006231/0.3829, allocations: 291.8 kB / 367.1 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002467/0.3854, allocations: 384 kB / 367.5 MB, free: 10.19 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01943/0.4049, allocations: 5.731 MB / 373.2 MB, free: 4.375 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001525/0.4051, allocations: 0 / 373.2 MB, free: 4.375 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001156/0.4062, allocations: 164 kB / 373.3 MB, free: 4.215 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002632/0.4065, allocations: 204 kB / 373.5 MB, free: 4.012 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01096/0.4175, allocations: 4.997 MB / 378.5 MB, free: 15 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03283/0.4504, allocations: 16.51 MB / 395.1 MB, free: 14.22 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007964/0.4584, allocations: 6.797 MB / 401.9 MB, free: 6.863 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003908/0.4588, allocations: 147 kB / 402 MB, free: 6.703 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.344e-05/0.4589, allocations: 60.56 kB / 402.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of pre-optimization done (n=249): time 4.648e-06/0.4589, allocations: 0 / 402.1 MB, free: 6.637 MB / 334.1 MB Notification: Performance of matching and sorting (n=256): time 0.0214/0.4803, allocations: 10.78 MB / 412.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/0.4804, allocations: 77.42 kB / 412.9 MB, free: 11.51 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004598/0.485, allocations: 2.624 MB / 415.5 MB, free: 8.863 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003369/0.4853, allocations: 73.64 kB / 415.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001248/0.4866, allocations: 1.636 MB / 417.2 MB, free: 7.133 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008316/0.4875, allocations: 0.8394 MB / 418.1 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002002/0.4877, allocations: 52 kB / 418.1 MB, free: 6.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000201/0.4879, allocations: 402.7 kB / 418.5 MB, free: 5.832 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0021/0.49, allocations: 1.355 MB / 419.9 MB, free: 4.473 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002276/0.4923, allocations: 1.651 MB / 421.5 MB, free: 2.727 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002366/0.4947, allocations: 1.597 MB / 423.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-05/0.4947, allocations: 4 kB / 423.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.007241/0.5019, allocations: 4.48 MB / 427.6 MB, free: 12.54 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.962e-05/0.502, allocations: 8 kB / 427.6 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.921e-05/0.502, allocations: 8 kB / 427.6 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005246/0.5073, allocations: 1.655 MB / 429.3 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001677/0.509, allocations: 391.4 kB / 429.7 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02528/0.5343, allocations: 23.88 MB / 453.6 MB, free: 1.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002181/0.5365, allocations: 100 kB / 453.7 MB, free: 1.129 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003967/0.5369, allocations: 79.92 kB / 453.7 MB, free: 1.051 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 (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 initialization (198): * Single equations (assignments): 188 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9,(2,100.0%) 29} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.2096/0.7465, allocations: 1.395 MB / 455.1 MB, free: 106.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001359/0.7479, allocations: 293.6 kB / 455.4 MB, free: 106.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008522/0.7564, allocations: 4.415 MB / 459.8 MB, free: 106.4 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.571e-05/0.7565, allocations: 24.03 kB / 459.8 MB, free: 106.4 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-05/0.7565, allocations: 15.47 kB / 459.9 MB, free: 106.4 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.032e-05/0.7565, allocations: 16.47 kB / 459.9 MB, free: 106.4 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01293/0.7694, allocations: 8.92 MB / 468.8 MB, free: 103 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/0.7695, allocations: 1.312 kB / 468.8 MB, free: 103 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001172/0.7707, allocations: 291.8 kB / 469.1 MB, free: 103 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004634/0.7753, allocations: 1.617 MB / 470.7 MB, free: 102.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001722/0.7755, allocations: 58.58 kB / 470.8 MB, free: 102.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01888/0.7944, allocations: 23.65 MB / 494.4 MB, free: 77.55 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.7944, allocations: 0 / 494.4 MB, free: 77.55 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007745/0.8022, allocations: 6.19 MB / 0.4889 GB, free: 71.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001675/0.8039, allocations: 0.6844 MB / 0.4895 GB, free: 70.72 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004521/0.8044, allocations: 59.98 kB / 0.4896 GB, free: 70.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/0.8057, allocations: 131.9 kB / 0.4897 GB, free: 70.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000453/0.8061, allocations: 214.7 kB / 0.4899 GB, free: 70.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/0.8063, allocations: 67.98 kB / 0.49 GB, free: 70.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.002151/0.8084, allocations: 1.833 MB / 0.4918 GB, free: 68.42 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.8084, allocations: 0 / 0.4918 GB, free: 68.42 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003348/0.8118, allocations: 0.9548 MB / 0.4927 GB, free: 67.46 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 (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 29,(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005004/0.8123, allocations: 210.1 kB / 0.4929 GB, free: 67.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005808/0.8181, allocations: 4.886 MB / 0.4977 GB, free: 62.23 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.8182, allocations: 0 / 0.4977 GB, free: 62.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003886/0.8221, allocations: 3.382 MB / 0.501 GB, free: 58.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003706/0.8258, allocations: 0.8842 MB / 0.5018 GB, free: 57.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01624/0.8421, allocations: 9.938 MB / 0.5116 GB, free: 47.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004181/0.8463, allocations: 3.243 MB / 0.5147 GB, free: 44.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00269/0.849, allocations: 0.5713 MB / 0.5153 GB, free: 44.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008995/0.8499, allocations: 167.4 kB / 0.5154 GB, free: 43.87 MB / 382.1 MB Notification: Performance of SimCode: time 1.783e-06/0.85, allocations: 0 / 0.5154 GB, free: 43.87 MB / 382.1 MB Notification: Performance of Templates: time 0.08888/0.9389, allocations: 56.86 MB / 0.571 GB, free: 2.926 MB / 398.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: