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.01236/0.01236, allocations: 100.6 kB / 15.73 MB, free: 6.051 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.002122/0.002122, allocations: 196.6 kB / 16.68 MB, free: 5.965 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.077/2.077, allocations: 205.1 MB / 222.6 MB, free: 4.387 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.00124/0.00124, allocations: 47.7 kB / 326.6 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1464, allocations: 46.63 MB / 373.2 MB, free: 1.262 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.005348/0.1518, allocations: 2.684 MB / 375.9 MB, free: 14.56 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001812/0.1537, allocations: 0.7251 MB / 376.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003792/0.1542, allocations: 4 kB / 376.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000233/0.1544, allocations: 47.52 kB / 376.7 MB, free: 13.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003839/0.1548, allocations: 83.27 kB / 376.7 MB, free: 13.69 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005179/0.1554, allocations: 103.8 kB / 376.8 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005116/0.1559, allocations: 350.4 kB / 377.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000262/0.1562, allocations: 92.62 kB / 377.3 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002779/0.1565, allocations: 131.4 kB / 377.4 MB, free: 13.03 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002847/0.1568, allocations: 147.4 kB / 377.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.791e-05/0.1568, allocations: 32 kB / 377.6 MB, free: 12.85 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.079e-05/0.1569, allocations: 28 kB / 377.6 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.157, allocations: 67.7 kB / 377.7 MB, free: 12.76 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002268/0.1573, allocations: 147.2 kB / 377.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000656/0.1579, allocations: 318.9 kB / 378.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.04e-05/0.1579, allocations: 0 / 378.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.526e-06/0.158, allocations: 0 / 378.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.158, allocations: 0 / 378.1 MB, free: 12.3 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.001975/0.16, allocations: 0.638 MB / 378.8 MB, free: 11.61 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.142e-05/0.1601, allocations: 8.031 kB / 378.8 MB, free: 11.6 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/0.1602, allocations: 32.56 kB / 378.8 MB, free: 11.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007831/0.161, allocations: 279.5 kB / 379.1 MB, free: 11.26 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.894e-05/0.1611, allocations: 16.81 kB / 379.1 MB, free: 11.24 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.112e-05/0.1611, allocations: 20.38 kB / 379.1 MB, free: 11.22 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007195/0.1618, allocations: 251.5 kB / 379.4 MB, free: 10.97 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.1619, allocations: 4 kB / 379.4 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.119e-05/0.1619, allocations: 4 kB / 379.4 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.1619, allocations: 4 kB / 379.4 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007582/0.1627, allocations: 253.6 kB / 379.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001593/0.1643, allocations: 0.8241 MB / 380.4 MB, free: 9.82 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006188/0.1649, allocations: 271.6 kB / 380.7 MB, free: 9.527 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002532/0.1652, allocations: 84.8 kB / 380.8 MB, free: 9.441 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.1652, allocations: 7.922 kB / 380.8 MB, free: 9.434 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004032/0.1657, allocations: 165.8 kB / 381 MB, free: 9.25 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 2.435e-06/0.1657, allocations: 4 kB / 381 MB, free: 9.246 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.001701/0.1674, allocations: 0.5185 MB / 381.5 MB, free: 8.699 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.005e-05/0.1675, allocations: 106.8 kB / 381.6 MB, free: 8.57 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003275/0.1678, allocations: 270.5 kB / 381.9 MB, free: 8.289 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/0.1678, allocations: 33.64 kB / 381.9 MB, free: 8.25 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001539/0.168, allocations: 179.7 kB / 382.1 MB, free: 8.07 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/0.1681, allocations: 35.55 kB / 382.1 MB, free: 8.035 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.1682, allocations: 53.55 kB / 382.2 MB, free: 7.977 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001389/0.1683, allocations: 342.8 kB / 382.5 MB, free: 7.633 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002956/0.1686, allocations: 96.72 kB / 382.6 MB, free: 7.535 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003417/0.169, allocations: 184.8 kB / 382.8 MB, free: 7.309 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005854/0.1696, allocations: 288.6 kB / 383 MB, free: 6.98 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.1696, allocations: 4 kB / 383 MB, free: 6.977 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001022/0.1706, allocations: 403.9 kB / 383.4 MB, free: 6.566 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.66e-05/0.1707, allocations: 38.78 kB / 383.5 MB, free: 6.523 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.1707, allocations: 4 kB / 383.5 MB, free: 6.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000508/0.1712, allocations: 96.78 kB / 383.6 MB, free: 6.422 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000279/0.1715, allocations: 47.91 kB / 383.6 MB, free: 6.375 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002108/0.1736, allocations: 1.57 MB / 385.2 MB, free: 4.664 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003963/0.174, allocations: 43.75 kB / 385.2 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.088e-05/0.1741, allocations: 12 kB / 385.2 MB, free: 4.609 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003502/0.1744, allocations: 176.1 kB / 385.4 MB, free: 4.434 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003281/0.1748, allocations: 172.9 kB / 385.6 MB, free: 4.219 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005715/0.1754, allocations: 268.6 kB / 385.9 MB, free: 3.91 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.375e-06/0.1754, allocations: 4 kB / 385.9 MB, free: 3.906 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0007722/0.1761, allocations: 339.9 kB / 386.2 MB, free: 3.559 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.482e-05/0.1762, allocations: 33.7 kB / 386.2 MB, free: 3.52 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1762, allocations: 4 kB / 386.2 MB, free: 3.516 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001176/0.1763, allocations: 24.84 kB / 386.2 MB, free: 3.488 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.1766, allocations: 51.89 kB / 386.3 MB, free: 3.438 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00162/0.1782, allocations: 1.548 MB / 387.8 MB, free: 1.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003338/0.1786, allocations: 47.91 kB / 387.9 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.1786, allocations: 8 kB / 387.9 MB, free: 1.695 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.0001927/0.1788, allocations: 208.1 kB / 388.1 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.617e-05/0.1789, allocations: 19.72 kB / 388.1 MB, free: 1.465 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.981e-05/0.1789, allocations: 25.66 kB / 388.1 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.179, allocations: 3.984 kB / 388.2 MB, free: 1.434 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-06/0.179, allocations: 0 / 388.2 MB, free: 1.434 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.179, allocations: 8.078 kB / 388.2 MB, free: 1.426 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.1802, allocations: 0.6005 MB / 388.8 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.726e-06/0.1802, allocations: 4 kB / 388.8 MB, free: 0.7617 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.1803, allocations: 27.97 kB / 388.8 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001824/0.1805, allocations: 44.81 kB / 388.8 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.174e-05/0.1805, allocations: 11.88 kB / 388.8 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00174/0.1823, allocations: 1.531 MB / 390.4 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1823, allocations: 4.031 kB / 390.4 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008887/0.1832, allocations: 360.4 kB / 390.7 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.1834, allocations: 96.83 kB / 390.8 MB, free: 14.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.268e-05/0.1834, allocations: 8 kB / 390.8 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/0.1837, allocations: 35.95 kB / 390.9 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.1838, allocations: 19.92 kB / 390.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-05/0.1838, allocations: 7.922 kB / 390.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002554/0.1841, allocations: 190 kB / 391.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1841, allocations: 0 / 391.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007561/0.1849, allocations: 119.7 kB / 391.2 MB, free: 14.15 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.0002847/0.1852, allocations: 115.3 kB / 391.3 MB, free: 14.02 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001754/0.1869, allocations: 0.6567 MB / 392 MB, free: 13.32 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.1869, allocations: 0 / 392 MB, free: 13.32 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004575/0.1874, allocations: 219.2 kB / 392.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000517/0.1879, allocations: 52.45 kB / 392.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001361/0.1893, allocations: 439.4 kB / 392.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005203/0.1899, allocations: 0.7444 MB / 393.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001713/0.19, allocations: 26.3 kB / 393.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.015e-05/0.1901, allocations: 23.42 kB / 393.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of SimCode: time 1.513e-06/0.1901, allocations: 0 / 393.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of Templates: time 0.01151/0.2016, allocations: 3.882 MB / 397.3 MB, free: 7.883 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)