Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse") translateModel(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_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.001105/0.001105, allocations: 98.03 kB / 15.36 MB, free: 0.7305 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.001288/0.001288, allocations: 171.5 kB / 16.26 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.008/2.008, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.0004972/0.0004972, allocations: 12.33 kB / 279.4 MB, free: 12.51 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3194/0.3199, allocations: 47.59 MB / 327 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.007338/0.3273, allocations: 6.329 MB / 333.4 MB, free: 12.39 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.005905/0.3332, allocations: 2.284 MB / 335.6 MB, free: 10.5 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001293/0.3345, allocations: 35.78 kB / 335.7 MB, free: 10.49 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001207/0.3357, allocations: 383.6 kB / 336.1 MB, free: 10.2 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002205/0.338, allocations: 0.6271 MB / 336.7 MB, free: 9.684 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007118/0.3387, allocations: 243.8 kB / 336.9 MB, free: 9.445 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004206/0.3429, allocations: 3.288 MB / 340.2 MB, free: 6.141 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002562/0.3455, allocations: 2.023 MB / 342.2 MB, free: 4.059 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002839/0.3483, allocations: 0.9853 MB / 343.2 MB, free: 3.074 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001892/0.3502, allocations: 1.295 MB / 344.5 MB, free: 1.773 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002413/0.3505, allocations: 156 kB / 344.7 MB, free: 1.621 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006359/0.3511, allocations: 255.8 kB / 344.9 MB, free: 1.371 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006813/0.3518, allocations: 0.6578 MB / 345.6 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001443/0.3533, allocations: 1.296 MB / 346.9 MB, free: 15.4 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003946/0.3572, allocations: 4.313 MB / 351.2 MB, free: 11.07 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.3572, allocations: 4 kB / 351.2 MB, free: 11.07 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.3573, allocations: 3.938 kB / 351.2 MB, free: 11.07 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.383e-05/0.3573, allocations: 0 / 351.2 MB, free: 11.07 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.00489/0.3622, allocations: 2.504 MB / 353.7 MB, free: 8.5 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.3623, allocations: 8.031 kB / 353.7 MB, free: 8.492 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007404/0.363, allocations: 313.7 kB / 354 MB, free: 8.184 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002239/0.3653, allocations: 1.503 MB / 355.5 MB, free: 6.621 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001132/0.3654, allocations: 160.4 kB / 355.7 MB, free: 6.461 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003226/0.3657, allocations: 223.9 kB / 355.9 MB, free: 6.242 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005119/0.3709, allocations: 3.174 MB / 359.1 MB, free: 2.98 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.108e-05/0.3709, allocations: 3.938 kB / 359.1 MB, free: 2.977 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002075/0.3711, allocations: 99.97 kB / 359.2 MB, free: 2.879 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001196/0.3713, allocations: 104.5 kB / 359.3 MB, free: 2.773 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004421/0.3757, allocations: 2.734 MB / 362 MB, free: 24 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01382/0.3895, allocations: 8.966 MB / 371 MB, free: 6.883 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004084/0.3937, allocations: 3.386 MB / 374.4 MB, free: 3.184 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002119/0.3958, allocations: 1.339 MB / 375.7 MB, free: 1.852 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002593/0.3961, allocations: 126.4 kB / 375.8 MB, free: 1.711 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.958e-05/0.3961, allocations: 47.81 kB / 375.9 MB, free: 1.656 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 3.337e-06/0.3962, allocations: 0 / 375.9 MB, free: 1.656 MB / 302.1 MB Notification: Performance of matching and sorting (n=132): time 0.01138/0.4075, allocations: 5.687 MB / 381.5 MB, free: 11.84 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.977e-05/0.4076, allocations: 68.72 kB / 381.6 MB, free: 11.75 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002368/0.41, allocations: 1.49 MB / 383.1 MB, free: 10.25 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.137e-05/0.4101, allocations: 49.7 kB / 383.2 MB, free: 10.19 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000748/0.4109, allocations: 0.9409 MB / 384.1 MB, free: 9.238 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003843/0.4113, allocations: 445.6 kB / 384.5 MB, free: 8.797 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001724/0.4114, allocations: 105.7 kB / 384.6 MB, free: 8.688 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001892/0.4116, allocations: 357.9 kB / 385 MB, free: 8.332 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001136/0.4128, allocations: 0.6974 MB / 385.7 MB, free: 7.637 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001393/0.4142, allocations: 0.8754 MB / 386.6 MB, free: 6.711 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002596/0.4168, allocations: 1.621 MB / 388.2 MB, free: 5.039 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/0.4168, allocations: 4 kB / 388.2 MB, free: 5.035 MB / 318.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004004/0.4208, allocations: 2.329 MB / 390.5 MB, free: 2.684 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.257e-05/0.4209, allocations: 8 kB / 390.5 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.483e-05/0.4209, allocations: 8.031 kB / 390.5 MB, free: 2.668 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002761/0.4237, allocations: 0.815 MB / 391.3 MB, free: 1.84 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007719/0.4245, allocations: 211.7 kB / 391.5 MB, free: 1.633 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01173/0.4362, allocations: 10.54 MB / 402.1 MB, free: 6.547 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/0.4376, allocations: 47.97 kB / 402.1 MB, free: 6.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.398e-05/0.4377, allocations: 52.05 kB / 402.2 MB, free: 6.449 MB / 334.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.00163/0.4393, allocations: 0.8174 MB / 403 MB, free: 5.621 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003526/0.4396, allocations: 158.1 kB / 403.2 MB, free: 5.465 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003835/0.4435, allocations: 2.285 MB / 405.4 MB, free: 3.156 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/0.4435, allocations: 12 kB / 405.5 MB, free: 3.145 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.4435, allocations: 7.938 kB / 405.5 MB, free: 3.137 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/0.4436, allocations: 11.97 kB / 405.5 MB, free: 3.125 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007605/0.4512, allocations: 4.761 MB / 410.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.331e-06/0.4512, allocations: 7.875 kB / 410.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006631/0.4519, allocations: 155.8 kB / 410.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002586/0.4545, allocations: 0.8152 MB / 411.2 MB, free: 13.28 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.63e-05/0.4546, allocations: 32.27 kB / 411.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01114/0.4658, allocations: 10.42 MB / 421.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.4658, allocations: 0 / 421.7 MB, free: 2.289 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005229/0.471, allocations: 3.253 MB / 424.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/0.4721, allocations: 407.1 kB / 425.3 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002114/0.4724, allocations: 32.08 kB / 425.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007934/0.4732, allocations: 79.88 kB / 425.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003812/0.4736, allocations: 113.1 kB / 425.5 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.408e-05/0.4737, allocations: 39.94 kB / 425.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001666/0.4753, allocations: 1.06 MB / 426.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4753, allocations: 0 / 426.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001974/0.4773, allocations: 0.5156 MB / 427.1 MB, free: 12.73 MB / 366.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.0005779/0.4779, allocations: 195.7 kB / 427.3 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003904/0.4818, allocations: 2.416 MB / 429.8 MB, free: 10.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.4819, allocations: 4 kB / 429.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002792/0.4847, allocations: 1.637 MB / 431.4 MB, free: 8.375 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002832/0.4875, allocations: 484.3 kB / 431.9 MB, free: 7.902 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009558/0.4971, allocations: 5.683 MB / 437.5 MB, free: 2.172 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002019/0.4991, allocations: 2.043 MB / 439.6 MB, free: 92 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00137/0.5005, allocations: 317.5 kB / 439.9 MB, free: 15.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002847/0.5008, allocations: 95.42 kB / 440 MB, free: 15.68 MB / 382.1 MB Notification: Performance of SimCode: time 2.023e-06/0.5008, allocations: 0 / 440 MB, free: 15.68 MB / 382.1 MB Notification: Performance of Templates: time 0.3018/0.8027, allocations: 30.55 MB / 470.5 MB, free: 103.4 MB / 382.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile (rm -f Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1)