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.009105/0.009105, allocations: 103 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.001805/0.001805, allocations: 197.6 kB / 16.68 MB, free: 5.98 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.853/1.853, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.001257/0.001257, allocations: 48.38 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.133, allocations: 46.62 MB / 373.2 MB, free: 1.312 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.005168/0.1383, allocations: 2.684 MB / 375.9 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.1399, allocations: 0.7251 MB / 376.6 MB, free: 13.88 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001988/0.1402, allocations: 4 kB / 376.6 MB, free: 13.87 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002392/0.1404, allocations: 43.58 kB / 376.7 MB, free: 13.83 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002218/0.1406, allocations: 95.25 kB / 376.7 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004008/0.141, allocations: 91.81 kB / 376.8 MB, free: 13.64 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004832/0.1415, allocations: 354.4 kB / 377.2 MB, free: 13.3 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002811/0.1418, allocations: 96.56 kB / 377.3 MB, free: 13.2 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002142/0.142, allocations: 135.4 kB / 377.4 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002253/0.1423, allocations: 143.4 kB / 377.5 MB, free: 12.93 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.196e-05/0.1423, allocations: 28 kB / 377.6 MB, free: 12.9 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.564e-05/0.1424, allocations: 32 kB / 377.6 MB, free: 12.87 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.36e-05/0.1425, allocations: 67.69 kB / 377.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001781/0.1427, allocations: 147.3 kB / 377.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003601/0.1431, allocations: 322.9 kB / 378.1 MB, free: 12.34 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1431, allocations: 0 / 378.1 MB, free: 12.34 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1431, allocations: 0 / 378.1 MB, free: 12.34 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.1431, allocations: 0 / 378.1 MB, free: 12.34 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.001236/0.1443, allocations: 0.638 MB / 378.8 MB, free: 11.65 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.1444, allocations: 8.031 kB / 378.8 MB, free: 11.64 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.135e-05/0.1445, allocations: 32.56 kB / 378.8 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00041/0.1449, allocations: 275.5 kB / 379.1 MB, free: 11.3 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.1449, allocations: 16.81 kB / 379.1 MB, free: 11.29 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.542e-05/0.145, allocations: 16.38 kB / 379.1 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006141/0.1456, allocations: 255.5 kB / 379.4 MB, free: 11.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.1456, allocations: 0 / 379.4 MB, free: 11.02 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.022e-05/0.1456, allocations: 12 kB / 379.4 MB, free: 11 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.795e-06/0.1456, allocations: 4 kB / 379.4 MB, free: 11 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007307/0.1464, allocations: 257.5 kB / 379.6 MB, free: 10.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001491/0.1479, allocations: 0.8124 MB / 380.4 MB, free: 9.871 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006126/0.1485, allocations: 271.6 kB / 380.7 MB, free: 9.578 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000267/0.1488, allocations: 92.81 kB / 380.8 MB, free: 9.484 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/0.1488, allocations: 3.938 kB / 380.8 MB, free: 9.48 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004157/0.1493, allocations: 173.8 kB / 381 MB, free: 9.289 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.1493, allocations: 0 / 381 MB, free: 9.289 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.00171/0.151, allocations: 0.5146 MB / 381.5 MB, free: 8.746 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.341e-05/0.1511, allocations: 106.8 kB / 381.6 MB, free: 8.617 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003232/0.1514, allocations: 270.5 kB / 381.9 MB, free: 8.336 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.1515, allocations: 33.7 kB / 381.9 MB, free: 8.297 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.1516, allocations: 187.7 kB / 382.1 MB, free: 8.109 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/0.1517, allocations: 31.55 kB / 382.1 MB, free: 8.078 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.091e-05/0.1518, allocations: 53.55 kB / 382.2 MB, free: 8.02 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.1519, allocations: 338.8 kB / 382.5 MB, free: 7.68 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000291/0.1522, allocations: 96.78 kB / 382.6 MB, free: 7.582 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003371/0.1526, allocations: 192.7 kB / 382.8 MB, free: 7.348 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000575/0.1532, allocations: 284.6 kB / 383 MB, free: 7.023 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.1532, allocations: 0 / 383 MB, free: 7.023 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001006/0.1542, allocations: 411.7 kB / 383.4 MB, free: 6.605 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.313e-05/0.1543, allocations: 33.7 kB / 383.5 MB, free: 6.566 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1543, allocations: 0 / 383.5 MB, free: 6.566 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004048/0.1547, allocations: 96.84 kB / 383.6 MB, free: 6.469 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.1549, allocations: 47.91 kB / 383.6 MB, free: 6.422 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001702/0.1566, allocations: 1.562 MB / 385.2 MB, free: 4.719 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002791/0.1569, allocations: 51.81 kB / 385.2 MB, free: 4.668 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.036e-05/0.157, allocations: 23.97 kB / 385.3 MB, free: 4.645 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003244/0.1573, allocations: 172.1 kB / 385.4 MB, free: 4.473 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002806/0.1576, allocations: 176.8 kB / 385.6 MB, free: 4.254 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004935/0.1581, allocations: 264.6 kB / 385.9 MB, free: 3.949 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.573e-06/0.1581, allocations: 0 / 385.9 MB, free: 3.949 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0006978/0.1588, allocations: 335.7 kB / 386.2 MB, free: 3.605 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.529e-05/0.1588, allocations: 37.69 kB / 386.2 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.946e-06/0.1589, allocations: 0 / 386.2 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.691e-05/0.1589, allocations: 28.98 kB / 386.2 MB, free: 3.531 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/0.1591, allocations: 52.16 kB / 386.3 MB, free: 3.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001176/0.1603, allocations: 1.548 MB / 387.8 MB, free: 1.793 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002852/0.1606, allocations: 47.8 kB / 387.9 MB, free: 1.746 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.1606, allocations: 12 kB / 387.9 MB, free: 1.734 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.0001702/0.1608, allocations: 192.1 kB / 388.1 MB, free: 1.539 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.534e-05/0.1609, allocations: 27.78 kB / 388.1 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.838e-05/0.1609, allocations: 33.64 kB / 388.2 MB, free: 1.477 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1609, allocations: 0 / 388.2 MB, free: 1.477 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.1609, allocations: 0 / 388.2 MB, free: 1.477 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.161, allocations: 0 / 388.2 MB, free: 1.477 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.1621, allocations: 0.6044 MB / 388.8 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1621, allocations: 0 / 388.8 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001252/0.1622, allocations: 23.97 kB / 388.8 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001611/0.1624, allocations: 44.91 kB / 388.8 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.1624, allocations: 11.94 kB / 388.8 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001603/0.164, allocations: 1.539 MB / 390.4 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.1641, allocations: 64 / 390.4 MB, free: 15.05 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007297/0.1648, allocations: 363.8 kB / 390.7 MB, free: 14.68 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.031e-05/0.1649, allocations: 100.8 kB / 390.8 MB, free: 14.56 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.363e-05/0.1649, allocations: 4 kB / 390.8 MB, free: 14.55 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002311/0.1652, allocations: 27.97 kB / 390.9 MB, free: 14.53 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.132e-05/0.1653, allocations: 27.91 kB / 390.9 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.1653, allocations: 4 kB / 390.9 MB, free: 14.5 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000195/0.1655, allocations: 190 kB / 391.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1655, allocations: 0 / 391.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005762/0.1661, allocations: 119.7 kB / 391.2 MB, free: 14.2 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.0001511/0.1662, allocations: 115.2 kB / 391.3 MB, free: 14.07 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001274/0.1675, allocations: 0.6609 MB / 392 MB, free: 13.36 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.778e-06/0.1675, allocations: 384 / 392 MB, free: 13.36 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003946/0.1679, allocations: 218.5 kB / 392.2 MB, free: 13.14 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/0.1684, allocations: 49.31 kB / 392.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.1694, allocations: 443.4 kB / 392.7 MB, free: 12.63 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.1698, allocations: 0.7444 MB / 393.4 MB, free: 11.86 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001562/0.17, allocations: 30.28 kB / 393.4 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.121e-05/0.17, allocations: 19.44 kB / 393.5 MB, free: 11.82 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.17, allocations: 0 / 393.5 MB, free: 11.82 MB / 334.1 MB Notification: Performance of Templates: time 0.008528/0.1786, allocations: 3.889 MB / 397.3 MB, free: 7.922 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)