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.009341/0.009341, allocations: 103.2 kB / 15.73 MB, free: 5.957 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.00164/0.00164, allocations: 191.4 kB / 16.67 MB, free: 5.887 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.694/1.694, allocations: 205.1 MB / 222.5 MB, free: 4.488 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.001175/0.001175, allocations: 49.86 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1129, allocations: 46.62 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse): time 0.005774/0.1188, allocations: 4.496 MB / 377.7 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002737/0.1215, allocations: 1.266 MB / 379 MB, free: 11.51 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003189/0.1219, allocations: 23.88 kB / 379 MB, free: 11.49 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003723/0.1223, allocations: 166.6 kB / 379.1 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000958/0.1232, allocations: 342.1 kB / 379.5 MB, free: 10.99 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004226/0.1237, allocations: 203.6 kB / 379.7 MB, free: 10.79 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001577/0.1253, allocations: 1.619 MB / 381.3 MB, free: 9.164 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001078/0.1263, allocations: 0.9297 MB / 382.2 MB, free: 8.215 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008706/0.1272, allocations: 0.6812 MB / 382.9 MB, free: 7.531 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001079/0.1283, allocations: 0.8368 MB / 383.7 MB, free: 6.691 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000268/0.1286, allocations: 176 kB / 383.9 MB, free: 6.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002743/0.1289, allocations: 179.9 kB / 384.1 MB, free: 6.344 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004635/0.1294, allocations: 486.5 kB / 384.6 MB, free: 5.867 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008714/0.1302, allocations: 0.7817 MB / 385.3 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002204/0.1325, allocations: 2.232 MB / 387.6 MB, free: 2.844 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.1325, allocations: 4 kB / 387.6 MB, free: 2.84 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1325, allocations: 0 / 387.6 MB, free: 2.84 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.627e-05/0.1325, allocations: 0 / 387.6 MB, free: 2.84 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.003577/0.1361, allocations: 1.755 MB / 389.3 MB, free: 1.027 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.1362, allocations: 12.03 kB / 389.3 MB, free: 1.016 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002718/0.1365, allocations: 147.2 kB / 389.5 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001461/0.1379, allocations: 0.9344 MB / 390.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.275e-05/0.138, allocations: 74.41 kB / 390.5 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001747/0.1382, allocations: 112.1 kB / 390.6 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002582/0.1408, allocations: 1.537 MB / 392.1 MB, free: 14.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.308e-05/0.1408, allocations: 3.984 kB / 392.1 MB, free: 14.11 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001145/0.1409, allocations: 44 kB / 392.2 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.09e-05/0.141, allocations: 42.03 kB / 392.2 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002473/0.1435, allocations: 1.425 MB / 393.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007738/0.1512, allocations: 4.871 MB / 398.5 MB, free: 7.539 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001924/0.1532, allocations: 1.449 MB / 400 MB, free: 5.969 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001299/0.1545, allocations: 0.7466 MB / 400.7 MB, free: 5.219 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.795e-05/0.1546, allocations: 12.55 kB / 400.7 MB, free: 5.207 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001044/0.1556, allocations: 0.6122 MB / 401.3 MB, free: 4.574 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 2.484e-06/0.1557, allocations: 0 / 401.3 MB, free: 4.574 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.005935/0.1616, allocations: 2.411 MB / 403.8 MB, free: 2.125 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.243e-05/0.1617, allocations: 89.75 kB / 403.8 MB, free: 2.02 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/0.163, allocations: 0.9344 MB / 404.8 MB, free: 1.074 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 9.046e-05/0.1631, allocations: 41.7 kB / 404.8 MB, free: 1.027 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004762/0.1636, allocations: 0.523 MB / 405.3 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002041/0.1638, allocations: 232.7 kB / 405.6 MB, free: 272 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002243/0.164, allocations: 130.6 kB / 405.7 MB, free: 136 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001515/0.1642, allocations: 334 kB / 406 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007216/0.1649, allocations: 413.7 kB / 406.4 MB, free: 15.39 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007889/0.1657, allocations: 0.5524 MB / 407 MB, free: 14.79 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001457/0.1672, allocations: 0.9426 MB / 407.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.1672, allocations: 4 kB / 407.9 MB, free: 13.79 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002283/0.1695, allocations: 1.295 MB / 409.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.316e-05/0.1695, allocations: 4 kB / 409.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.1696, allocations: 4.469 kB / 409.2 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009807/0.1706, allocations: 410.4 kB / 409.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005361/0.1711, allocations: 115.8 kB / 409.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005852/0.177, allocations: 4.493 MB / 414.2 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007218/0.1777, allocations: 87.48 kB / 414.3 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.644e-05/0.1778, allocations: 24 kB / 414.3 MB, free: 7.211 MB / 350.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.0009842/0.1788, allocations: 487.3 kB / 414.8 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000284/0.1791, allocations: 94.81 kB / 414.9 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003329/0.1795, allocations: 120.5 kB / 415 MB, free: 6.512 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.1795, allocations: 12 kB / 415 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.1795, allocations: 0 / 415 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.147e-06/0.1795, allocations: 8.047 kB / 415 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004721/0.1842, allocations: 2.59 MB / 417.6 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/0.1843, allocations: 0 / 417.6 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004479/0.1847, allocations: 87.86 kB / 417.7 MB, free: 3.758 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008525/0.1856, allocations: 384.8 kB / 418.1 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.544e-05/0.1857, allocations: 23.98 kB / 418.1 MB, free: 3.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005721/0.1914, allocations: 4.47 MB / 422.6 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1914, allocations: 0 / 422.6 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003369/0.1948, allocations: 1.952 MB / 424.5 MB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006189/0.1954, allocations: 279.9 kB / 424.8 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001905/0.1956, allocations: 15.98 kB / 424.8 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004801/0.1961, allocations: 43.95 kB / 424.9 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002196/0.1964, allocations: 84.47 kB / 425 MB, free: 12.33 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-05/0.1964, allocations: 20 kB / 425 MB, free: 12.31 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001063/0.1975, allocations: 0.6707 MB / 425.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1975, allocations: 0 / 425.7 MB, free: 11.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001053/0.1986, allocations: 346.8 kB / 426 MB, free: 11.3 MB / 366.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.0002389/0.1988, allocations: 131.1 kB / 426.1 MB, free: 11.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002237/0.201, allocations: 1.28 MB / 427.4 MB, free: 9.875 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2011, allocations: 0 / 427.4 MB, free: 9.875 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.2023, allocations: 0.8148 MB / 428.2 MB, free: 9.043 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.2034, allocations: 247.5 kB / 428.5 MB, free: 8.805 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004649/0.2081, allocations: 2.6 MB / 431.1 MB, free: 6.172 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009477/0.209, allocations: 1.384 MB / 432.4 MB, free: 4.762 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005347/0.2096, allocations: 171.3 kB / 432.6 MB, free: 4.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00016/0.2098, allocations: 59.44 kB / 432.7 MB, free: 4.531 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2098, allocations: 0 / 432.7 MB, free: 4.531 MB / 366.1 MB Notification: Performance of Templates: time 0.02958/0.2393, allocations: 18.46 MB / 451.1 MB, free: 2.035 MB / 382.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)