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.00985/0.00985, allocations: 101.6 kB / 15.73 MB, free: 5.98 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.001659/0.001659, allocations: 194.2 kB / 16.67 MB, free: 5.918 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.784/1.784, allocations: 205.1 MB / 222.6 MB, free: 4.504 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.001242/0.001242, allocations: 50.42 kB / 326.6 MB, free: 14.33 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1381, allocations: 46.63 MB / 373.2 MB, free: 1.293 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01373/0.1519, allocations: 10.65 MB / 383.9 MB, free: 6.59 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008871/0.1608, allocations: 3.268 MB / 387.1 MB, free: 3.312 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003022/0.164, allocations: 71.62 kB / 387.2 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00241/0.1664, allocations: 0.7371 MB / 387.9 MB, free: 2.5 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004259/0.1707, allocations: 1.165 MB / 389.1 MB, free: 1.328 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001609/0.1723, allocations: 499.4 kB / 389.6 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007603/0.1799, allocations: 5.291 MB / 394.9 MB, free: 11.53 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007824/0.1878, allocations: 4.116 MB / 399 MB, free: 7.328 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007031/0.1949, allocations: 2.387 MB / 401.4 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006689/0.2016, allocations: 2.752 MB / 404.1 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003115/0.2048, allocations: 0.6211 MB / 404.7 MB, free: 1.551 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004769/0.2096, allocations: 0.703 MB / 405.4 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004122/0.2137, allocations: 1.632 MB / 407.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009933/0.2237, allocations: 2.766 MB / 409.8 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01443/0.2382, allocations: 8.409 MB / 418.3 MB, free: 4 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.047e-05/0.2383, allocations: 0 / 418.3 MB, free: 4 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.2383, allocations: 0 / 418.3 MB, free: 4 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000374/0.2387, allocations: 0 / 418.3 MB, free: 4 MB / 350.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.01584/0.2545, allocations: 5.068 MB / 423.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.2546, allocations: 16.03 kB / 423.3 MB, free: 14.84 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003177/0.2578, allocations: 0.542 MB / 423.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007415/0.2652, allocations: 2.631 MB / 426.5 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003588/0.2656, allocations: 299.8 kB / 426.8 MB, free: 11.3 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00164/0.2673, allocations: 383.9 kB / 427.2 MB, free: 10.92 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01531/0.2826, allocations: 5.789 MB / 433 MB, free: 5.047 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001408/0.2828, allocations: 7.875 kB / 433 MB, free: 5.039 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001245/0.2841, allocations: 164 kB / 433.1 MB, free: 4.879 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002684/0.2843, allocations: 200 kB / 433.3 MB, free: 4.68 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01082/0.2952, allocations: 5.016 MB / 438.3 MB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2444/0.5396, allocations: 16.19 MB / 454.5 MB, free: 62.99 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007302/0.5469, allocations: 6.807 MB / 461.3 MB, free: 59.51 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004275/0.5512, allocations: 2.622 MB / 464 MB, free: 58.8 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003476/0.5516, allocations: 136.5 kB / 464.1 MB, free: 58.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.973e-05/0.5517, allocations: 62.42 kB / 464.2 MB, free: 58.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=249): time 5.32e-06/0.5517, allocations: 0 / 464.2 MB, free: 58.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=256): time 0.02325/0.5749, allocations: 10.7 MB / 474.9 MB, free: 54.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.797e-05/0.575, allocations: 84.83 kB / 474.9 MB, free: 54.1 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004164/0.5792, allocations: 2.628 MB / 477.6 MB, free: 53.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000373/0.5796, allocations: 72.86 kB / 477.6 MB, free: 53.03 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008513/0.5805, allocations: 1.636 MB / 479.3 MB, free: 51.6 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006623/0.5811, allocations: 0.8448 MB / 480.1 MB, free: 50.87 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005783/0.5817, allocations: 410.5 kB / 480.5 MB, free: 50.64 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.29e-05/0.5818, allocations: 305.1 kB / 480.8 MB, free: 50.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001711/0.5835, allocations: 1.347 MB / 482.2 MB, free: 49.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001718/0.5852, allocations: 1.648 MB / 483.8 MB, free: 48.6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003539/0.5888, allocations: 3.082 MB / 486.9 MB, free: 46.77 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/0.5888, allocations: 3.938 kB / 486.9 MB, free: 46.77 MB / 382.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.006173/0.595, allocations: 4.452 MB / 491.3 MB, free: 42.65 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.415e-05/0.595, allocations: 8 kB / 491.4 MB, free: 42.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.144e-05/0.5951, allocations: 8 kB / 491.4 MB, free: 42.63 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003886/0.599, allocations: 1.53 MB / 492.9 MB, free: 41.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/0.6004, allocations: 393.2 kB / 493.3 MB, free: 40.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01931/0.6197, allocations: 25.73 MB / 0.5068 GB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002933/0.6227, allocations: 95.86 kB / 0.5069 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003432/0.6231, allocations: 76 kB / 0.507 GB, free: 13.46 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.003053/0.6261, allocations: 1.407 MB / 0.5084 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009529/0.6271, allocations: 296.5 kB / 0.5087 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006567/0.6337, allocations: 4.38 MB / 0.5129 GB, free: 7.277 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/0.6337, allocations: 28 kB / 0.513 GB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.607e-05/0.6338, allocations: 11.98 kB / 0.513 GB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.027e-05/0.6338, allocations: 11.95 kB / 0.513 GB, free: 7.227 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0157/0.6495, allocations: 8.766 MB / 0.5216 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/0.6496, allocations: 0 / 0.5216 GB, free: 14.4 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00127/0.6509, allocations: 295.6 kB / 0.5218 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004405/0.6553, allocations: 1.499 MB / 0.5233 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002889/0.6556, allocations: 63.97 kB / 0.5234 GB, free: 12.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02804/0.6836, allocations: 25.49 MB / 0.5483 GB, free: 1.656 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.6837, allocations: 4.031 kB / 0.5483 GB, free: 1.652 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01001/0.6937, allocations: 6.101 MB / 0.5542 GB, free: 11.44 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002018/0.6958, allocations: 0.6694 MB / 0.5549 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004896/0.6963, allocations: 52 kB / 0.5549 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001335/0.6976, allocations: 127.8 kB / 0.555 GB, free: 10.57 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006792/0.6983, allocations: 213.6 kB / 0.5552 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001593/0.6985, allocations: 63.98 kB / 0.5553 GB, free: 10.3 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003202/0.7017, allocations: 1.852 MB / 0.5571 GB, free: 8.438 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.7017, allocations: 0 / 0.5571 GB, free: 8.438 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.004443/0.7061, allocations: 0.952 MB / 0.558 GB, free: 7.488 MB / 430.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.0007701/0.7069, allocations: 247.9 kB / 0.5583 GB, free: 7.246 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.008494/0.7154, allocations: 4.872 MB / 0.563 GB, free: 2.238 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/0.7155, allocations: 4 kB / 0.563 GB, free: 2.234 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005885/0.7214, allocations: 3.36 MB / 0.5663 GB, free: 14.75 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004801/0.7262, allocations: 0.9501 MB / 0.5673 GB, free: 13.79 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01641/0.7426, allocations: 8.424 MB / 0.5755 GB, free: 5.352 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003489/0.7462, allocations: 3.165 MB / 0.5786 GB, free: 2.148 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002261/0.7485, allocations: 0.5674 MB / 0.5791 GB, free: 1.574 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004924/0.749, allocations: 171.4 kB / 0.5793 GB, free: 1.406 MB / 446.1 MB Notification: Performance of SimCode: time 1.583e-06/0.749, allocations: 0 / 0.5793 GB, free: 1.406 MB / 446.1 MB Notification: Performance of Templates: time 0.3842/1.133, allocations: 60.12 MB / 0.638 GB, free: 158.2 MB / 494.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)