Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.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.1_Modelica.Electrical.Analog.Examples.Rectifier") translateModel(Modelica.Electrical.Analog.Examples.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="Modelica_3.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.007749/0.007749, allocations: 104.8 kB / 15.74 MB, free: 6.035 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.001428/0.001428, allocations: 199.2 kB / 16.67 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.767/1.767, allocations: 205.1 MB / 222.5 MB, free: 4.41 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.001307/0.001307, allocations: 50.58 kB / 326.6 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1283, allocations: 46.61 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.Rectifier): time 0.01049/0.1389, allocations: 4.197 MB / 377.4 MB, free: 13.08 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003646/0.1426, allocations: 0.9624 MB / 378.3 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007308/0.1434, allocations: 8 kB / 378.4 MB, free: 12.1 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006064/0.1441, allocations: 99 kB / 378.4 MB, free: 12 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001247/0.1454, allocations: 198.3 kB / 378.6 MB, free: 11.8 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007053/0.1461, allocations: 163.7 kB / 378.8 MB, free: 11.64 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001659/0.1478, allocations: 0.7282 MB / 379.5 MB, free: 10.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006608/0.1485, allocations: 231 kB / 379.8 MB, free: 10.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000703/0.1492, allocations: 286.9 kB / 380 MB, free: 10.4 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008441/0.1501, allocations: 322.6 kB / 380.4 MB, free: 10.08 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001941/0.1503, allocations: 60 kB / 380.4 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002311/0.1505, allocations: 64 kB / 380.5 MB, free: 9.961 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002826/0.1508, allocations: 155.4 kB / 380.6 MB, free: 9.809 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006538/0.1515, allocations: 322.3 kB / 380.9 MB, free: 9.492 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001222/0.1528, allocations: 0.7162 MB / 381.7 MB, free: 8.773 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.1528, allocations: 0 / 381.7 MB, free: 8.773 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1528, allocations: 0 / 381.7 MB, free: 8.773 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.373e-05/0.1529, allocations: 7.938 kB / 381.7 MB, free: 8.766 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.002514/0.1554, allocations: 0.9041 MB / 382.6 MB, free: 7.809 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/0.1555, allocations: 12.03 kB / 382.6 MB, free: 7.797 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002098/0.1557, allocations: 68.09 kB / 382.6 MB, free: 7.73 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008923/0.1566, allocations: 385.9 kB / 383 MB, free: 7.312 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.831e-05/0.1566, allocations: 37.69 kB / 383.1 MB, free: 7.277 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.1568, allocations: 52.38 kB / 383.1 MB, free: 7.227 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.1582, allocations: 0.5416 MB / 383.7 MB, free: 6.656 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.1583, allocations: 3.938 kB / 383.7 MB, free: 6.652 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.352e-05/0.1583, allocations: 20 kB / 383.7 MB, free: 6.633 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.069e-05/0.1584, allocations: 16 kB / 383.7 MB, free: 6.617 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001529/0.1599, allocations: 451.7 kB / 384.1 MB, free: 6.18 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004935/0.1649, allocations: 2.026 MB / 386.2 MB, free: 4.062 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/0.1665, allocations: 0.6376 MB / 386.8 MB, free: 3.391 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001038/0.1675, allocations: 410.1 kB / 387.2 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.471e-05/0.1676, allocations: 12.55 kB / 387.2 MB, free: 2.977 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.447e-05/0.1677, allocations: 39.11 kB / 387.2 MB, free: 2.93 MB / 318.1 MB Notification: Performance of pre-optimization done (n=60): time 3.807e-06/0.1677, allocations: 0 / 387.2 MB, free: 2.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=61): time 0.007591/0.1753, allocations: 2.028 MB / 389.3 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/0.1754, allocations: 55.97 kB / 389.3 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006935/0.1761, allocations: 369.6 kB / 389.7 MB, free: 356 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.754e-05/0.1762, allocations: 33.7 kB / 389.7 MB, free: 316 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002332/0.1764, allocations: 233.2 kB / 390 MB, free: 76 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002665/0.1767, allocations: 201.2 kB / 390.1 MB, free: 15.87 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002225/0.1769, allocations: 94.16 kB / 390.2 MB, free: 15.77 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002014/0.1772, allocations: 358.8 kB / 390.6 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005808/0.1778, allocations: 165 kB / 390.8 MB, free: 15.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004571/0.1782, allocations: 207.8 kB / 391 MB, free: 15.05 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007814/0.179, allocations: 384.8 kB / 391.3 MB, free: 14.66 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.179, allocations: 0 / 391.3 MB, free: 14.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001291/0.1803, allocations: 0.6734 MB / 392 MB, free: 13.97 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.427e-05/0.1804, allocations: 7.938 kB / 392 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.1804, allocations: 0 / 392 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007557/0.1811, allocations: 263.2 kB / 392.3 MB, free: 13.7 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003037/0.1815, allocations: 59.91 kB / 392.3 MB, free: 13.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007564/0.189, allocations: 7.497 MB / 399.8 MB, free: 5.578 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005655/0.1897, allocations: 23.95 kB / 399.8 MB, free: 5.555 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.602e-05/0.1898, allocations: 12 kB / 399.9 MB, free: 5.543 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.0004247/0.1902, allocations: 173.9 kB / 400 MB, free: 5.363 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001985/0.1904, allocations: 51.34 kB / 400.1 MB, free: 5.312 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001821/0.1906, allocations: 68.94 kB / 400.1 MB, free: 5.242 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.1906, allocations: 4 kB / 400.1 MB, free: 5.238 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.479e-05/0.1907, allocations: 7.938 kB / 400.2 MB, free: 5.23 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.1907, allocations: 3.984 kB / 400.2 MB, free: 5.227 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002486/0.1932, allocations: 1.341 MB / 401.5 MB, free: 3.816 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.1932, allocations: 0 / 401.5 MB, free: 3.816 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002868/0.1935, allocations: 51.91 kB / 401.6 MB, free: 3.766 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007697/0.1943, allocations: 259.5 kB / 401.8 MB, free: 3.5 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.4e-05/0.1943, allocations: 15.94 kB / 401.8 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007104/0.2014, allocations: 7.501 MB / 409.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2015, allocations: 0 / 409.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/0.2032, allocations: 1.037 MB / 410.4 MB, free: 10.37 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003553/0.2036, allocations: 156.4 kB / 410.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.773e-05/0.2037, allocations: 15.98 kB / 410.5 MB, free: 10.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002631/0.204, allocations: 12 kB / 410.5 MB, free: 10.17 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/0.2041, allocations: 60.48 kB / 410.6 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.58e-05/0.2042, allocations: 12 kB / 410.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003434/0.2045, allocations: 259.2 kB / 410.9 MB, free: 9.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2045, allocations: 0 / 410.9 MB, free: 9.848 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008726/0.2054, allocations: 172 kB / 411 MB, free: 9.68 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.0002075/0.2056, allocations: 115.2 kB / 411.1 MB, free: 9.555 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001714/0.2073, allocations: 1.041 MB / 412.2 MB, free: 8.465 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2074, allocations: 0 / 412.2 MB, free: 8.465 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001199/0.2086, allocations: 0.8336 MB / 413 MB, free: 7.578 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005476/0.2091, allocations: 97.72 kB / 413.1 MB, free: 7.484 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002588/0.2117, allocations: 1.275 MB / 414.4 MB, free: 6.184 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004748/0.2122, allocations: 0.8754 MB / 415.3 MB, free: 5.277 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001769/0.2124, allocations: 52.55 kB / 415.3 MB, free: 5.223 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.88e-05/0.2125, allocations: 27.44 kB / 415.3 MB, free: 5.195 MB / 350.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2125, allocations: 0 / 415.3 MB, free: 5.195 MB / 350.1 MB Notification: Performance of Templates: time 0.01636/0.2288, allocations: 9.101 MB / 424.4 MB, free: 12.08 MB / 366.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.Rectifier.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.Rectifier.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.Rectifier.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.Rectifier.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.Rectifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.Rectifier.pipe 2>&1)