Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.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.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 108.2 kB / 16.92 MB, free: 6.145 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.001848/0.001848, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.775/1.775, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.001678/0.001678, allocations: 47.94 kB / 280 MB, free: 3.148 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1602, allocations: 46.62 MB / 326.6 MB, free: 4.457 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.008148/0.1684, allocations: 3.62 MB / 330.3 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003539/0.1721, allocations: 1.049 MB / 331.3 MB, free: 15.75 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007427/0.1729, allocations: 15.94 kB / 331.3 MB, free: 15.73 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005017/0.1735, allocations: 107.1 kB / 331.4 MB, free: 15.63 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001399/0.1749, allocations: 218.7 kB / 331.6 MB, free: 15.41 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005015/0.1754, allocations: 155.6 kB / 331.8 MB, free: 15.26 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001309/0.1767, allocations: 0.9535 MB / 332.7 MB, free: 14.3 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008359/0.1776, allocations: 0.553 MB / 333.3 MB, free: 13.74 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009559/0.1786, allocations: 402.7 kB / 333.7 MB, free: 13.34 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/0.1796, allocations: 486.1 kB / 334.2 MB, free: 12.87 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000174/0.1798, allocations: 104 kB / 334.3 MB, free: 12.77 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002363/0.18, allocations: 100 kB / 334.4 MB, free: 12.67 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004074/0.1804, allocations: 279.2 kB / 334.6 MB, free: 12.39 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008727/0.1813, allocations: 473.8 kB / 335.1 MB, free: 11.93 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002098/0.1834, allocations: 1.258 MB / 336.4 MB, free: 10.67 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-05/0.1835, allocations: 4 kB / 336.4 MB, free: 10.66 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.717e-06/0.1835, allocations: 0 / 336.4 MB, free: 10.66 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.844e-05/0.1835, allocations: 0 / 336.4 MB, free: 10.66 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.003038/0.1866, allocations: 1.154 MB / 337.5 MB, free: 9.461 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.479e-05/0.1867, allocations: 8.031 kB / 337.5 MB, free: 9.453 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002232/0.1869, allocations: 87.91 kB / 337.6 MB, free: 9.367 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.188, allocations: 0.6002 MB / 338.2 MB, free: 8.727 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.41e-05/0.1881, allocations: 53.25 kB / 338.3 MB, free: 8.672 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001293/0.1882, allocations: 60 kB / 338.3 MB, free: 8.613 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001909/0.1901, allocations: 0.9072 MB / 339.2 MB, free: 7.684 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.009e-05/0.1902, allocations: 7.984 kB / 339.2 MB, free: 7.676 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.979e-05/0.1903, allocations: 28 kB / 339.3 MB, free: 7.648 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.387e-05/0.1904, allocations: 29.31 kB / 339.3 MB, free: 7.621 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001478/0.1919, allocations: 0.7819 MB / 340.1 MB, free: 6.84 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006089/0.198, allocations: 2.791 MB / 342.9 MB, free: 3.941 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.1992, allocations: 0.7527 MB / 343.6 MB, free: 3.125 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008982/0.2001, allocations: 341.3 kB / 343.9 MB, free: 2.789 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.348e-05/0.2001, allocations: 12.31 kB / 344 MB, free: 2.777 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008593/0.201, allocations: 381.5 kB / 344.3 MB, free: 2.383 MB / 286.1 MB Notification: Performance of pre-optimization done (n=43): time 3.726e-06/0.201, allocations: 4 kB / 344.3 MB, free: 2.379 MB / 286.1 MB Notification: Performance of matching and sorting (n=43): time 0.003469/0.2045, allocations: 1.181 MB / 345.5 MB, free: 1.168 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001562/0.2047, allocations: 114.8 kB / 345.6 MB, free: 1.031 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001707/0.2064, allocations: 0.5644 MB / 346.2 MB, free: 468 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 7.74e-05/0.2065, allocations: 33.7 kB / 346.2 MB, free: 428 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006247/0.2071, allocations: 355.9 kB / 346.6 MB, free: 68 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002222/0.2074, allocations: 138.2 kB / 346.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003094/0.2077, allocations: 90.25 kB / 346.8 MB, free: 15.83 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002908/0.208, allocations: 362.8 kB / 347.2 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005082/0.2085, allocations: 225 kB / 347.4 MB, free: 15.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006075/0.2091, allocations: 353.8 kB / 347.7 MB, free: 14.85 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009192/0.2101, allocations: 0.5652 MB / 348.3 MB, free: 14.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.354e-05/0.2101, allocations: 7.875 kB / 348.3 MB, free: 14.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001551/0.2117, allocations: 0.7508 MB / 349 MB, free: 13.46 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.372e-05/0.2117, allocations: 4 kB / 349 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/0.2117, allocations: 4.5 kB / 349.1 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008686/0.2126, allocations: 208.7 kB / 349.3 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003821/0.213, allocations: 79.89 kB / 349.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004552/0.2176, allocations: 2.935 MB / 352.3 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006002/0.2182, allocations: 55.61 kB / 352.3 MB, free: 10.03 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.23e-05/0.2183, allocations: 23.98 kB / 352.3 MB, free: 10 MB / 302.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: 12 (meanVoltage.y,$PRE.meanVoltage.y,meanCurrent.y,$PRE.meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,rootMeanSquareVoltage.mean.y,$PRE.rootMeanSquareVoltage.mean.y,rectifier.diode.idealDiode[3].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[1].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * 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 {(3,11)} Notification: Performance of prepare postOptimizeDAE: time 0.000744/0.2191, allocations: 329.5 kB / 352.7 MB, free: 9.672 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002181/0.2193, allocations: 51.34 kB / 352.7 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000233/0.2195, allocations: 65.28 kB / 352.8 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.2195, allocations: 7.984 kB / 352.8 MB, free: 9.547 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.2196, allocations: 0 / 352.8 MB, free: 9.547 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.2196, allocations: 7.938 kB / 352.8 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003249/0.2228, allocations: 1.613 MB / 354.4 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.2229, allocations: 4.031 kB / 354.4 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002691/0.2231, allocations: 51.91 kB / 354.5 MB, free: 7.809 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005232/0.2237, allocations: 196.8 kB / 354.7 MB, free: 7.613 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.221e-05/0.2237, allocations: 8 kB / 354.7 MB, free: 7.605 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004054/0.2278, allocations: 2.931 MB / 357.6 MB, free: 4.539 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.2278, allocations: 3.938 kB / 357.6 MB, free: 4.535 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002138/0.23, allocations: 1.094 MB / 358.7 MB, free: 3.414 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005044/0.2305, allocations: 200.3 kB / 358.9 MB, free: 3.199 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000176/0.2307, allocations: 8 kB / 358.9 MB, free: 3.191 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003628/0.2311, allocations: 23.97 kB / 358.9 MB, free: 3.168 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002125/0.2313, allocations: 47.88 kB / 359 MB, free: 3.121 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.183e-05/0.2313, allocations: 19.92 kB / 359 MB, free: 3.102 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006252/0.232, allocations: 414.8 kB / 359.4 MB, free: 2.699 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.232, allocations: 0 / 359.4 MB, free: 2.699 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001046/0.233, allocations: 203.3 kB / 359.6 MB, free: 2.5 MB / 302.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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.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 (30): * Single equations (assignments): 26 * 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 {(3,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002663/0.2333, allocations: 119.2 kB / 359.7 MB, free: 2.371 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001845/0.2352, allocations: 0.7948 MB / 360.5 MB, free: 1.562 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.2352, allocations: 0 / 360.5 MB, free: 1.562 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008331/0.236, allocations: 466.5 kB / 361 MB, free: 1.094 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008667/0.2369, allocations: 153.8 kB / 361.1 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004155/0.2411, allocations: 1.512 MB / 362.6 MB, free: 15.4 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001201/0.2423, allocations: 1.07 MB / 363.7 MB, free: 14.3 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004586/0.2428, allocations: 88.73 kB / 363.8 MB, free: 14.21 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.243, allocations: 43.44 kB / 363.8 MB, free: 14.17 MB / 318.1 MB Notification: Performance of SimCode: time 6.81e-07/0.243, allocations: 0 / 363.8 MB, free: 14.17 MB / 318.1 MB Notification: Performance of Templates: time 0.02598/0.269, allocations: 9.997 MB / 373.8 MB, free: 4.168 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.sim & ./Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse.pipe 2>&1)