Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2.2_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.2.2_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.001465/0.001465, allocations: 109 kB / 17.06 MB, free: 6.02 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.001698/0.001698, allocations: 191 kB / 18 MB, free: 5.109 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.728/1.728, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.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.001617/0.001618, allocations: 47.94 kB / 327.9 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1619, allocations: 46.61 MB / 374.5 MB, free: 4.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.006283/0.1682, allocations: 3.397 MB / 377.9 MB, free: 1.145 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002569/0.1709, allocations: 0.8886 MB / 378.8 MB, free: 252 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005826/0.1715, allocations: 11.94 kB / 378.8 MB, free: 240 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004393/0.172, allocations: 63.36 kB / 378.9 MB, free: 176 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007231/0.1727, allocations: 130.8 kB / 379 MB, free: 44 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.3604/0.5331, allocations: 125.8 kB / 379.1 MB, free: 9.816 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001255/0.5344, allocations: 0.5066 MB / 379.6 MB, free: 9.812 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004393/0.5349, allocations: 174.2 kB / 379.8 MB, free: 9.797 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000406/0.5353, allocations: 199.5 kB / 380 MB, free: 9.777 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004378/0.5358, allocations: 212.4 kB / 380.2 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.5359, allocations: 48.03 kB / 380.2 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.653e-05/0.536, allocations: 48.91 kB / 380.3 MB, free: 9.727 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.5361, allocations: 95.58 kB / 380.4 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003383/0.5365, allocations: 228.5 kB / 380.6 MB, free: 9.648 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001014/0.5375, allocations: 0.516 MB / 381.1 MB, free: 9.574 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.5375, allocations: 0.5625 kB / 381.1 MB, free: 9.574 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.5375, allocations: 0.9375 kB / 381.1 MB, free: 9.574 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.5375, allocations: 0 / 381.1 MB, free: 9.574 MB / 318.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.002074/0.5396, allocations: 0.7161 MB / 381.8 MB, free: 9.078 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.61e-05/0.5397, allocations: 9.188 kB / 381.8 MB, free: 9.078 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001753/0.5399, allocations: 53.03 kB / 381.9 MB, free: 9.055 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007476/0.5407, allocations: 343 kB / 382.2 MB, free: 8.816 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.639e-05/0.5407, allocations: 29.7 kB / 382.3 MB, free: 8.816 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.5409, allocations: 37.84 kB / 382.3 MB, free: 8.816 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001073/0.542, allocations: 384.2 kB / 382.7 MB, free: 8.734 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.195e-05/0.542, allocations: 1.891 kB / 382.7 MB, free: 8.734 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.224e-05/0.5421, allocations: 15.42 kB / 382.7 MB, free: 8.734 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.518e-05/0.5421, allocations: 9.844 kB / 382.7 MB, free: 8.734 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006909/0.5428, allocations: 258.4 kB / 382.9 MB, free: 8.727 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003151/0.546, allocations: 1.454 MB / 384.4 MB, free: 7.891 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006376/0.5467, allocations: 246 kB / 384.6 MB, free: 7.781 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004961/0.5472, allocations: 169.9 kB / 384.8 MB, free: 7.719 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.877e-05/0.5472, allocations: 3.328 kB / 384.8 MB, free: 7.719 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006975/0.5479, allocations: 235.5 kB / 385 MB, free: 7.586 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 8.356e-06/0.548, allocations: 0 / 385 MB, free: 7.586 MB / 318.1 MB Notification: Performance of matching and sorting (n=31): time 0.002154/0.5501, allocations: 0.5833 MB / 385.6 MB, free: 7.312 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.567e-05/0.5502, allocations: 108.3 kB / 385.7 MB, free: 7.188 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005753/0.5508, allocations: 290.9 kB / 386 MB, free: 7.027 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.72e-05/0.5509, allocations: 33.97 kB / 386 MB, free: 6.992 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002138/0.5511, allocations: 220.4 kB / 386.3 MB, free: 6.809 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/0.5512, allocations: 97.38 kB / 386.4 MB, free: 6.738 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/0.5514, allocations: 76.27 kB / 386.4 MB, free: 6.688 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.5515, allocations: 340.1 kB / 386.8 MB, free: 6.363 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002372/0.5518, allocations: 93.17 kB / 386.8 MB, free: 6.332 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003509/0.5521, allocations: 228.2 kB / 387.1 MB, free: 6.137 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000591/0.5527, allocations: 319.6 kB / 387.4 MB, free: 5.906 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.892e-06/0.5528, allocations: 1.25 kB / 387.4 MB, free: 5.906 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000898/0.5537, allocations: 415 kB / 387.8 MB, free: 5.738 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.948e-05/0.5537, allocations: 6.219 kB / 387.8 MB, free: 5.738 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/0.5537, allocations: 5.25 kB / 387.8 MB, free: 5.738 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000419/0.5542, allocations: 86.95 kB / 387.9 MB, free: 5.707 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002941/0.5545, allocations: 55.97 kB / 387.9 MB, free: 5.707 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002373/0.5569, allocations: 2.001 MB / 389.9 MB, free: 3.934 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004078/0.5573, allocations: 40.72 kB / 390 MB, free: 3.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.209e-05/0.5573, allocations: 21.64 kB / 390 MB, free: 3.902 MB / 318.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.0003856/0.5577, allocations: 167.9 kB / 390.2 MB, free: 3.758 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.5578, allocations: 37.55 kB / 390.2 MB, free: 3.738 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001242/0.558, allocations: 39.06 kB / 390.2 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.558, allocations: 2.531 kB / 390.2 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.558, allocations: 1.281 kB / 390.2 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.558, allocations: 1.5 kB / 390.2 MB, free: 3.707 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.5591, allocations: 0.5712 MB / 390.8 MB, free: 3.277 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.5591, allocations: 1.844 kB / 390.8 MB, free: 3.277 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001937/0.5593, allocations: 31.19 kB / 390.9 MB, free: 3.273 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003128/0.5596, allocations: 79.88 kB / 390.9 MB, free: 3.242 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.35e-05/0.5597, allocations: 7.797 kB / 390.9 MB, free: 3.238 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001998/0.5617, allocations: 1.99 MB / 392.9 MB, free: 1.461 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.5617, allocations: 0 / 392.9 MB, free: 1.461 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/0.5629, allocations: 0.4936 MB / 393.4 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001955/0.5631, allocations: 133.2 kB / 393.6 MB, free: 1.078 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.46e-05/0.5631, allocations: 11.53 kB / 393.6 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/0.5633, allocations: 18.27 kB / 393.6 MB, free: 1.062 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001388/0.5635, allocations: 32.03 kB / 393.6 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.42e-05/0.5635, allocations: 10.19 kB / 393.6 MB, free: 1.051 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003149/0.5638, allocations: 207.3 kB / 393.8 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5638, allocations: 1.125 kB / 393.8 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007111/0.5646, allocations: 113 kB / 393.9 MB, free: 0.9062 MB / 318.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.0002166/0.5648, allocations: 119.3 kB / 394.1 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001024/0.5658, allocations: 422.4 kB / 394.5 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.5658, allocations: 0 / 394.5 MB, free: 0.5781 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004741/0.5663, allocations: 283.4 kB / 394.7 MB, free: 416 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004094/0.5667, allocations: 53 kB / 394.8 MB, free: 396 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001665/0.5684, allocations: 0.7044 MB / 395.5 MB, free: 15.97 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005722/0.569, allocations: 0.8039 MB / 396.3 MB, free: 15.26 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001728/0.5692, allocations: 33.52 kB / 396.3 MB, free: 15.26 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.437e-05/0.5693, allocations: 32.8 kB / 396.4 MB, free: 15.24 MB / 334.1 MB Notification: Performance of SimCode: time 1.172e-06/0.5693, allocations: 0 / 396.4 MB, free: 15.24 MB / 334.1 MB Notification: Performance of Templates: time 0.01537/0.5847, allocations: 4.827 MB / 401.2 MB, free: 14.35 MB / 334.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse.pipe 2>&1)