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.001524/0.001524, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00187/0.00187, allocations: 197 kB / 16.53 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 1.598/1.598, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.001397/0.001397, allocations: 43.94 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2927, allocations: 46.64 MB / 325.3 MB, free: 1.84 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.005063/0.2978, allocations: 3.399 MB / 328.7 MB, free: 15.15 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001783/0.2996, allocations: 0.8701 MB / 329.6 MB, free: 14.44 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002191/0.2999, allocations: 9.5 kB / 329.6 MB, free: 14.44 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002147/0.3001, allocations: 64.3 kB / 329.7 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003417/0.3005, allocations: 128.7 kB / 329.8 MB, free: 14.27 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003307/0.3008, allocations: 132.9 kB / 329.9 MB, free: 14.15 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007123/0.3015, allocations: 0.5074 MB / 330.4 MB, free: 13.84 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003734/0.3019, allocations: 168.4 kB / 330.6 MB, free: 13.75 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002997/0.3022, allocations: 193.9 kB / 330.8 MB, free: 13.63 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003209/0.3026, allocations: 208.9 kB / 331 MB, free: 13.48 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.3027, allocations: 44.22 kB / 331 MB, free: 13.48 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.557e-05/0.3028, allocations: 48.97 kB / 331.1 MB, free: 13.48 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001216/0.3029, allocations: 108.7 kB / 331.2 MB, free: 13.38 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002518/0.3032, allocations: 223.8 kB / 331.4 MB, free: 13.23 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006074/0.3038, allocations: 0.5084 MB / 331.9 MB, free: 12.84 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3038, allocations: 0 / 331.9 MB, free: 12.84 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.3038, allocations: 0 / 331.9 MB, free: 12.84 MB / 270.1 MB Notification: Performance of Transformations before backend: time 9.177e-06/0.3038, allocations: 0 / 331.9 MB, free: 12.84 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.001479/0.3053, allocations: 0.7147 MB / 332.6 MB, free: 12.23 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.3054, allocations: 14.39 kB / 332.6 MB, free: 12.22 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.3055, allocations: 48.66 kB / 332.7 MB, free: 12.2 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004631/0.3059, allocations: 338.4 kB / 333 MB, free: 11.88 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.46e-05/0.306, allocations: 28.75 kB / 333 MB, free: 11.86 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.518e-05/0.3061, allocations: 36.38 kB / 333.1 MB, free: 11.85 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007152/0.3068, allocations: 385.9 kB / 333.5 MB, free: 11.59 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.3068, allocations: 1.188 kB / 333.5 MB, free: 11.59 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.095e-05/0.3069, allocations: 19.25 kB / 333.5 MB, free: 11.58 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.3069, allocations: 12.52 kB / 333.5 MB, free: 11.57 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005287/0.3074, allocations: 252.3 kB / 333.7 MB, free: 11.37 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002176/0.3096, allocations: 1.479 MB / 335.2 MB, free: 9.797 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004554/0.3101, allocations: 243.4 kB / 335.5 MB, free: 9.551 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003756/0.3105, allocations: 165.3 kB / 335.6 MB, free: 9.387 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.319e-05/0.3105, allocations: 8.219 kB / 335.6 MB, free: 9.379 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004319/0.311, allocations: 234 kB / 335.9 MB, free: 9.129 MB / 270.1 MB Notification: Performance of pre-optimization done (n=31): time 1.663e-06/0.311, allocations: 0 / 335.9 MB, free: 9.129 MB / 270.1 MB Notification: Performance of matching and sorting (n=31): time 0.001537/0.3125, allocations: 0.5849 MB / 336.4 MB, free: 8.516 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.77e-05/0.3126, allocations: 114.8 kB / 336.6 MB, free: 8.379 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003023/0.3129, allocations: 296.4 kB / 336.8 MB, free: 8.086 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.426e-05/0.313, allocations: 33.7 kB / 336.9 MB, free: 8.047 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.3131, allocations: 216.3 kB / 337.1 MB, free: 7.832 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.76e-05/0.3132, allocations: 98.64 kB / 337.2 MB, free: 7.734 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.3134, allocations: 65.98 kB / 337.2 MB, free: 7.66 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.3135, allocations: 350.8 kB / 337.6 MB, free: 7.309 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00019/0.3137, allocations: 88.7 kB / 337.7 MB, free: 7.223 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002688/0.314, allocations: 225.5 kB / 337.9 MB, free: 6.945 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004633/0.3145, allocations: 323.1 kB / 338.2 MB, free: 6.574 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.3145, allocations: 4 kB / 338.2 MB, free: 6.57 MB / 270.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007578/0.3153, allocations: 413.5 kB / 338.6 MB, free: 6.156 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.3153, allocations: 4 kB / 338.6 MB, free: 6.152 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.3153, allocations: 7.938 kB / 338.6 MB, free: 6.145 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003127/0.3156, allocations: 93.19 kB / 338.7 MB, free: 6.051 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.3159, allocations: 59.89 kB / 338.8 MB, free: 5.992 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002028/0.3179, allocations: 1.994 MB / 340.8 MB, free: 3.852 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002469/0.3181, allocations: 43.73 kB / 340.8 MB, free: 3.809 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.3182, allocations: 12 kB / 340.8 MB, free: 3.797 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 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode_n.off,rectifier.diode_p.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002149/0.3184, allocations: 165.7 kB / 341 MB, free: 3.625 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.549e-05/0.3185, allocations: 39.55 kB / 341 MB, free: 3.586 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.305e-05/0.3186, allocations: 39.05 kB / 341.1 MB, free: 3.551 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.3186, allocations: 7.984 kB / 341.1 MB, free: 3.543 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3186, allocations: 0 / 341.1 MB, free: 3.543 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.3186, allocations: 4 kB / 341.1 MB, free: 3.539 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006998/0.3193, allocations: 0.5655 MB / 341.6 MB, free: 2.914 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.3193, allocations: 0 / 341.6 MB, free: 2.914 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001952/0.3195, allocations: 39.91 kB / 341.7 MB, free: 2.875 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002387/0.3198, allocations: 84.78 kB / 341.8 MB, free: 2.789 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/0.3198, allocations: 4 kB / 341.8 MB, free: 2.785 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002022/0.3218, allocations: 1.994 MB / 343.8 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3218, allocations: 0 / 343.8 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009428/0.3228, allocations: 498.8 kB / 344.3 MB, free: 144 kB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000183/0.323, allocations: 140.5 kB / 344.4 MB, free: 15.98 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.268e-05/0.323, allocations: 11.94 kB / 344.4 MB, free: 15.97 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.3232, allocations: 15.98 kB / 344.4 MB, free: 15.96 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.3233, allocations: 27.95 kB / 344.4 MB, free: 15.93 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.3234, allocations: 12 kB / 344.5 MB, free: 15.92 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002188/0.3236, allocations: 211.1 kB / 344.7 MB, free: 15.71 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3236, allocations: 0 / 344.7 MB, free: 15.71 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005052/0.3241, allocations: 107.8 kB / 344.8 MB, free: 15.61 MB / 286.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001846/0.3243, allocations: 111.2 kB / 344.9 MB, free: 15.49 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008458/0.3252, allocations: 422.3 kB / 345.3 MB, free: 15.07 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.3252, allocations: 1 kB / 345.3 MB, free: 15.07 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004241/0.3256, allocations: 287.5 kB / 345.6 MB, free: 14.77 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000387/0.326, allocations: 60.47 kB / 345.6 MB, free: 14.71 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.3276, allocations: 0.7088 MB / 346.3 MB, free: 13.97 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006721/0.3283, allocations: 0.8029 MB / 347.1 MB, free: 13.14 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001443/0.3284, allocations: 35.14 kB / 347.2 MB, free: 13.11 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.967e-05/0.3285, allocations: 31.44 kB / 347.2 MB, free: 13.07 MB / 286.1 MB Notification: Performance of SimCode: time 1.9e-07/0.3285, allocations: 0 / 347.2 MB, free: 13.07 MB / 286.1 MB Notification: Performance of Templates: time 0.01031/0.3388, allocations: 4.753 MB / 352 MB, free: 8.324 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)