Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.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.QuasiStationary.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 112.5 kB / 16.62 MB, free: 6.949 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.001116/0.001116, allocations: 197.8 kB / 17.55 MB, free: 6.043 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.363/1.363, allocations: 205.1 MB / 223.4 MB, free: 12.36 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.0013/0.0013, allocations: 44.14 kB / 279.5 MB, free: 3.465 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1185/0.1198, allocations: 46.63 MB / 326.1 MB, free: 4.77 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.008615/0.1285, allocations: 6.249 MB / 332.4 MB, free: 14.48 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004264/0.1328, allocations: 2.138 MB / 334.5 MB, free: 12.33 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000762/0.1336, allocations: 19.94 kB / 334.5 MB, free: 12.31 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002158/0.1358, allocations: 0.6847 MB / 335.2 MB, free: 11.62 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001927/0.1377, allocations: 0.719 MB / 335.9 MB, free: 10.9 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009386/0.1387, allocations: 447.1 kB / 336.4 MB, free: 10.46 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001186/0.1399, allocations: 1.195 MB / 337.6 MB, free: 9.266 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001105/0.141, allocations: 0.8705 MB / 338.4 MB, free: 8.371 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005026/0.1415, allocations: 462.3 kB / 338.9 MB, free: 7.918 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006004/0.1421, allocations: 0.5445 MB / 339.4 MB, free: 7.371 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001325/0.1422, allocations: 112 kB / 339.6 MB, free: 7.262 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005407/0.1428, allocations: 267.8 kB / 339.8 MB, free: 7 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002065/0.143, allocations: 251.1 kB / 340.1 MB, free: 6.754 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004468/0.1435, allocations: 0.5558 MB / 340.6 MB, free: 6.195 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001398/0.1449, allocations: 1.437 MB / 342.1 MB, free: 4.754 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.1449, allocations: 4 kB / 342.1 MB, free: 4.75 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.1449, allocations: 0 / 342.1 MB, free: 4.75 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.802e-05/0.1449, allocations: 0 / 342.1 MB, free: 4.75 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: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.003426/0.1484, allocations: 1.444 MB / 343.5 MB, free: 3.25 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.1484, allocations: 8.031 kB / 343.5 MB, free: 3.242 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002922/0.1513, allocations: 479.2 kB / 344 MB, free: 2.773 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008816/0.1522, allocations: 0.5617 MB / 344.5 MB, free: 2.168 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.181e-05/0.1523, allocations: 74.41 kB / 344.6 MB, free: 2.094 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.1525, allocations: 100.4 kB / 344.7 MB, free: 1.996 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001917/0.1544, allocations: 1.059 MB / 345.8 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.103e-05/0.1544, allocations: 0 / 345.8 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.886e-05/0.1545, allocations: 44 kB / 345.8 MB, free: 0.8438 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.281e-05/0.1546, allocations: 24 kB / 345.8 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001661/0.1562, allocations: 0.9213 MB / 346.8 MB, free: 15.9 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005731/0.162, allocations: 3.754 MB / 350.5 MB, free: 11.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002978/0.165, allocations: 2.486 MB / 353 MB, free: 9.105 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009326/0.1659, allocations: 471.5 kB / 353.5 MB, free: 8.637 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001365/0.1661, allocations: 105.7 kB / 353.6 MB, free: 8.516 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001/0.1671, allocations: 496.9 kB / 354 MB, free: 8.004 MB / 302.1 MB Notification: Performance of pre-optimization done (n=86): time 3.386e-06/0.1671, allocations: 4 kB / 354 MB, free: 8 MB / 302.1 MB Notification: Performance of matching and sorting (n=86): time 0.004763/0.1719, allocations: 1.69 MB / 355.7 MB, free: 6.258 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/0.172, allocations: 204.9 kB / 355.9 MB, free: 6.016 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006053/0.1727, allocations: 470 kB / 356.4 MB, free: 5.543 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.524e-05/0.1727, allocations: 45.69 kB / 356.4 MB, free: 5.492 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003406/0.1731, allocations: 439.3 kB / 356.9 MB, free: 5.055 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002431/0.1733, allocations: 280 kB / 357.1 MB, free: 4.777 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002669/0.1736, allocations: 166.5 kB / 357.3 MB, free: 4.609 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.1738, allocations: 378.7 kB / 357.7 MB, free: 4.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005252/0.1743, allocations: 277.9 kB / 357.9 MB, free: 3.957 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007172/0.175, allocations: 0.52 MB / 358.5 MB, free: 3.336 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.1763, allocations: 0.8031 MB / 359.3 MB, free: 2.441 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.813e-06/0.1763, allocations: 8 kB / 359.3 MB, free: 2.434 MB / 302.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002002/0.1783, allocations: 1.068 MB / 360.3 MB, free: 1.352 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.1783, allocations: 11.88 kB / 360.4 MB, free: 1.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.1784, allocations: 11.98 kB / 360.4 MB, free: 1.328 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008568/0.1792, allocations: 261.7 kB / 360.6 MB, free: 1.066 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005834/0.1798, allocations: 171.7 kB / 360.8 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005733/0.1856, allocations: 4.855 MB / 365.6 MB, free: 11.77 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008844/0.1865, allocations: 103.1 kB / 365.8 MB, free: 11.67 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-05/0.1866, allocations: 43.94 kB / 365.8 MB, free: 11.62 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,iDC2.mean.y,$PRE.iDC2.mean.y,iAC.mean2.y,$PRE.iAC.mean2.y,iAC.mean1.y,$PRE.iAC.mean1.y,rectifierAC.idealDiode4.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,8), (4,17)} Notification: Performance of prepare postOptimizeDAE: time 0.000538/0.1871, allocations: 257.6 kB / 366 MB, free: 11.36 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.1872, allocations: 71.09 kB / 366.1 MB, free: 11.29 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002043/0.1893, allocations: 0.9636 MB / 367.1 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.1893, allocations: 12 kB / 367.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.1893, allocations: 0 / 367.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.1893, allocations: 3.984 kB / 367.1 MB, free: 10.3 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003605/0.1929, allocations: 1.947 MB / 369 MB, free: 8.285 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.193, allocations: 4.031 kB / 369 MB, free: 8.281 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004389/0.1934, allocations: 99.88 kB / 369.1 MB, free: 8.184 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008029/0.1942, allocations: 265.4 kB / 369.4 MB, free: 7.918 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.523e-05/0.1943, allocations: 16 kB / 369.4 MB, free: 7.902 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005581/0.1999, allocations: 4.817 MB / 374.2 MB, free: 2.809 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/0.1999, allocations: 4.188 kB / 374.2 MB, free: 2.805 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002588/0.2025, allocations: 1.392 MB / 375.6 MB, free: 1.387 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004016/0.2029, allocations: 212.1 kB / 375.8 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.2031, allocations: 20 kB / 375.9 MB, free: 1.141 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004641/0.2035, allocations: 43.97 kB / 375.9 MB, free: 1.098 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002099/0.2038, allocations: 68.91 kB / 376 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.024e-05/0.2038, allocations: 24.17 kB / 376 MB, free: 1.004 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000431/0.2043, allocations: 326.8 kB / 376.3 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.2043, allocations: 3.938 kB / 376.3 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001382/0.2057, allocations: 319.2 kB / 376.6 MB, free: 380 kB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (voltageQS.pin_p.reference.gamma,iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iAC.mean1.y,iAC.mean2.y,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.y) * Number of discrete states: 3 (iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,8), (4,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003388/0.206, allocations: 163 kB / 376.8 MB, free: 208 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.1792/0.3852, allocations: 1.132 MB / 377.9 MB, free: 52.71 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.813e-06/0.3853, allocations: 3.156 kB / 377.9 MB, free: 52.71 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001218/0.3865, allocations: 0.7361 MB / 378.7 MB, free: 52.45 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008166/0.3873, allocations: 122.7 kB / 378.8 MB, free: 52.45 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003413/0.3908, allocations: 2.11 MB / 380.9 MB, free: 51.4 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004676/0.3912, allocations: 0.9913 MB / 381.9 MB, free: 50.7 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003988/0.3917, allocations: 89.83 kB / 382 MB, free: 50.69 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.3918, allocations: 53.53 kB / 382 MB, free: 50.69 MB / 318.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3918, allocations: 0 / 382 MB, free: 50.69 MB / 318.1 MB Notification: Performance of Templates: time 0.02017/0.412, allocations: 12.31 MB / 394.3 MB, free: 46.83 MB / 318.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.sim & ./Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier.pipe 2>&1)