Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.008729/0.008729, allocations: 102.5 kB / 15.73 MB, free: 5.984 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.001502/0.001503, allocations: 199.2 kB / 16.68 MB, free: 5.91 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.957/1.957, allocations: 205.1 MB / 222.5 MB, free: 4.484 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.001203/0.001203, allocations: 51.64 kB / 326.6 MB, free: 14.5 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.127/0.1282, allocations: 46.63 MB / 373.2 MB, free: 1.398 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004535/0.1328, allocations: 2.684 MB / 375.9 MB, free: 14.7 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.1342, allocations: 0.7173 MB / 376.6 MB, free: 13.97 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001708/0.1344, allocations: 4 kB / 376.6 MB, free: 13.96 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001809/0.1347, allocations: 47.56 kB / 376.7 MB, free: 13.92 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002029/0.1349, allocations: 87.25 kB / 376.7 MB, free: 13.83 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003788/0.1352, allocations: 91.83 kB / 376.8 MB, free: 13.74 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004445/0.1357, allocations: 358.4 kB / 377.2 MB, free: 13.39 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002374/0.136, allocations: 92.64 kB / 377.3 MB, free: 13.3 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000165/0.1361, allocations: 131.5 kB / 377.4 MB, free: 13.17 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002157/0.1364, allocations: 147.4 kB / 377.5 MB, free: 13.03 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.384e-05/0.1364, allocations: 28 kB / 377.6 MB, free: 13 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.862e-05/0.1365, allocations: 32 kB / 377.6 MB, free: 12.97 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.805e-05/0.1366, allocations: 63.7 kB / 377.7 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.1367, allocations: 143.3 kB / 377.8 MB, free: 12.77 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003837/0.1371, allocations: 326.9 kB / 378.1 MB, free: 12.45 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1372, allocations: 0 / 378.1 MB, free: 12.45 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1372, allocations: 0 / 378.1 MB, free: 12.45 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.1372, allocations: 4 kB / 378.1 MB, free: 12.44 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.001345/0.1385, allocations: 0.6302 MB / 378.8 MB, free: 11.76 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.1386, allocations: 8.031 kB / 378.8 MB, free: 11.75 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.989e-05/0.1387, allocations: 32.56 kB / 378.8 MB, free: 11.72 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004222/0.1391, allocations: 271.5 kB / 379.1 MB, free: 11.41 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.1391, allocations: 16.81 kB / 379.1 MB, free: 11.4 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.4e-05/0.1392, allocations: 28.31 kB / 379.1 MB, free: 11.37 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006047/0.1398, allocations: 251.5 kB / 379.4 MB, free: 11.12 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.1398, allocations: 4 kB / 379.4 MB, free: 11.11 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.91e-05/0.1398, allocations: 8 kB / 379.4 MB, free: 11.11 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.1399, allocations: 4 kB / 379.4 MB, free: 11.1 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007817/0.1407, allocations: 257.5 kB / 379.6 MB, free: 10.85 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00151/0.1422, allocations: 0.8124 MB / 380.4 MB, free: 9.973 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007478/0.1429, allocations: 279.6 kB / 380.7 MB, free: 9.672 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002963/0.1432, allocations: 88.78 kB / 380.8 MB, free: 9.582 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.221e-05/0.1433, allocations: 3.938 kB / 380.8 MB, free: 9.578 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004531/0.1437, allocations: 161.8 kB / 381 MB, free: 9.398 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 2.064e-06/0.1438, allocations: 0 / 381 MB, free: 9.398 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.001882/0.1456, allocations: 0.5223 MB / 381.5 MB, free: 8.848 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.528e-05/0.1457, allocations: 106.8 kB / 381.6 MB, free: 8.719 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000328/0.1461, allocations: 274.5 kB / 381.9 MB, free: 8.434 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.636e-05/0.1461, allocations: 29.7 kB / 381.9 MB, free: 8.398 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.1463, allocations: 183.7 kB / 382.1 MB, free: 8.215 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.1463, allocations: 39.47 kB / 382.1 MB, free: 8.176 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.1464, allocations: 53.61 kB / 382.2 MB, free: 8.117 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.1466, allocations: 334.8 kB / 382.5 MB, free: 7.781 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003144/0.1469, allocations: 100.7 kB / 382.6 MB, free: 7.68 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000353/0.1473, allocations: 188.7 kB / 382.8 MB, free: 7.449 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006364/0.1479, allocations: 288.6 kB / 383 MB, free: 7.121 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1479, allocations: 0 / 383 MB, free: 7.121 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001075/0.149, allocations: 403.8 kB / 383.4 MB, free: 6.711 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.652e-05/0.1491, allocations: 33.7 kB / 383.5 MB, free: 6.672 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.1491, allocations: 12.09 kB / 383.5 MB, free: 6.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004407/0.1495, allocations: 88.75 kB / 383.6 MB, free: 6.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002523/0.1498, allocations: 51.95 kB / 383.6 MB, free: 6.52 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001761/0.1516, allocations: 1.562 MB / 385.2 MB, free: 4.816 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003388/0.1519, allocations: 55.8 kB / 385.2 MB, free: 4.762 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.488e-05/0.1519, allocations: 8 kB / 385.2 MB, free: 4.754 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003433/0.1523, allocations: 176.1 kB / 385.4 MB, free: 4.578 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003281/0.1526, allocations: 172.8 kB / 385.6 MB, free: 4.363 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005831/0.1532, allocations: 268.6 kB / 385.8 MB, free: 4.055 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.854e-06/0.1532, allocations: 0 / 385.8 MB, free: 4.055 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0007556/0.154, allocations: 343.6 kB / 386.2 MB, free: 3.703 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.559e-05/0.1541, allocations: 33.7 kB / 386.2 MB, free: 3.664 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.1541, allocations: 4 kB / 386.2 MB, free: 3.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.847e-05/0.1542, allocations: 24.84 kB / 386.2 MB, free: 3.633 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.1544, allocations: 64.19 kB / 386.3 MB, free: 3.57 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001255/0.1557, allocations: 1.536 MB / 387.8 MB, free: 1.895 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003437/0.156, allocations: 47.8 kB / 387.9 MB, free: 1.848 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.185e-05/0.1561, allocations: 12 kB / 387.9 MB, free: 1.836 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.0002056/0.1563, allocations: 196.1 kB / 388.1 MB, free: 1.637 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.524e-05/0.1563, allocations: 27.72 kB / 388.1 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.975e-05/0.1564, allocations: 25.7 kB / 388.1 MB, free: 1.582 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.1564, allocations: 0 / 388.1 MB, free: 1.582 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.1564, allocations: 0 / 388.1 MB, free: 1.582 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1564, allocations: 0 / 388.1 MB, free: 1.582 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.1576, allocations: 0.6083 MB / 388.8 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1576, allocations: 0 / 388.8 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001333/0.1578, allocations: 19.98 kB / 388.8 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001857/0.158, allocations: 56.89 kB / 388.8 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/0.158, allocations: 7.938 kB / 388.8 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001634/0.1596, allocations: 1.535 MB / 390.4 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1596, allocations: 4.062 kB / 390.4 MB, free: 15.15 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008138/0.1605, allocations: 372.3 kB / 390.7 MB, free: 14.77 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.683e-05/0.1606, allocations: 96.81 kB / 390.8 MB, free: 14.65 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.558e-05/0.1606, allocations: 8 kB / 390.8 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002578/0.1609, allocations: 23.97 kB / 390.9 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.837e-05/0.161, allocations: 23.91 kB / 390.9 MB, free: 14.6 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-05/0.161, allocations: 0 / 390.9 MB, free: 14.6 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002184/0.1612, allocations: 202 kB / 391.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1612, allocations: 0 / 391.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005907/0.1618, allocations: 115.7 kB / 391.2 MB, free: 14.29 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.0001847/0.162, allocations: 107.3 kB / 391.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001632/0.1636, allocations: 0.6648 MB / 392 MB, free: 13.46 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.1637, allocations: 0.5 kB / 392 MB, free: 13.46 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004243/0.1641, allocations: 214.5 kB / 392.2 MB, free: 13.24 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004542/0.1646, allocations: 48.41 kB / 392.2 MB, free: 13.19 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.1657, allocations: 439.4 kB / 392.7 MB, free: 12.74 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.166, allocations: 0.7483 MB / 393.4 MB, free: 11.96 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001301/0.1662, allocations: 26.28 kB / 393.4 MB, free: 11.94 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.69e-05/0.1662, allocations: 23.44 kB / 393.5 MB, free: 11.92 MB / 334.1 MB Notification: Performance of SimCode: time 8.52e-07/0.1663, allocations: 0 / 393.5 MB, free: 11.92 MB / 334.1 MB Notification: Performance of Templates: time 0.008865/0.1751, allocations: 3.89 MB / 397.3 MB, free: 8.023 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1)