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.01215/0.01215, allocations: 95.16 kB / 15.73 MB, free: 6.043 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.002419/0.00242, allocations: 193.2 kB / 16.67 MB, free: 5.969 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.811/1.811, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.001437/0.001438, allocations: 57.52 kB / 326.6 MB, free: 14.39 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1167, allocations: 46.62 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse): time 0.01406/0.1308, allocations: 10.64 MB / 383.8 MB, free: 6.605 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007575/0.1384, allocations: 3.272 MB / 387.1 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002244/0.1407, allocations: 71.62 kB / 387.2 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002363/0.1431, allocations: 0.7137 MB / 387.9 MB, free: 2.535 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003821/0.147, allocations: 1.134 MB / 389 MB, free: 1.395 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.1484, allocations: 0.4916 MB / 389.5 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.006401/0.1548, allocations: 5.28 MB / 394.8 MB, free: 11.6 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005623/0.1605, allocations: 4.12 MB / 398.9 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004664/0.1652, allocations: 2.367 MB / 401.3 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004822/0.17, allocations: 2.752 MB / 404 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001908/0.1719, allocations: 0.6211 MB / 404.7 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002894/0.1748, allocations: 0.7069 MB / 405.4 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00243/0.1773, allocations: 1.636 MB / 407 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004767/0.1821, allocations: 2.77 MB / 409.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01082/0.1929, allocations: 8.421 MB / 418.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.257e-06/0.1929, allocations: 0 / 418.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.193, allocations: 0 / 418.2 MB, free: 4.062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0003232/0.1933, allocations: 0 / 418.2 MB, free: 4.062 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.01411/0.2074, allocations: 5.203 MB / 423.4 MB, free: 14.78 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.2075, allocations: 8.031 kB / 423.4 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001668/0.2091, allocations: 0.5758 MB / 424 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004787/0.214, allocations: 2.644 MB / 426.6 MB, free: 11.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002156/0.2142, allocations: 291.8 kB / 426.9 MB, free: 11.19 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006737/0.2149, allocations: 387.9 kB / 427.3 MB, free: 10.81 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01111/0.226, allocations: 5.789 MB / 433.1 MB, free: 4.938 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.132e-05/0.2261, allocations: 7.875 kB / 433.1 MB, free: 4.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004026/0.2265, allocations: 164 kB / 433.3 MB, free: 4.77 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002229/0.2268, allocations: 208 kB / 433.5 MB, free: 4.562 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009369/0.2361, allocations: 5.012 MB / 438.5 MB, free: 15.53 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3406/0.5768, allocations: 16.22 MB / 454.7 MB, free: 62.95 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01047/0.5874, allocations: 6.81 MB / 461.5 MB, free: 59.47 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005479/0.5929, allocations: 2.619 MB / 464.1 MB, free: 58.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004199/0.5934, allocations: 134.9 kB / 464.3 MB, free: 58.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.073e-05/0.5934, allocations: 65.64 kB / 464.3 MB, free: 58.55 MB / 382.1 MB Notification: Performance of pre-optimization done (n=249): time 5.6e-06/0.5935, allocations: 1.469 kB / 464.3 MB, free: 58.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=256): time 0.02396/0.6174, allocations: 10.75 MB / 475.1 MB, free: 54.13 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.003e-05/0.6176, allocations: 84.7 kB / 475.2 MB, free: 54.06 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004787/0.6224, allocations: 2.637 MB / 477.8 MB, free: 53.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004239/0.6228, allocations: 64.95 kB / 477.9 MB, free: 52.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001208/0.624, allocations: 1.679 MB / 479.5 MB, free: 51.71 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008849/0.6249, allocations: 0.8777 MB / 480.4 MB, free: 51.06 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006532/0.6256, allocations: 411.2 kB / 480.8 MB, free: 50.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.057e-05/0.6257, allocations: 310.3 kB / 481.1 MB, free: 50.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002106/0.6278, allocations: 1.344 MB / 482.5 MB, free: 49.82 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001927/0.6297, allocations: 1.643 MB / 484.1 MB, free: 48.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003634/0.6334, allocations: 3.089 MB / 487.2 MB, free: 46.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/0.6334, allocations: 3.438 kB / 487.2 MB, free: 46.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=303) (initialization): time 0.006732/0.6401, allocations: 4.463 MB / 491.7 MB, free: 42.64 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.398e-05/0.6402, allocations: 8 kB / 491.7 MB, free: 42.63 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.875e-05/0.6402, allocations: 8 kB / 491.7 MB, free: 42.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003994/0.6442, allocations: 1.539 MB / 493.2 MB, free: 41.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/0.6456, allocations: 391.5 kB / 493.6 MB, free: 40.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01933/0.665, allocations: 25.75 MB / 0.5072 GB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002627/0.6677, allocations: 102 kB / 0.5073 GB, free: 13.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002071/0.6679, allocations: 72 kB / 0.5073 GB, free: 13.42 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.002679/0.6706, allocations: 1.403 MB / 0.5087 GB, free: 12.01 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008109/0.6714, allocations: 310.1 kB / 0.509 GB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006307/0.6777, allocations: 4.383 MB / 0.5133 GB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.555e-05/0.6777, allocations: 24 kB / 0.5133 GB, free: 7.207 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.131e-05/0.6778, allocations: 8 kB / 0.5133 GB, free: 7.199 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.825e-05/0.6778, allocations: 11.95 kB / 0.5133 GB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01382/0.6916, allocations: 8.775 MB / 0.5219 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.6917, allocations: 0 / 0.5219 GB, free: 14.36 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001213/0.6929, allocations: 291.6 kB / 0.5222 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004522/0.6974, allocations: 1.507 MB / 0.5236 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002526/0.6977, allocations: 57.36 kB / 0.5237 GB, free: 12.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02817/0.7259, allocations: 25.52 MB / 0.5486 GB, free: 1.598 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.7259, allocations: 0 / 0.5486 GB, free: 1.598 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01054/0.7365, allocations: 6.117 MB / 0.5546 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002553/0.7391, allocations: 0.6865 MB / 0.5553 GB, free: 10.67 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006395/0.7397, allocations: 59.98 kB / 0.5553 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001452/0.7412, allocations: 119.9 kB / 0.5554 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006904/0.7419, allocations: 213.6 kB / 0.5556 GB, free: 10.28 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001566/0.7421, allocations: 68.05 kB / 0.5557 GB, free: 10.21 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.003128/0.7452, allocations: 1.852 MB / 0.5575 GB, free: 8.352 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7452, allocations: 0 / 0.5575 GB, free: 8.352 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.005088/0.7503, allocations: 0.9572 MB / 0.5585 GB, free: 7.398 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.001035/0.7514, allocations: 238.9 kB / 0.5587 GB, free: 7.164 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.009521/0.7609, allocations: 4.888 MB / 0.5635 GB, free: 2.137 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.331e-05/0.761, allocations: 0 / 0.5635 GB, free: 2.137 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006171/0.7672, allocations: 3.371 MB / 0.5667 GB, free: 14.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007171/0.7744, allocations: 0.9573 MB / 0.5677 GB, free: 13.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02019/0.7946, allocations: 8.532 MB / 0.576 GB, free: 5.129 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00365/0.7983, allocations: 3.173 MB / 0.5791 GB, free: 1.918 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002318/0.8007, allocations: 0.5713 MB / 0.5797 GB, free: 1.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004957/0.8012, allocations: 171.4 kB / 0.5798 GB, free: 1.172 MB / 446.1 MB Notification: Performance of SimCode: time 1.964e-06/0.8012, allocations: 0 / 0.5798 GB, free: 1.172 MB / 446.1 MB Notification: Performance of Templates: time 0.3587/1.16, allocations: 60.11 MB / 0.6385 GB, free: 158.3 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)