Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.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.OpAmps.VoltageFollower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009714/0.009714, allocations: 105.3 kB / 15.73 MB, free: 6.043 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.001737/0.001738, allocations: 191.1 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.057/2.057, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.002452/0.002453, allocations: 51.73 kB / 326.6 MB, free: 14.3 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1623, allocations: 46.61 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004317/0.1667, allocations: 2.7 MB / 375.9 MB, free: 14.58 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001616/0.1684, allocations: 0.7212 MB / 376.6 MB, free: 13.85 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001761/0.1686, allocations: 4 kB / 376.6 MB, free: 13.85 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001949/0.1688, allocations: 43.58 kB / 376.7 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001986/0.169, allocations: 87.25 kB / 376.7 MB, free: 13.72 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000349/0.1694, allocations: 95.81 kB / 376.8 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004067/0.1698, allocations: 358.4 kB / 377.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002178/0.17, allocations: 88.62 kB / 377.3 MB, free: 13.19 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001893/0.1702, allocations: 131.4 kB / 377.4 MB, free: 13.06 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/0.1704, allocations: 143.4 kB / 377.5 MB, free: 12.92 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.322e-05/0.1705, allocations: 32 kB / 377.6 MB, free: 12.89 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.956e-05/0.1706, allocations: 28 kB / 377.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.642e-05/0.1707, allocations: 71.7 kB / 377.7 MB, free: 12.79 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001646/0.1708, allocations: 143.2 kB / 377.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004372/0.1713, allocations: 322.9 kB / 378.1 MB, free: 12.33 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.161e-06/0.1713, allocations: 0 / 378.1 MB, free: 12.33 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1713, allocations: 0 / 378.1 MB, free: 12.33 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.1713, allocations: 0 / 378.1 MB, free: 12.33 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001437/0.1728, allocations: 0.6341 MB / 378.8 MB, free: 11.64 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.1728, allocations: 12.03 kB / 378.8 MB, free: 11.63 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.896e-05/0.1729, allocations: 28.56 kB / 378.8 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005316/0.1735, allocations: 283.5 kB / 379.1 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.398e-05/0.1735, allocations: 12.81 kB / 379.1 MB, free: 11.28 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.305e-05/0.1735, allocations: 24.31 kB / 379.1 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006648/0.1742, allocations: 247.5 kB / 379.4 MB, free: 11 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.1742, allocations: 0 / 379.4 MB, free: 11 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.059e-05/0.1743, allocations: 8 kB / 379.4 MB, free: 11 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.1743, allocations: 8 kB / 379.4 MB, free: 10.99 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008/0.1751, allocations: 257.5 kB / 379.6 MB, free: 10.74 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001604/0.1767, allocations: 0.8085 MB / 380.4 MB, free: 9.863 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00076/0.1775, allocations: 275.6 kB / 380.7 MB, free: 9.566 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002907/0.1778, allocations: 92.78 kB / 380.8 MB, free: 9.473 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.1778, allocations: 7.938 kB / 380.8 MB, free: 9.465 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004458/0.1783, allocations: 157.8 kB / 380.9 MB, free: 9.289 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 4.689e-06/0.1783, allocations: 4 kB / 381 MB, free: 9.285 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.001905/0.1802, allocations: 0.5184 MB / 381.5 MB, free: 8.738 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.803e-05/0.1803, allocations: 106.8 kB / 381.6 MB, free: 8.609 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003209/0.1807, allocations: 270.5 kB / 381.8 MB, free: 8.328 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/0.1807, allocations: 29.7 kB / 381.9 MB, free: 8.293 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/0.1809, allocations: 187.7 kB / 382.1 MB, free: 8.105 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.215e-05/0.1809, allocations: 35.55 kB / 382.1 MB, free: 8.07 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.449e-05/0.181, allocations: 53.55 kB / 382.1 MB, free: 8.012 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.1812, allocations: 342.7 kB / 382.5 MB, free: 7.668 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003089/0.1815, allocations: 92.78 kB / 382.6 MB, free: 7.574 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003586/0.1819, allocations: 188.7 kB / 382.7 MB, free: 7.344 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007363/0.1826, allocations: 296.6 kB / 383 MB, free: 7.008 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.1826, allocations: 0 / 383 MB, free: 7.008 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.00109/0.1837, allocations: 407.8 kB / 383.4 MB, free: 6.594 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.721e-05/0.1838, allocations: 33.7 kB / 383.5 MB, free: 6.555 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.1838, allocations: 4 kB / 383.5 MB, free: 6.551 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004622/0.1843, allocations: 92.78 kB / 383.6 MB, free: 6.457 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000244/0.1845, allocations: 51.89 kB / 383.6 MB, free: 6.406 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002069/0.1866, allocations: 1.566 MB / 385.2 MB, free: 4.699 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004585/0.1871, allocations: 51.73 kB / 385.2 MB, free: 4.648 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.583e-05/0.1871, allocations: 8 kB / 385.2 MB, free: 4.641 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000464/0.1876, allocations: 176.1 kB / 385.4 MB, free: 4.465 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003961/0.188, allocations: 172.9 kB / 385.6 MB, free: 4.25 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006871/0.1887, allocations: 268.6 kB / 385.8 MB, free: 3.941 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.435e-06/0.1888, allocations: 4 kB / 385.8 MB, free: 3.938 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.001056/0.1898, allocations: 335.8 kB / 386.2 MB, free: 3.594 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.204e-05/0.1899, allocations: 33.7 kB / 386.2 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.1899, allocations: 7.938 kB / 386.2 MB, free: 3.547 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001483/0.1901, allocations: 29.02 kB / 386.2 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002434/0.1903, allocations: 51.91 kB / 386.3 MB, free: 3.465 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002125/0.1925, allocations: 1.544 MB / 387.8 MB, free: 1.781 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004305/0.1929, allocations: 47.91 kB / 387.9 MB, free: 1.734 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.193, allocations: 12 kB / 387.9 MB, free: 1.723 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * 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 {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003397/0.1933, allocations: 196.1 kB / 388.1 MB, free: 1.523 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.616e-05/0.1934, allocations: 23.72 kB / 388.1 MB, free: 1.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.408e-05/0.1935, allocations: 25.64 kB / 388.1 MB, free: 1.473 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/0.1935, allocations: 4 kB / 388.1 MB, free: 1.469 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.1935, allocations: 0 / 388.1 MB, free: 1.469 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.1935, allocations: 0 / 388.1 MB, free: 1.469 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001436/0.1949, allocations: 0.6122 MB / 388.8 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.195, allocations: 4 kB / 388.8 MB, free: 0.793 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001554/0.1951, allocations: 23.97 kB / 388.8 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002577/0.1954, allocations: 48.91 kB / 388.8 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.1954, allocations: 3.938 kB / 388.8 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001865/0.1973, allocations: 1.543 MB / 390.4 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.1973, allocations: 0 / 390.4 MB, free: 15.03 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008388/0.1982, allocations: 359.8 kB / 390.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000156/0.1983, allocations: 100.8 kB / 390.8 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.003e-05/0.1984, allocations: 4 kB / 390.8 MB, free: 14.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002834/0.1987, allocations: 31.97 kB / 390.9 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.1988, allocations: 23.91 kB / 390.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-05/0.1988, allocations: 4 kB / 390.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003035/0.1991, allocations: 194 kB / 391.1 MB, free: 14.29 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.32e-07/0.1992, allocations: 0 / 391.1 MB, free: 14.29 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007978/0.2, allocations: 115.7 kB / 391.2 MB, free: 14.18 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002908/0.2003, allocations: 111.2 kB / 391.3 MB, free: 14.06 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00182/0.2021, allocations: 0.665 MB / 392 MB, free: 13.34 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.2021, allocations: 0 / 392 MB, free: 13.34 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004378/0.2026, allocations: 207.8 kB / 392.2 MB, free: 13.13 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004606/0.203, allocations: 56.59 kB / 392.2 MB, free: 13.07 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.2042, allocations: 439.7 kB / 392.7 MB, free: 12.62 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004187/0.2047, allocations: 0.7404 MB / 393.4 MB, free: 11.86 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001462/0.2048, allocations: 30.28 kB / 393.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.803e-05/0.2049, allocations: 23.44 kB / 393.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of SimCode: time 8.22e-07/0.2049, allocations: 0 / 393.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of Templates: time 0.00877/0.2137, allocations: 3.889 MB / 397.3 MB, free: 7.914 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1)