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.001432/0.001432, allocations: 103 kB / 16.51 MB, free: 6.645 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.001369/0.001369, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.771/1.771, allocations: 205.1 MB / 223.3 MB, free: 12.46 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.001353/0.001353, allocations: 47.92 kB / 279.3 MB, free: 3.566 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.1271, allocations: 46.63 MB / 326 MB, free: 4.871 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse): time 0.006085/0.1333, allocations: 3.65 MB / 329.6 MB, free: 1.191 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002749/0.1361, allocations: 1.033 MB / 330.7 MB, free: 156 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003863/0.1365, allocations: 11.94 kB / 330.7 MB, free: 144 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003526/0.1369, allocations: 91.39 kB / 330.8 MB, free: 52 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009296/0.1379, allocations: 214.9 kB / 331 MB, free: 15.84 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004376/0.1383, allocations: 123.8 kB / 331.1 MB, free: 15.72 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001304/0.1396, allocations: 1.067 MB / 332.2 MB, free: 14.65 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007307/0.1404, allocations: 485.7 kB / 332.6 MB, free: 14.16 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006229/0.141, allocations: 330.7 kB / 333 MB, free: 13.84 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008927/0.1419, allocations: 470.1 kB / 333.4 MB, free: 13.38 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001168/0.142, allocations: 56 kB / 333.5 MB, free: 13.32 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001474/0.1422, allocations: 59.94 kB / 333.5 MB, free: 13.27 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003116/0.1425, allocations: 235.2 kB / 333.8 MB, free: 13.04 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006061/0.1431, allocations: 417.8 kB / 334.2 MB, free: 12.62 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00139/0.1445, allocations: 1.223 MB / 335.4 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/0.1446, allocations: 0 / 335.4 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1446, allocations: 0 / 335.4 MB, free: 11.4 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.895e-05/0.1446, allocations: 0 / 335.4 MB, free: 11.4 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.00248/0.1471, allocations: 1.169 MB / 336.6 MB, free: 10.18 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/0.1472, allocations: 8.031 kB / 336.6 MB, free: 10.17 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001942/0.1474, allocations: 87.91 kB / 336.6 MB, free: 10.09 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009157/0.1483, allocations: 0.5885 MB / 337.2 MB, free: 9.457 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.681e-05/0.1483, allocations: 57.22 kB / 337.3 MB, free: 9.398 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.1485, allocations: 68 kB / 337.4 MB, free: 9.332 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/0.1503, allocations: 0.9033 MB / 338.3 MB, free: 8.406 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.337e-05/0.1503, allocations: 4 kB / 338.3 MB, free: 8.402 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.1504, allocations: 24 kB / 338.3 MB, free: 8.379 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.943e-05/0.1505, allocations: 37.23 kB / 338.3 MB, free: 8.344 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/0.152, allocations: 0.7819 MB / 339.1 MB, free: 7.559 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004721/0.1567, allocations: 2.791 MB / 341.9 MB, free: 4.66 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009937/0.1578, allocations: 0.7411 MB / 342.6 MB, free: 3.855 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006093/0.1584, allocations: 341.3 kB / 343 MB, free: 3.52 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.719e-05/0.1584, allocations: 4.328 kB / 343 MB, free: 3.516 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006423/0.1591, allocations: 397.5 kB / 343.4 MB, free: 3.105 MB / 286.1 MB Notification: Performance of pre-optimization done (n=43): time 1.773e-06/0.1591, allocations: 0 / 343.4 MB, free: 3.105 MB / 286.1 MB Notification: Performance of matching and sorting (n=43): time 0.00276/0.1619, allocations: 1.181 MB / 344.5 MB, free: 1.895 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.579e-05/0.162, allocations: 110.8 kB / 344.7 MB, free: 1.762 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007989/0.1628, allocations: 0.5605 MB / 345.2 MB, free: 1.191 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.652e-05/0.1628, allocations: 37.7 kB / 345.3 MB, free: 1.148 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003095/0.1632, allocations: 355.9 kB / 345.6 MB, free: 0.793 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.1633, allocations: 138 kB / 345.7 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001412/0.1634, allocations: 86.25 kB / 345.8 MB, free: 0.5664 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.1636, allocations: 374.8 kB / 346.2 MB, free: 196 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004056/0.164, allocations: 216.9 kB / 346.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004365/0.1645, allocations: 357.8 kB / 346.7 MB, free: 15.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008303/0.1653, allocations: 0.5652 MB / 347.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.1653, allocations: 3.938 kB / 347.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001374/0.1667, allocations: 0.7435 MB / 348.1 MB, free: 14.19 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.1668, allocations: 12.03 kB / 348.1 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.1668, allocations: 4 kB / 348.1 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000539/0.1673, allocations: 212.6 kB / 348.3 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003039/0.1676, allocations: 71.89 kB / 348.4 MB, free: 13.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003088/0.1707, allocations: 2.67 MB / 351 MB, free: 11.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004565/0.1712, allocations: 51.7 kB / 351.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.574e-05/0.1713, allocations: 20 kB / 351.1 MB, free: 11.02 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.0006045/0.1719, allocations: 329.5 kB / 351.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/0.172, allocations: 59.33 kB / 351.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001717/0.1722, allocations: 65.28 kB / 351.5 MB, free: 10.56 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.1722, allocations: 12 kB / 351.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.1722, allocations: 0 / 351.5 MB, free: 10.55 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.1723, allocations: 3.984 kB / 351.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003386/0.1757, allocations: 1.623 MB / 353.2 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.1757, allocations: 0 / 353.2 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003283/0.176, allocations: 47.91 kB / 353.2 MB, free: 8.809 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000666/0.1767, allocations: 196.8 kB / 353.4 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.545e-05/0.1768, allocations: 8 kB / 353.4 MB, free: 8.605 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004539/0.1813, allocations: 2.666 MB / 356.1 MB, free: 5.809 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.1813, allocations: 0 / 356.1 MB, free: 5.809 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002583/0.1839, allocations: 1.104 MB / 357.2 MB, free: 4.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005406/0.1845, allocations: 192.3 kB / 357.4 MB, free: 4.473 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001216/0.1846, allocations: 11.98 kB / 357.4 MB, free: 4.461 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003983/0.185, allocations: 27.97 kB / 357.4 MB, free: 4.434 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001839/0.1852, allocations: 39.94 kB / 357.5 MB, free: 4.395 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.66e-05/0.1853, allocations: 15.98 kB / 357.5 MB, free: 4.379 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007661/0.1861, allocations: 418.8 kB / 357.9 MB, free: 3.973 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1861, allocations: 0 / 357.9 MB, free: 3.973 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001207/0.1873, allocations: 199.4 kB / 358.1 MB, free: 3.777 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.0002266/0.1875, allocations: 119.1 kB / 358.2 MB, free: 3.648 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002009/0.1895, allocations: 0.7283 MB / 358.9 MB, free: 2.906 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/0.1896, allocations: 0 / 358.9 MB, free: 2.906 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001133/0.1907, allocations: 474.9 kB / 359.4 MB, free: 2.43 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.1921, allocations: 146.2 kB / 359.5 MB, free: 2.289 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00521/0.1974, allocations: 1.792 MB / 361.3 MB, free: 480 kB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001302/0.1987, allocations: 1.066 MB / 362.4 MB, free: 15.38 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005876/0.1993, allocations: 92.72 kB / 362.5 MB, free: 15.29 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002091/0.1995, allocations: 43.38 kB / 362.5 MB, free: 15.24 MB / 318.1 MB Notification: Performance of SimCode: time 7.32e-07/0.1996, allocations: 0 / 362.5 MB, free: 15.24 MB / 318.1 MB Notification: Performance of Templates: time 0.02724/0.2268, allocations: 9.428 MB / 371.9 MB, free: 5.812 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)