Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.00138/0.001381, allocations: 99.86 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.001618/0.001618, 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.745/1.745, allocations: 205.4 MB / 222.1 MB, free: 5.496 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.0004367/0.0004368, allocations: 12 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2891, allocations: 47.56 MB / 326.4 MB, free: 1.441 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse): time 0.006544/0.2957, allocations: 5.524 MB / 332 MB, free: 13.18 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.006344/0.302, allocations: 2.277 MB / 334.2 MB, free: 11.32 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001312/0.3034, allocations: 34.91 kB / 334.3 MB, free: 11.31 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00108/0.3045, allocations: 375.7 kB / 334.6 MB, free: 11.01 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001915/0.3064, allocations: 0.5505 MB / 335.2 MB, free: 10.55 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004952/0.3069, allocations: 179.1 kB / 335.4 MB, free: 10.4 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0023/0.3093, allocations: 1.853 MB / 337.2 MB, free: 8.711 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001856/0.3111, allocations: 1.586 MB / 338.8 MB, free: 7.094 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001415/0.3125, allocations: 0.8914 MB / 339.7 MB, free: 6.199 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001475/0.314, allocations: 1.086 MB / 340.8 MB, free: 5.109 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002437/0.3143, allocations: 156 kB / 340.9 MB, free: 4.957 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005742/0.3149, allocations: 215.9 kB / 341.1 MB, free: 4.746 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006252/0.3155, allocations: 0.6348 MB / 341.8 MB, free: 4.109 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005857/0.3161, allocations: 0.5278 MB / 342.3 MB, free: 3.574 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00333/0.3194, allocations: 3.713 MB / 346 MB, free: 15.85 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3195, allocations: 0 / 346 MB, free: 15.85 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.308e-06/0.3195, allocations: 0 / 346 MB, free: 15.85 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.261e-05/0.3195, allocations: 3.938 kB / 346 MB, free: 15.85 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.005139/0.3247, allocations: 2.531 MB / 348.6 MB, free: 13.25 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.803e-05/0.3247, allocations: 8.031 kB / 348.6 MB, free: 13.25 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008939/0.3257, allocations: 308.8 kB / 348.9 MB, free: 12.94 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002719/0.3284, allocations: 1.46 MB / 350.3 MB, free: 11.42 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.3285, allocations: 160.4 kB / 350.5 MB, free: 11.26 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003143/0.3289, allocations: 220 kB / 350.7 MB, free: 11.05 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004967/0.3338, allocations: 3.143 MB / 353.8 MB, free: 7.816 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.764e-05/0.3339, allocations: 3.953 kB / 353.8 MB, free: 7.812 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002079/0.3341, allocations: 91.98 kB / 353.9 MB, free: 7.723 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001129/0.3342, allocations: 108.4 kB / 354 MB, free: 7.613 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004259/0.3385, allocations: 2.723 MB / 356.8 MB, free: 4.875 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01374/0.3522, allocations: 8.947 MB / 365.7 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003378/0.3557, allocations: 3.39 MB / 369.1 MB, free: 8.055 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002462/0.3559, allocations: 122.4 kB / 369.2 MB, free: 7.918 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.605e-05/0.356, allocations: 59.88 kB / 369.3 MB, free: 7.852 MB / 302.1 MB Notification: Performance of pre-optimization done (n=128): time 3.537e-06/0.356, allocations: 0 / 369.3 MB, free: 7.852 MB / 302.1 MB Notification: Performance of matching and sorting (n=132): time 0.01018/0.3662, allocations: 5.712 MB / 375 MB, free: 2.008 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.3663, allocations: 64.72 kB / 375.1 MB, free: 1.934 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002361/0.3687, allocations: 1.482 MB / 376.5 MB, free: 444 kB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.653e-05/0.3688, allocations: 53.7 kB / 376.6 MB, free: 384 kB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007206/0.3695, allocations: 0.9371 MB / 377.5 MB, free: 15.42 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003508/0.3698, allocations: 441.5 kB / 378 MB, free: 14.99 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.974e-05/0.3699, allocations: 28 kB / 378 MB, free: 14.96 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.3701, allocations: 349.9 kB / 378.3 MB, free: 14.61 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/0.3712, allocations: 0.7091 MB / 379 MB, free: 13.9 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001175/0.3724, allocations: 0.8707 MB / 379.9 MB, free: 12.99 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.3736, allocations: 0.8261 MB / 380.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.3736, allocations: 4 kB / 380.7 MB, free: 12.16 MB / 318.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003694/0.3773, allocations: 2.333 MB / 383.1 MB, free: 9.801 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.3774, allocations: 7.953 kB / 383.1 MB, free: 9.793 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.3774, allocations: 4 kB / 383.1 MB, free: 9.789 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00264/0.38, allocations: 0.8267 MB / 383.9 MB, free: 8.949 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008405/0.3809, allocations: 211.7 kB / 384.1 MB, free: 8.742 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01229/0.3932, allocations: 10.71 MB / 394.8 MB, free: 13.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/0.3945, allocations: 55.95 kB / 394.9 MB, free: 13.43 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001611/0.3947, allocations: 36 kB / 394.9 MB, free: 13.4 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * 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 initialization (104): * Single equations (assignments): 100 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.001765/0.3965, allocations: 0.8214 MB / 395.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005801/0.397, allocations: 158.1 kB / 395.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004264/0.4013, allocations: 2.308 MB / 398.2 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/0.4013, allocations: 16 kB / 398.2 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.244e-05/0.4014, allocations: 4 kB / 398.2 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.4014, allocations: 3.984 kB / 398.2 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008956/0.4103, allocations: 4.77 MB / 403 MB, free: 5.191 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.4104, allocations: 0 / 403 MB, free: 5.191 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006796/0.4111, allocations: 167.8 kB / 403.2 MB, free: 5.027 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002532/0.4136, allocations: 0.8113 MB / 404 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/0.4137, allocations: 28 kB / 404 MB, free: 4.176 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01149/0.4252, allocations: 10.62 MB / 414.6 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.4253, allocations: 0 / 414.6 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00504/0.4303, allocations: 3.292 MB / 417.9 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001074/0.4314, allocations: 407.1 kB / 418.3 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003996/0.4318, allocations: 31.98 kB / 418.3 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009232/0.4328, allocations: 79.89 kB / 418.4 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002723/0.433, allocations: 109.1 kB / 418.5 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.031e-05/0.4331, allocations: 32 kB / 418.5 MB, free: 5.008 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001917/0.4351, allocations: 1.044 MB / 419.6 MB, free: 3.961 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4351, allocations: 0 / 419.6 MB, free: 3.961 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.002192/0.4373, allocations: 0.5156 MB / 420.1 MB, free: 3.445 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (78): * Single equations (assignments): 74 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 29} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005233/0.4378, allocations: 170.3 kB / 420.3 MB, free: 3.273 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004204/0.442, allocations: 2.416 MB / 422.7 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.4421, allocations: 0 / 422.7 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002446/0.4445, allocations: 1.633 MB / 424.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002172/0.4467, allocations: 480.5 kB / 424.8 MB, free: 14.65 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.4575, allocations: 5.442 MB / 430.2 MB, free: 9.164 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002624/0.4601, allocations: 2.086 MB / 432.3 MB, free: 7.047 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001261/0.4614, allocations: 305.4 kB / 432.6 MB, free: 6.742 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003889/0.4618, allocations: 95.42 kB / 432.7 MB, free: 6.648 MB / 366.1 MB Notification: Performance of SimCode: time 1.453e-06/0.4618, allocations: 4 kB / 432.7 MB, free: 6.645 MB / 366.1 MB Notification: Performance of Templates: time 0.2357/0.6975, allocations: 29.73 MB / 462.4 MB, free: 110.4 MB / 382.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.sim & ./Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier6pulse.pipe 2>&1) Environment - environmentSimulation: