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.001539/0.001539, allocations: 101.5 kB / 16.5 MB, free: 6.641 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.001099/0.001099, allocations: 195.2 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.377/1.377, 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.001151/0.001151, allocations: 43.92 kB / 279.3 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09587/0.09703, allocations: 46.63 MB / 326 MB, free: 4.887 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.006585/0.1037, allocations: 6.245 MB / 332.2 MB, free: 14.6 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003426/0.1071, allocations: 2.158 MB / 334.4 MB, free: 12.43 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003725/0.1075, allocations: 23.94 kB / 334.4 MB, free: 12.41 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001566/0.1091, allocations: 0.6769 MB / 335.1 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001421/0.1105, allocations: 0.7269 MB / 335.8 MB, free: 11 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008/0.1113, allocations: 459 kB / 336.2 MB, free: 10.55 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009245/0.1123, allocations: 1.125 MB / 337.4 MB, free: 9.422 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009183/0.1132, allocations: 0.6783 MB / 338 MB, free: 8.723 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004175/0.1136, allocations: 418.3 kB / 338.5 MB, free: 8.312 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004927/0.1141, allocations: 0.521 MB / 339 MB, free: 7.789 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.1143, allocations: 68 kB / 339 MB, free: 7.723 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004614/0.1147, allocations: 223.8 kB / 339.3 MB, free: 7.504 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001786/0.1149, allocations: 211.1 kB / 339.5 MB, free: 7.297 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004579/0.1154, allocations: 0.5128 MB / 340 MB, free: 6.781 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001146/0.1165, allocations: 1.39 MB / 341.4 MB, free: 5.387 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.1166, allocations: 4 kB / 341.4 MB, free: 5.383 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.42e-07/0.1166, allocations: 0 / 341.4 MB, free: 5.383 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.1166, allocations: 0 / 341.4 MB, free: 5.383 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.002664/0.1192, allocations: 1.436 MB / 342.8 MB, free: 3.891 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.623e-05/0.1193, allocations: 12.03 kB / 342.8 MB, free: 3.879 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003259/0.1225, allocations: 471.2 kB / 343.3 MB, free: 3.418 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007327/0.1233, allocations: 0.5693 MB / 343.9 MB, free: 2.805 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.369e-05/0.1234, allocations: 78.41 kB / 343.9 MB, free: 2.727 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001329/0.1235, allocations: 100.4 kB / 344 MB, free: 2.629 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00172/0.1252, allocations: 1.059 MB / 345.1 MB, free: 1.52 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.019e-05/0.1253, allocations: 11.92 kB / 345.1 MB, free: 1.508 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-05/0.1254, allocations: 40 kB / 345.1 MB, free: 1.469 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.031e-05/0.1254, allocations: 28 kB / 345.2 MB, free: 1.441 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001638/0.127, allocations: 0.9174 MB / 346.1 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004997/0.132, allocations: 3.742 MB / 349.8 MB, free: 12.59 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002573/0.1346, allocations: 2.49 MB / 352.3 MB, free: 9.738 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008827/0.1355, allocations: 467.5 kB / 352.8 MB, free: 9.273 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001085/0.1356, allocations: 101.7 kB / 352.9 MB, free: 9.156 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008421/0.1365, allocations: 0.4969 MB / 353.4 MB, free: 8.633 MB / 302.1 MB Notification: Performance of pre-optimization done (n=86): time 2.154e-06/0.1365, allocations: 0 / 353.4 MB, free: 8.633 MB / 302.1 MB Notification: Performance of matching and sorting (n=86): time 0.004377/0.1409, allocations: 1.697 MB / 355.1 MB, free: 6.883 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/0.141, allocations: 193 kB / 355.2 MB, free: 6.652 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006154/0.1417, allocations: 481.9 kB / 355.7 MB, free: 6.168 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.161e-05/0.1417, allocations: 41.7 kB / 355.8 MB, free: 6.121 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003628/0.1421, allocations: 435.4 kB / 356.2 MB, free: 5.688 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00023/0.1423, allocations: 272 kB / 356.5 MB, free: 5.418 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002766/0.1426, allocations: 170.5 kB / 356.6 MB, free: 5.246 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.1428, allocations: 382.7 kB / 357 MB, free: 4.863 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000545/0.1434, allocations: 273.9 kB / 357.3 MB, free: 4.594 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006886/0.1441, allocations: 0.5161 MB / 357.8 MB, free: 3.977 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001227/0.1453, allocations: 0.807 MB / 358.6 MB, free: 3.078 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.1453, allocations: 0 / 358.6 MB, free: 3.078 MB / 302.1 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002004/0.1473, allocations: 1.076 MB / 359.7 MB, free: 1.988 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.1473, allocations: 8 kB / 359.7 MB, free: 1.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.1474, allocations: 4 kB / 359.7 MB, free: 1.977 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008738/0.1482, allocations: 281.5 kB / 359.9 MB, free: 1.695 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005992/0.1489, allocations: 159.7 kB / 360.1 MB, free: 1.539 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00505/0.1539, allocations: 4.388 MB / 364.5 MB, free: 12.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007091/0.1546, allocations: 111.2 kB / 364.6 MB, free: 12.78 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.417e-05/0.1547, allocations: 47.86 kB / 364.6 MB, free: 12.73 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.0004401/0.1552, allocations: 249.6 kB / 364.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.1553, allocations: 63.25 kB / 364.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001942/0.1572, allocations: 0.9714 MB / 365.9 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.898e-06/0.1573, allocations: 8 kB / 365.9 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.1573, allocations: 0 / 365.9 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.1573, allocations: 7.922 kB / 365.9 MB, free: 11.42 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003056/0.1604, allocations: 1.959 MB / 367.9 MB, free: 9.391 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.1604, allocations: 0 / 367.9 MB, free: 9.391 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004323/0.1608, allocations: 99.81 kB / 368 MB, free: 9.293 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007855/0.1616, allocations: 261.9 kB / 368.2 MB, free: 9.031 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.911e-05/0.1617, allocations: 19.98 kB / 368.3 MB, free: 9.012 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004742/0.1664, allocations: 4.349 MB / 372.6 MB, free: 4.391 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1664, allocations: 0 / 372.6 MB, free: 4.391 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002448/0.1689, allocations: 1.396 MB / 374 MB, free: 2.969 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003024/0.1692, allocations: 208 kB / 374.2 MB, free: 2.746 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.1693, allocations: 24 kB / 374.2 MB, free: 2.723 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000459/0.1698, allocations: 43.95 kB / 374.3 MB, free: 2.68 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/0.17, allocations: 72.84 kB / 374.4 MB, free: 2.605 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.279e-05/0.17, allocations: 23.98 kB / 374.4 MB, free: 2.582 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003593/0.1704, allocations: 322.9 kB / 374.7 MB, free: 2.27 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1704, allocations: 192 / 374.7 MB, free: 2.27 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001075/0.1715, allocations: 311.1 kB / 375 MB, free: 1.965 MB / 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.0003129/0.1718, allocations: 171.1 kB / 375.2 MB, free: 1.789 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001999/0.1738, allocations: 1.1 MB / 376.3 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1738, allocations: 0 / 376.3 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1431/0.317, allocations: 0.7281 MB / 377 MB, free: 52.32 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.3182, allocations: 109.8 kB / 377.1 MB, free: 52.32 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003893/0.3222, allocations: 2.111 MB / 379.2 MB, free: 51.32 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007135/0.3229, allocations: 0.996 MB / 380.2 MB, free: 50.62 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004531/0.3234, allocations: 89.02 kB / 380.3 MB, free: 50.61 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.3235, allocations: 54.14 kB / 380.3 MB, free: 50.61 MB / 318.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3235, allocations: 1.281 kB / 380.3 MB, free: 50.61 MB / 318.1 MB Notification: Performance of Templates: time 0.02044/0.344, allocations: 11.66 MB / 392 MB, free: 47.31 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)