Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.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.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001147/0.001148, allocations: 108 kB / 15.6 MB, free: 132 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.001359/0.001359, allocations: 198.7 kB / 16.54 MB, free: 6.672 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.481/1.481, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.001222/0.001222, allocations: 59.91 kB / 278.7 MB, free: 12.34 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2427, allocations: 46.63 MB / 325.3 MB, free: 1.875 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.00527/0.248, allocations: 4.495 MB / 329.8 MB, free: 14.33 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002431/0.2505, allocations: 1.271 MB / 331.1 MB, free: 13.28 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003137/0.2508, allocations: 20.75 kB / 331.1 MB, free: 13.27 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003386/0.2512, allocations: 166.5 kB / 331.3 MB, free: 13.13 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008493/0.252, allocations: 335.2 kB / 331.6 MB, free: 12.86 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003833/0.2524, allocations: 201.5 kB / 331.8 MB, free: 12.69 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001613/0.254, allocations: 1.611 MB / 333.4 MB, free: 11.74 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.2551, allocations: 0.9275 MB / 334.3 MB, free: 10.87 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008278/0.2559, allocations: 0.6775 MB / 335 MB, free: 10.19 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009539/0.2569, allocations: 0.8483 MB / 335.9 MB, free: 9.336 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002034/0.2571, allocations: 176 kB / 336 MB, free: 9.164 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002629/0.2574, allocations: 176 kB / 336.2 MB, free: 8.992 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004299/0.2578, allocations: 478.7 kB / 336.7 MB, free: 8.523 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007477/0.2586, allocations: 0.7855 MB / 337.5 MB, free: 7.734 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001768/0.2604, allocations: 2.208 MB / 339.7 MB, free: 5.52 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2604, allocations: 0 / 339.7 MB, free: 5.52 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2604, allocations: 4 kB / 339.7 MB, free: 5.516 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.509e-05/0.2604, allocations: 0 / 339.7 MB, free: 5.516 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.003123/0.2635, allocations: 1.751 MB / 341.4 MB, free: 3.707 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.2636, allocations: 8.031 kB / 341.4 MB, free: 3.699 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000232/0.2638, allocations: 155.1 kB / 341.6 MB, free: 3.547 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.265, allocations: 0.9305 MB / 342.5 MB, free: 2.57 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.798e-05/0.2651, allocations: 74.41 kB / 342.6 MB, free: 2.496 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00015/0.2653, allocations: 108.1 kB / 342.7 MB, free: 2.391 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00226/0.2675, allocations: 1.541 MB / 344.2 MB, free: 0.793 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.2676, allocations: 0 / 344.2 MB, free: 0.793 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.2677, allocations: 48 kB / 344.3 MB, free: 0.7461 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.954e-05/0.2678, allocations: 46.02 kB / 344.3 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002214/0.27, allocations: 1.421 MB / 345.7 MB, free: 15.27 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006365/0.2764, allocations: 4.921 MB / 350.7 MB, free: 10.17 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001555/0.2779, allocations: 1.46 MB / 352.1 MB, free: 8.586 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001167/0.2791, allocations: 0.7234 MB / 352.8 MB, free: 7.855 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.455e-05/0.2792, allocations: 4.562 kB / 352.9 MB, free: 7.852 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009771/0.2802, allocations: 0.6161 MB / 353.5 MB, free: 7.215 MB / 286.1 MB Notification: Performance of pre-optimization done (n=72): time 2.434e-06/0.2802, allocations: 3.938 kB / 353.5 MB, free: 7.211 MB / 286.1 MB Notification: Performance of matching and sorting (n=72): time 0.005793/0.286, allocations: 2.415 MB / 355.9 MB, free: 4.766 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.663e-05/0.2861, allocations: 89.77 kB / 356 MB, free: 4.66 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/0.2874, allocations: 0.9305 MB / 356.9 MB, free: 3.715 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 6.281e-05/0.2875, allocations: 45.69 kB / 357 MB, free: 3.664 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004749/0.288, allocations: 0.523 MB / 357.5 MB, free: 3.133 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002017/0.2882, allocations: 228.7 kB / 357.7 MB, free: 2.906 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/0.2884, allocations: 126.7 kB / 357.8 MB, free: 2.777 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.2885, allocations: 337.9 kB / 358.2 MB, free: 2.441 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006384/0.2892, allocations: 413.7 kB / 358.6 MB, free: 2.035 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007213/0.2899, allocations: 0.5524 MB / 359.1 MB, free: 1.426 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/0.2912, allocations: 0.9426 MB / 360.1 MB, free: 440 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.2912, allocations: 0 / 360.1 MB, free: 440 kB / 286.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002674/0.2939, allocations: 1.3 MB / 361.4 MB, free: 15.12 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.294, allocations: 7.938 kB / 361.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.294, allocations: 4 kB / 361.4 MB, free: 15.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001372/0.2954, allocations: 402.4 kB / 361.8 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007268/0.2961, allocations: 115.8 kB / 361.9 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008742/0.3049, allocations: 4.501 MB / 366.4 MB, free: 9.961 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/0.3064, allocations: 87.45 kB / 366.5 MB, free: 9.875 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/0.3065, allocations: 20 kB / 366.5 MB, free: 9.855 MB / 302.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: 15 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode_n.idealDiode[3].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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 {(6,22)} Notification: Performance of prepare postOptimizeDAE: time 0.001315/0.3078, allocations: 499.1 kB / 367 MB, free: 9.359 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003091/0.3081, allocations: 94.91 kB / 367.1 MB, free: 9.266 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000314/0.3085, allocations: 124.5 kB / 367.2 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.3085, allocations: 4 kB / 367.2 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/0.3085, allocations: 4 kB / 367.2 MB, free: 9.133 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.457e-05/0.3085, allocations: 3.984 kB / 367.2 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005985/0.3145, allocations: 2.585 MB / 369.8 MB, free: 6.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/0.3146, allocations: 0 / 369.8 MB, free: 6.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006516/0.3152, allocations: 87.88 kB / 369.9 MB, free: 6.395 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001236/0.3165, allocations: 389.2 kB / 370.2 MB, free: 6.012 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.486e-05/0.3166, allocations: 12 kB / 370.3 MB, free: 6 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009583/0.3262, allocations: 4.474 MB / 374.7 MB, free: 1.383 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/0.3262, allocations: 7.922 kB / 374.7 MB, free: 1.375 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006057/0.3323, allocations: 1.958 MB / 376.7 MB, free: 15.39 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009248/0.3333, allocations: 291.7 kB / 377 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003156/0.3336, allocations: 12 kB / 377 MB, free: 15.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009938/0.3346, allocations: 43.94 kB / 377 MB, free: 15.03 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003636/0.335, allocations: 80.55 kB / 377.1 MB, free: 14.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.035e-05/0.3351, allocations: 23.98 kB / 377.1 MB, free: 14.93 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001825/0.337, allocations: 0.6746 MB / 377.8 MB, free: 14.26 MB / 318.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.337, allocations: 0 / 377.8 MB, free: 14.26 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001865/0.3389, allocations: 339 kB / 378.1 MB, free: 13.93 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 41 * 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 {(6,22)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003113/0.3392, allocations: 127 kB / 378.3 MB, free: 13.79 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00464/0.3438, allocations: 1.44 MB / 379.7 MB, free: 12.34 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.3439, allocations: 0 / 379.7 MB, free: 12.34 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002361/0.3462, allocations: 0.8109 MB / 380.5 MB, free: 11.52 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00224/0.3485, allocations: 259.1 kB / 380.8 MB, free: 11.26 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009039/0.3576, allocations: 2.617 MB / 383.4 MB, free: 8.617 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001888/0.3595, allocations: 1.384 MB / 384.8 MB, free: 7.203 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001128/0.3607, allocations: 167.3 kB / 384.9 MB, free: 7.035 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000339/0.361, allocations: 63.42 kB / 385 MB, free: 6.973 MB / 318.1 MB Notification: Performance of SimCode: time 1.222e-06/0.361, allocations: 0 / 385 MB, free: 6.973 MB / 318.1 MB Notification: Performance of Templates: time 0.05837/0.4194, allocations: 18.22 MB / 403.2 MB, free: 4.727 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1)