Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.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.Rectifier6pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001648/0.001648, allocations: 102 kB / 16.5 MB, free: 6.688 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.001765/0.001766, allocations: 193.9 kB / 17.42 MB, free: 6.09 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.789/1.789, allocations: 205.1 MB / 223.3 MB, free: 12.41 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.001403/0.001403, allocations: 44.22 kB / 279.3 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1043, allocations: 46.64 MB / 326 MB, free: 4.867 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.008895/0.1133, allocations: 6.785 MB / 332.8 MB, free: 14.04 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005408/0.1187, allocations: 2.319 MB / 335.1 MB, free: 11.71 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001309/0.1201, allocations: 35.81 kB / 335.1 MB, free: 11.68 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001605/0.1217, allocations: 389.8 kB / 335.5 MB, free: 11.29 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002371/0.1241, allocations: 0.6179 MB / 336.1 MB, free: 10.67 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008258/0.125, allocations: 247.8 kB / 336.4 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.003717/0.1287, allocations: 3.292 MB / 339.6 MB, free: 7.125 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002397/0.1311, allocations: 2.039 MB / 341.7 MB, free: 5.027 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002666/0.1338, allocations: 1.108 MB / 342.8 MB, free: 3.926 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00188/0.1357, allocations: 1.467 MB / 344.3 MB, free: 2.453 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003258/0.136, allocations: 212 kB / 344.5 MB, free: 2.246 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007179/0.1368, allocations: 311.8 kB / 344.8 MB, free: 1.941 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006583/0.1374, allocations: 0.7515 MB / 345.5 MB, free: 1.188 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00172/0.1392, allocations: 1.376 MB / 346.9 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004411/0.1436, allocations: 4.447 MB / 351.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.1436, allocations: 0 / 351.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.302e-06/0.1436, allocations: 4 kB / 351.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001049/0.1437, allocations: 0 / 351.3 MB, free: 11.34 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.005567/0.1493, allocations: 2.952 MB / 354.3 MB, free: 8.324 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.1494, allocations: 12.03 kB / 354.3 MB, free: 8.312 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007178/0.1501, allocations: 309.6 kB / 354.6 MB, free: 8.008 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002264/0.1524, allocations: 1.507 MB / 356.1 MB, free: 6.441 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.1525, allocations: 164.4 kB / 356.3 MB, free: 6.277 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002977/0.1528, allocations: 212 kB / 356.5 MB, free: 6.07 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005172/0.158, allocations: 3.178 MB / 359.7 MB, free: 2.805 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.597e-05/0.158, allocations: 0 / 359.7 MB, free: 2.805 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002103/0.1583, allocations: 88 kB / 359.8 MB, free: 2.719 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001079/0.1584, allocations: 112.4 kB / 359.9 MB, free: 2.605 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004418/0.1628, allocations: 2.727 MB / 362.6 MB, free: 15.86 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01424/0.177, allocations: 8.896 MB / 371.5 MB, free: 6.789 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003741/0.1808, allocations: 3.386 MB / 374.9 MB, free: 3.09 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002002/0.1829, allocations: 1.323 MB / 376.2 MB, free: 1.773 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002919/0.1832, allocations: 126.4 kB / 376.3 MB, free: 1.633 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.487e-05/0.1833, allocations: 51.81 kB / 376.4 MB, free: 1.574 MB / 318.1 MB Notification: Performance of pre-optimization done (n=128): time 3.566e-06/0.1833, allocations: 0 / 376.4 MB, free: 1.574 MB / 318.1 MB Notification: Performance of matching and sorting (n=132): time 0.2252/0.4085, allocations: 5.631 MB / 382 MB, free: 50.46 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.169e-05/0.4086, allocations: 68.27 kB / 382.1 MB, free: 50.4 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003053/0.4117, allocations: 1.49 MB / 383.6 MB, free: 49.83 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001323/0.4118, allocations: 47.7 kB / 383.6 MB, free: 49.79 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007903/0.4126, allocations: 0.9415 MB / 384.5 MB, free: 49.07 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000407/0.4131, allocations: 441.6 kB / 385 MB, free: 48.73 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003961/0.4135, allocations: 223.2 kB / 385.2 MB, free: 48.62 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.4136, allocations: 356 kB / 385.5 MB, free: 48.3 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001293/0.4149, allocations: 0.6925 MB / 386.2 MB, free: 48.05 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001457/0.4164, allocations: 0.8654 MB / 387.1 MB, free: 47.64 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002493/0.4189, allocations: 1.616 MB / 388.7 MB, free: 46.9 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.4189, allocations: 5.25 kB / 388.7 MB, free: 46.89 MB / 318.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004154/0.4231, allocations: 2.307 MB / 391 MB, free: 45.97 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.4231, allocations: 11.77 kB / 391 MB, free: 45.97 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.4231, allocations: 3.969 kB / 391 MB, free: 45.97 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002578/0.4257, allocations: 0.8197 MB / 391.9 MB, free: 45.74 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007231/0.4265, allocations: 207.6 kB / 392.1 MB, free: 45.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009087/0.4356, allocations: 10.51 MB / 402.6 MB, free: 37.53 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001066/0.4367, allocations: 58.17 kB / 402.6 MB, free: 37.49 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.6e-05/0.4367, allocations: 41.44 kB / 402.7 MB, free: 37.48 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 6 (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 (104): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001127/0.4379, allocations: 0.8161 MB / 403.5 MB, free: 36.93 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002515/0.4381, allocations: 159.3 kB / 403.6 MB, free: 36.86 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002958/0.4411, allocations: 2.269 MB / 405.9 MB, free: 35.34 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.4411, allocations: 15.94 kB / 405.9 MB, free: 35.32 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.4411, allocations: 4.938 kB / 405.9 MB, free: 35.32 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.4412, allocations: 11.69 kB / 405.9 MB, free: 35.31 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006142/0.4473, allocations: 4.745 MB / 410.7 MB, free: 30.49 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.4473, allocations: 5.344 kB / 410.7 MB, free: 30.49 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006007/0.4479, allocations: 155.8 kB / 410.8 MB, free: 30.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002294/0.4503, allocations: 0.8148 MB / 411.7 MB, free: 29.52 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-05/0.4503, allocations: 31.98 kB / 411.7 MB, free: 29.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008412/0.4588, allocations: 10.4 MB / 422.1 MB, free: 18.56 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.4588, allocations: 0 / 422.1 MB, free: 18.56 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004086/0.4629, allocations: 3.238 MB / 425.3 MB, free: 15.28 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007665/0.4637, allocations: 403.1 kB / 425.7 MB, free: 14.87 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001885/0.4639, allocations: 28.88 kB / 425.8 MB, free: 14.84 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007159/0.4646, allocations: 67.94 kB / 425.8 MB, free: 14.77 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002721/0.4649, allocations: 117.1 kB / 425.9 MB, free: 14.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.218e-05/0.465, allocations: 35.98 kB / 426 MB, free: 14.62 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001216/0.4662, allocations: 1.06 MB / 427 MB, free: 13.56 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4662, allocations: 3.938 kB / 427 MB, free: 13.56 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001801/0.468, allocations: 0.5143 MB / 427.5 MB, free: 13.05 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i) * Number of discrete variables: 6 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,29,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004769/0.4685, allocations: 207.8 kB / 427.7 MB, free: 12.85 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002993/0.4715, allocations: 2.386 MB / 430.1 MB, free: 10.41 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.4715, allocations: 3.938 kB / 430.1 MB, free: 10.41 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001793/0.4733, allocations: 1.628 MB / 431.8 MB, free: 8.734 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002/0.4753, allocations: 497.6 kB / 432.3 MB, free: 8.254 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007525/0.4829, allocations: 5.598 MB / 437.9 MB, free: 2.633 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00135/0.4842, allocations: 2.047 MB / 439.9 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0009442/0.4852, allocations: 313.5 kB / 440.2 MB, free: 244 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000231/0.4854, allocations: 91.44 kB / 440.3 MB, free: 152 kB / 318.1 MB Notification: Performance of SimCode: time 1.002e-06/0.4854, allocations: 3.938 kB / 440.3 MB, free: 148 kB / 318.1 MB Notification: Performance of Templates: time 0.04993/0.5354, allocations: 31.05 MB / 471.3 MB, free: 1.055 MB / 350.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1)