Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.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.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.Rectifier") translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007233/0.007234, allocations: 97.19 kB / 15.73 MB, free: 6.059 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.001429/0.00143, allocations: 197.1 kB / 16.68 MB, free: 5.969 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.656/1.656, allocations: 205.1 MB / 222.6 MB, free: 4.215 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.001213/0.001213, allocations: 50.41 kB / 326.6 MB, free: 14.42 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1124, allocations: 46.61 MB / 373.2 MB, free: 1.281 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.007267/0.1197, allocations: 4.209 MB / 377.4 MB, free: 13.05 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002789/0.1226, allocations: 0.9547 MB / 378.3 MB, free: 12.08 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005129/0.1231, allocations: 15.94 kB / 378.4 MB, free: 12.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003379/0.1235, allocations: 95.06 kB / 378.5 MB, free: 11.97 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006914/0.1242, allocations: 194.2 kB / 378.6 MB, free: 11.78 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004451/0.1247, allocations: 159.8 kB / 378.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009953/0.1257, allocations: 0.736 MB / 379.5 MB, free: 10.89 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004961/0.1262, allocations: 227 kB / 379.8 MB, free: 10.66 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004631/0.1267, allocations: 282.9 kB / 380 MB, free: 10.38 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005197/0.1272, allocations: 322.6 kB / 380.3 MB, free: 10.06 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001152/0.1273, allocations: 67.94 kB / 380.4 MB, free: 9.996 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001301/0.1275, allocations: 60 kB / 380.5 MB, free: 9.938 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002022/0.1277, allocations: 151.4 kB / 380.6 MB, free: 9.789 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003975/0.1281, allocations: 318.4 kB / 380.9 MB, free: 9.477 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009607/0.1291, allocations: 0.7273 MB / 381.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1291, allocations: 0 / 381.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1291, allocations: 0 / 381.7 MB, free: 8.746 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.1291, allocations: 0 / 381.7 MB, free: 8.746 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001946/0.1311, allocations: 0.923 MB / 382.6 MB, free: 7.77 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.1311, allocations: 12.03 kB / 382.6 MB, free: 7.758 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001499/0.1313, allocations: 68.52 kB / 382.7 MB, free: 7.691 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007163/0.132, allocations: 390.2 kB / 383 MB, free: 7.27 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.291e-05/0.1321, allocations: 37.69 kB / 383.1 MB, free: 7.234 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.1322, allocations: 52.38 kB / 383.1 MB, free: 7.184 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.1334, allocations: 0.5493 MB / 383.7 MB, free: 6.605 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.1335, allocations: 0 / 383.7 MB, free: 6.605 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.14e-05/0.1335, allocations: 20 kB / 383.7 MB, free: 6.586 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/0.1336, allocations: 19.94 kB / 383.7 MB, free: 6.566 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.1347, allocations: 447.6 kB / 384.2 MB, free: 6.133 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003714/0.1385, allocations: 2.027 MB / 386.2 MB, free: 4.016 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001291/0.1398, allocations: 0.6415 MB / 386.8 MB, free: 3.34 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007876/0.1406, allocations: 394.2 kB / 387.2 MB, free: 2.953 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.385e-05/0.1407, allocations: 12.56 kB / 387.2 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/0.1407, allocations: 47.11 kB / 387.3 MB, free: 2.887 MB / 318.1 MB Notification: Performance of pre-optimization done (n=60): time 3.737e-06/0.1407, allocations: 0 / 387.3 MB, free: 2.887 MB / 318.1 MB Notification: Performance of matching and sorting (n=61): time 0.005937/0.1467, allocations: 2.033 MB / 389.3 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.544e-05/0.1468, allocations: 67.97 kB / 389.4 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005499/0.1473, allocations: 357.7 kB / 389.7 MB, free: 308 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.747e-05/0.1474, allocations: 37.7 kB / 389.8 MB, free: 264 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002139/0.1476, allocations: 233.4 kB / 390 MB, free: 24 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002438/0.1479, allocations: 214.4 kB / 390.2 MB, free: 15.81 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002154/0.1481, allocations: 86.25 kB / 390.3 MB, free: 15.72 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001903/0.1483, allocations: 358.8 kB / 390.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000485/0.1488, allocations: 173 kB / 390.8 MB, free: 15.19 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005185/0.1493, allocations: 207.8 kB / 391 MB, free: 14.98 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009722/0.1503, allocations: 380.9 kB / 391.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1503, allocations: 0 / 391.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.00176/0.1521, allocations: 0.6734 MB / 392 MB, free: 13.92 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.1521, allocations: 9.031 kB / 392 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.1522, allocations: 0 / 392 MB, free: 13.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/0.1532, allocations: 259.2 kB / 392.3 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004013/0.1536, allocations: 59.91 kB / 392.4 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008781/0.1624, allocations: 7.517 MB / 399.9 MB, free: 5.508 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004674/0.1629, allocations: 20.02 kB / 399.9 MB, free: 5.488 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.533e-05/0.163, allocations: 12 kB / 399.9 MB, free: 5.477 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 (IdealDiode6.off,IdealDiode5.off,IdealDiode4.off,IdealDiode3.off,IdealDiode2.off,IdealDiode1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0003149/0.1633, allocations: 173.9 kB / 400.1 MB, free: 5.297 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.1634, allocations: 55.67 kB / 400.1 MB, free: 5.242 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000156/0.1636, allocations: 68.88 kB / 400.2 MB, free: 5.172 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/0.1636, allocations: 8 kB / 400.2 MB, free: 5.164 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.331e-05/0.1636, allocations: 3.938 kB / 400.2 MB, free: 5.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.1636, allocations: 0 / 400.2 MB, free: 5.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002955/0.1666, allocations: 1.349 MB / 401.6 MB, free: 3.742 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.1666, allocations: 3.984 kB / 401.6 MB, free: 3.738 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003758/0.167, allocations: 51.97 kB / 401.6 MB, free: 3.688 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009307/0.1679, allocations: 259.1 kB / 401.9 MB, free: 3.422 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.292e-05/0.168, allocations: 8.188 kB / 401.9 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009487/0.1775, allocations: 7.506 MB / 409.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.1776, allocations: 0 / 409.4 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002589/0.1802, allocations: 1.038 MB / 410.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002897/0.1805, allocations: 164.8 kB / 410.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.054e-05/0.1806, allocations: 15.98 kB / 410.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003623/0.1809, allocations: 12 kB / 410.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002021/0.1811, allocations: 52.48 kB / 410.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.474e-05/0.1812, allocations: 12 kB / 410.7 MB, free: 10.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004061/0.1816, allocations: 263.2 kB / 410.9 MB, free: 9.77 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1816, allocations: 0 / 410.9 MB, free: 9.77 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00124/0.1829, allocations: 172 kB / 411.1 MB, free: 9.602 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (Inductor2.i,Inductor3.i,Capacitor1.v,Capacitor2.v) * Number of discrete variables: 6 (IdealDiode1.off,IdealDiode2.off,IdealDiode3.off,IdealDiode4.off,IdealDiode5.off,IdealDiode6.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,7), (2,7), (2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001943/0.1831, allocations: 119.2 kB / 411.2 MB, free: 9.473 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002306/0.1854, allocations: 1.053 MB / 412.3 MB, free: 8.367 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.1854, allocations: 0 / 412.3 MB, free: 8.367 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001546/0.187, allocations: 0.8452 MB / 413.1 MB, free: 7.469 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007542/0.1877, allocations: 93.72 kB / 413.2 MB, free: 7.379 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003267/0.191, allocations: 1.282 MB / 414.5 MB, free: 6.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005938/0.1916, allocations: 0.8753 MB / 415.4 MB, free: 5.164 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002453/0.1919, allocations: 56.53 kB / 415.4 MB, free: 5.105 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.192, allocations: 27.44 kB / 415.4 MB, free: 5.078 MB / 350.1 MB Notification: Performance of SimCode: time 6.41e-07/0.192, allocations: 0 / 415.4 MB, free: 5.078 MB / 350.1 MB Notification: Performance of Templates: time 0.02492/0.217, allocations: 9.109 MB / 424.6 MB, free: 11.95 MB / 366.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.Rectifier.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1)