Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.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.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001396/0.001396, allocations: 168.7 kB / 15.95 MB, free: 204 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.76/1.76, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.0005633/0.0005635, allocations: 14.81 kB / 278.9 MB, free: 12.79 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3083/0.3089, allocations: 47.59 MB / 326.5 MB, free: 1.395 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.003622/0.3126, allocations: 2.907 MB / 329.4 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00191/0.3145, allocations: 0.8461 MB / 330.3 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002089/0.3148, allocations: 6.031 kB / 330.3 MB, free: 14.42 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002117/0.315, allocations: 48.58 kB / 330.3 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003188/0.3153, allocations: 108.8 kB / 330.4 MB, free: 14.29 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002942/0.3156, allocations: 80.47 kB / 330.5 MB, free: 14.22 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006199/0.3162, allocations: 475.8 kB / 331 MB, free: 13.94 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003451/0.3166, allocations: 131.9 kB / 331.1 MB, free: 13.85 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002896/0.3169, allocations: 164.8 kB / 331.2 MB, free: 13.76 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003011/0.3172, allocations: 170.8 kB / 331.4 MB, free: 13.64 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.238e-05/0.3173, allocations: 19.69 kB / 331.4 MB, free: 13.64 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.664e-05/0.3174, allocations: 20.75 kB / 331.5 MB, free: 13.64 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 9.563e-05/0.3175, allocations: 75.55 kB / 331.5 MB, free: 13.58 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001293/0.3176, allocations: 103.7 kB / 331.6 MB, free: 13.51 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004223/0.318, allocations: 379.5 kB / 332 MB, free: 13.23 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.3181, allocations: 0 / 332 MB, free: 13.23 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3181, allocations: 0 / 332 MB, free: 13.23 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.223e-06/0.3181, allocations: 0 / 332 MB, free: 13.23 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001309/0.3194, allocations: 0.6516 MB / 332.6 MB, free: 12.66 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.3194, allocations: 9.75 kB / 332.7 MB, free: 12.66 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.3196, allocations: 47.41 kB / 332.7 MB, free: 12.64 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004713/0.32, allocations: 321.8 kB / 333 MB, free: 12.34 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.84e-05/0.3201, allocations: 27.53 kB / 333 MB, free: 12.32 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.404e-05/0.3202, allocations: 48.28 kB / 333.1 MB, free: 12.3 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007596/0.321, allocations: 382.9 kB / 333.5 MB, free: 12.05 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.321, allocations: 5.031 kB / 333.5 MB, free: 12.05 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.025e-05/0.321, allocations: 16.17 kB / 333.5 MB, free: 12.04 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.3211, allocations: 7.906 kB / 333.5 MB, free: 12.04 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005794/0.3217, allocations: 265.2 kB / 333.8 MB, free: 11.91 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002352/0.324, allocations: 1.484 MB / 335.2 MB, free: 10.54 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004556/0.3245, allocations: 243.4 kB / 335.5 MB, free: 10.29 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003539/0.3249, allocations: 165.3 kB / 335.6 MB, free: 10.12 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/0.3249, allocations: 240 / 335.6 MB, free: 10.12 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004287/0.3253, allocations: 246 kB / 335.9 MB, free: 9.863 MB / 270.1 MB Notification: Performance of pre-optimization done (n=31): time 1.833e-06/0.3253, allocations: 3.938 kB / 335.9 MB, free: 9.859 MB / 270.1 MB Notification: Performance of matching and sorting (n=31): time 0.001565/0.3269, allocations: 0.5966 MB / 336.5 MB, free: 9.234 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.478e-05/0.327, allocations: 114.8 kB / 336.6 MB, free: 9.098 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003233/0.3273, allocations: 296.4 kB / 336.9 MB, free: 8.805 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.3274, allocations: 37.7 kB / 336.9 MB, free: 8.762 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.3276, allocations: 208.4 kB / 337.1 MB, free: 8.555 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.802e-05/0.3277, allocations: 90.72 kB / 337.2 MB, free: 8.465 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.801e-05/0.3277, allocations: 12 kB / 337.2 MB, free: 8.453 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.3278, allocations: 342.8 kB / 337.6 MB, free: 8.109 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/0.328, allocations: 96.7 kB / 337.7 MB, free: 8.016 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003065/0.3284, allocations: 217.8 kB / 337.9 MB, free: 7.746 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002567/0.3286, allocations: 120 kB / 338 MB, free: 7.629 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.3286, allocations: 0 / 338 MB, free: 7.629 MB / 270.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007272/0.3294, allocations: 429.8 kB / 338.4 MB, free: 7.199 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.3294, allocations: 4 kB / 338.4 MB, free: 7.195 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.3294, allocations: 4 kB / 338.4 MB, free: 7.191 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003279/0.3298, allocations: 84.8 kB / 338.5 MB, free: 7.105 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/0.33, allocations: 55.91 kB / 338.5 MB, free: 7.051 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001911/0.3319, allocations: 1.804 MB / 340.3 MB, free: 5.105 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002759/0.3322, allocations: 39.64 kB / 340.4 MB, free: 5.066 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.791e-05/0.3323, allocations: 19.94 kB / 340.4 MB, free: 5.047 MB / 270.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.off,rectifier.diode_n.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0002096/0.3325, allocations: 174.7 kB / 340.6 MB, free: 4.867 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.521e-05/0.3325, allocations: 35.56 kB / 340.6 MB, free: 4.832 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.75e-05/0.3326, allocations: 43.16 kB / 340.7 MB, free: 4.793 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.3326, allocations: 4.188 kB / 340.7 MB, free: 4.789 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.096e-06/0.3326, allocations: 0 / 340.7 MB, free: 4.789 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/0.3326, allocations: 7.922 kB / 340.7 MB, free: 4.781 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006426/0.3333, allocations: 0.5615 MB / 341.2 MB, free: 4.16 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3333, allocations: 0 / 341.2 MB, free: 4.16 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/0.3335, allocations: 31.92 kB / 341.3 MB, free: 4.129 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002174/0.3337, allocations: 80.84 kB / 341.3 MB, free: 4.047 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.649e-05/0.3338, allocations: 7.984 kB / 341.3 MB, free: 4.039 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001895/0.3357, allocations: 1.799 MB / 343.1 MB, free: 2.105 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3357, allocations: 0 / 343.1 MB, free: 2.105 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009235/0.3366, allocations: 0.4989 MB / 343.6 MB, free: 1.582 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001455/0.3368, allocations: 128.7 kB / 343.8 MB, free: 1.438 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.845e-05/0.3368, allocations: 16 kB / 343.8 MB, free: 1.422 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.337, allocations: 15.98 kB / 343.8 MB, free: 1.406 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.802e-05/0.3371, allocations: 19.97 kB / 343.8 MB, free: 1.387 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.703e-05/0.3371, allocations: 15.95 kB / 343.8 MB, free: 1.371 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002341/0.3374, allocations: 207.1 kB / 344 MB, free: 1.172 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3374, allocations: 0 / 344 MB, free: 1.172 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005285/0.3379, allocations: 111.7 kB / 344.1 MB, free: 1.062 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001644/0.3381, allocations: 119.2 kB / 344.3 MB, free: 0.9375 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0008003/0.3389, allocations: 426.4 kB / 344.7 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3389, allocations: 0 / 344.7 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003947/0.3393, allocations: 291.3 kB / 345 MB, free: 216 kB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.3397, allocations: 56.77 kB / 345 MB, free: 156 kB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.341, allocations: 0.8587 MB / 345.9 MB, free: 15.26 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.3414, allocations: 0.799 MB / 346.7 MB, free: 14.43 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001331/0.3415, allocations: 34.97 kB / 346.7 MB, free: 14.4 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.593e-05/0.3416, allocations: 27.42 kB / 346.7 MB, free: 14.37 MB / 286.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3416, allocations: 0 / 346.7 MB, free: 14.37 MB / 286.1 MB Notification: Performance of Templates: time 0.008628/0.3502, allocations: 4.217 MB / 351 MB, free: 10.16 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1)