Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001155/0.001154, 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.001441/0.001441, allocations: 196.2 kB / 16.53 MB, free: 6.699 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.424/1.424, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.001141/0.001141, allocations: 55.92 kB / 278.7 MB, free: 12.35 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1901, allocations: 46.63 MB / 325.3 MB, free: 1.723 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005646/0.1958, allocations: 4.506 MB / 329.8 MB, free: 14.16 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002623/0.1984, allocations: 1.263 MB / 331.1 MB, free: 13.12 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003226/0.1988, allocations: 21.25 kB / 331.1 MB, free: 13.12 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003493/0.1992, allocations: 165.8 kB / 331.3 MB, free: 12.97 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009242/0.2001, allocations: 346.7 kB / 331.6 MB, free: 12.7 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004544/0.2006, allocations: 193.9 kB / 331.8 MB, free: 12.53 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.001847/0.2024, allocations: 1.605 MB / 333.4 MB, free: 11.59 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001024/0.2035, allocations: 0.9261 MB / 334.3 MB, free: 10.75 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008932/0.2044, allocations: 0.6813 MB / 335 MB, free: 10.06 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001064/0.2054, allocations: 0.8445 MB / 335.9 MB, free: 9.215 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002323/0.2057, allocations: 179.9 kB / 336 MB, free: 9.039 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002863/0.206, allocations: 172 kB / 336.2 MB, free: 8.871 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004084/0.2064, allocations: 482.6 kB / 336.7 MB, free: 8.398 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007857/0.2072, allocations: 0.7855 MB / 337.5 MB, free: 7.609 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001753/0.2089, allocations: 2.212 MB / 339.7 MB, free: 5.391 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.209, allocations: 0 / 339.7 MB, free: 5.391 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.209, allocations: 4 kB / 339.7 MB, free: 5.387 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.988e-05/0.209, allocations: 0 / 339.7 MB, free: 5.387 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.00304/0.212, allocations: 1.748 MB / 341.4 MB, free: 3.582 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.2121, allocations: 12.02 kB / 341.4 MB, free: 3.57 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002246/0.2123, allocations: 155.2 kB / 341.6 MB, free: 3.418 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/0.2136, allocations: 0.9189 MB / 342.5 MB, free: 2.453 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.552e-05/0.2137, allocations: 82.41 kB / 342.6 MB, free: 2.371 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/0.2138, allocations: 104.1 kB / 342.7 MB, free: 2.27 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002366/0.2162, allocations: 1.537 MB / 344.2 MB, free: 0.6758 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.148e-05/0.2162, allocations: 11.94 kB / 344.2 MB, free: 0.6641 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/0.2164, allocations: 43.98 kB / 344.3 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.991e-05/0.2164, allocations: 46.03 kB / 344.3 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002307/0.2188, allocations: 1.425 MB / 345.8 MB, free: 15.14 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006403/0.2252, allocations: 4.921 MB / 350.7 MB, free: 10.04 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001732/0.2269, allocations: 1.461 MB / 352.1 MB, free: 8.457 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001166/0.2281, allocations: 0.7234 MB / 352.9 MB, free: 7.727 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.282e-05/0.2282, allocations: 8.562 kB / 352.9 MB, free: 7.719 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001006/0.2292, allocations: 0.6122 MB / 353.5 MB, free: 7.086 MB / 286.1 MB Notification: Performance of pre-optimization done (n=72): time 2.094e-06/0.2292, allocations: 3.938 kB / 353.5 MB, free: 7.082 MB / 286.1 MB Notification: Performance of matching and sorting (n=72): time 0.005725/0.2349, allocations: 2.407 MB / 355.9 MB, free: 4.645 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.795e-05/0.235, allocations: 97.69 kB / 356 MB, free: 4.531 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/0.2361, allocations: 0.9344 MB / 356.9 MB, free: 3.582 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.78e-05/0.2362, allocations: 33.7 kB / 357 MB, free: 3.543 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000429/0.2366, allocations: 0.5308 MB / 357.5 MB, free: 3.004 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001875/0.2368, allocations: 224.7 kB / 357.7 MB, free: 2.781 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002078/0.2371, allocations: 134.7 kB / 357.8 MB, free: 2.645 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002363/0.2373, allocations: 330 kB / 358.2 MB, free: 2.316 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007019/0.238, allocations: 413.7 kB / 358.6 MB, free: 1.91 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007853/0.2388, allocations: 0.5485 MB / 359.1 MB, free: 1.305 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001441/0.2403, allocations: 0.9503 MB / 360.1 MB, free: 308 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.2403, allocations: 0 / 360.1 MB, free: 308 kB / 286.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002056/0.2423, allocations: 1.288 MB / 361.3 MB, free: 15 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.2424, allocations: 4 kB / 361.4 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.2424, allocations: 7.938 kB / 361.4 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008985/0.2433, allocations: 402.7 kB / 361.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004993/0.2438, allocations: 115.8 kB / 361.9 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005439/0.2492, allocations: 4.508 MB / 366.4 MB, free: 9.836 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006048/0.2499, allocations: 79.39 kB / 366.5 MB, free: 9.758 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-05/0.2499, allocations: 28.12 kB / 366.5 MB, free: 9.73 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.0006423/0.2506, allocations: 499.1 kB / 367 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001806/0.2508, allocations: 94.91 kB / 367.1 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002117/0.251, allocations: 116.5 kB / 367.2 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.251, allocations: 8 kB / 367.2 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.251, allocations: 0 / 367.2 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.251, allocations: 3.984 kB / 367.2 MB, free: 9.012 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003763/0.2548, allocations: 2.589 MB / 369.8 MB, free: 6.359 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.2548, allocations: 0 / 369.8 MB, free: 6.359 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004438/0.2553, allocations: 91.88 kB / 369.9 MB, free: 6.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007892/0.2561, allocations: 393.2 kB / 370.2 MB, free: 5.883 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.693e-05/0.2561, allocations: 15.98 kB / 370.3 MB, free: 5.867 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005213/0.2613, allocations: 4.462 MB / 374.7 MB, free: 1.262 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.2614, allocations: 128 / 374.7 MB, free: 1.262 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002979/0.2644, allocations: 1.966 MB / 376.7 MB, free: 15.27 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004329/0.2648, allocations: 287.8 kB / 377 MB, free: 14.97 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.2649, allocations: 20 kB / 377 MB, free: 14.95 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004316/0.2654, allocations: 43.94 kB / 377 MB, free: 14.91 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001957/0.2656, allocations: 76.53 kB / 377.1 MB, free: 14.83 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.606e-05/0.2656, allocations: 24 kB / 377.1 MB, free: 14.8 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0008649/0.2665, allocations: 0.6668 MB / 377.8 MB, free: 14.14 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2665, allocations: 0 / 377.8 MB, free: 14.14 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009886/0.2675, allocations: 347 kB / 378.1 MB, free: 13.8 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.0002006/0.2677, allocations: 127 kB / 378.3 MB, free: 13.67 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002496/0.2702, allocations: 1.443 MB / 379.7 MB, free: 12.21 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2702, allocations: 0 / 379.7 MB, free: 12.21 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001277/0.2715, allocations: 0.811 MB / 380.5 MB, free: 11.39 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.2726, allocations: 254.9 kB / 380.8 MB, free: 11.14 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004437/0.277, allocations: 2.621 MB / 383.4 MB, free: 8.492 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001042/0.2781, allocations: 1.376 MB / 384.8 MB, free: 7.086 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004483/0.2785, allocations: 171.3 kB / 384.9 MB, free: 6.914 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001615/0.2787, allocations: 59.42 kB / 385 MB, free: 6.855 MB / 318.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2787, allocations: 0 / 385 MB, free: 6.855 MB / 318.1 MB Notification: Performance of Templates: time 0.0278/0.3065, allocations: 18.22 MB / 403.2 MB, free: 4.605 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.sim & ./Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse.pipe 2>&1)