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.01271/0.01271, allocations: 97.38 kB / 15.73 MB, free: 6.066 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.002085/0.002085, allocations: 195.5 kB / 16.68 MB, free: 5.973 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.016/2.016, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.001319/0.001319, allocations: 54.48 kB / 326.6 MB, free: 14.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.1318, allocations: 46.63 MB / 373.2 MB, free: 1.293 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.005559/0.1375, allocations: 2.696 MB / 375.9 MB, free: 14.58 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001725/0.1393, allocations: 0.7135 MB / 376.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002113/0.1395, allocations: 7.938 kB / 376.6 MB, free: 13.85 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001731/0.1397, allocations: 43.58 kB / 376.7 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002791/0.14, allocations: 87.25 kB / 376.7 MB, free: 13.72 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003991/0.1404, allocations: 95.81 kB / 376.8 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000503/0.1409, allocations: 350.5 kB / 377.2 MB, free: 13.28 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003041/0.1412, allocations: 92.69 kB / 377.3 MB, free: 13.19 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003398/0.1416, allocations: 135.4 kB / 377.4 MB, free: 13.06 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002666/0.1419, allocations: 143.4 kB / 377.5 MB, free: 12.92 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.558e-05/0.142, allocations: 28 kB / 377.6 MB, free: 12.89 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.986e-05/0.1421, allocations: 32 kB / 377.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.1422, allocations: 59.77 kB / 377.7 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001786/0.1423, allocations: 155.2 kB / 377.8 MB, free: 12.65 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006848/0.143, allocations: 326.6 kB / 378.1 MB, free: 12.33 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/0.1431, allocations: 0 / 378.1 MB, free: 12.33 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1431, allocations: 0 / 378.1 MB, free: 12.33 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.1431, 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.001466/0.1446, allocations: 0.6416 MB / 378.8 MB, free: 11.63 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.1446, allocations: 12.03 kB / 378.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.365e-05/0.1447, allocations: 32.75 kB / 378.8 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006119/0.1453, allocations: 279.6 kB / 379.1 MB, free: 11.28 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.983e-05/0.1454, allocations: 16.81 kB / 379.1 MB, free: 11.26 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.1455, allocations: 20.38 kB / 379.1 MB, free: 11.24 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008056/0.1463, allocations: 251.5 kB / 379.4 MB, free: 10.99 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/0.1464, allocations: 0 / 379.4 MB, free: 10.99 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.664e-05/0.1464, allocations: 8 kB / 379.4 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.1464, allocations: 4 kB / 379.4 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008385/0.1473, allocations: 253.6 kB / 379.6 MB, free: 10.73 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002208/0.1495, allocations: 0.8243 MB / 380.5 MB, free: 9.84 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007627/0.1503, allocations: 275.6 kB / 380.7 MB, free: 9.543 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002991/0.1506, allocations: 80.8 kB / 380.8 MB, free: 9.461 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.317e-05/0.1507, allocations: 7.922 kB / 380.8 MB, free: 9.453 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005862/0.1513, allocations: 173.8 kB / 381 MB, free: 9.262 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.854e-06/0.1513, allocations: 0 / 381 MB, free: 9.262 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.00218/0.1535, allocations: 0.5186 MB / 381.5 MB, free: 8.715 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.02e-05/0.1536, allocations: 106.8 kB / 381.6 MB, free: 8.586 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003451/0.1539, allocations: 270.6 kB / 381.9 MB, free: 8.305 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.831e-05/0.1539, allocations: 29.7 kB / 381.9 MB, free: 8.27 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001491/0.1541, allocations: 188 kB / 382.1 MB, free: 8.082 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.51e-05/0.1541, allocations: 43.61 kB / 382.1 MB, free: 8.039 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.1543, allocations: 49.66 kB / 382.2 MB, free: 7.984 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001543/0.1544, allocations: 342.8 kB / 382.5 MB, free: 7.641 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003114/0.1547, allocations: 92.78 kB / 382.6 MB, free: 7.547 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003664/0.1551, allocations: 188.8 kB / 382.8 MB, free: 7.316 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006809/0.1558, allocations: 288.6 kB / 383.1 MB, free: 6.988 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.758e-06/0.1558, allocations: 0 / 383.1 MB, free: 6.988 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001483/0.1573, allocations: 407.9 kB / 383.5 MB, free: 6.574 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.433e-05/0.1574, allocations: 38.78 kB / 383.5 MB, free: 6.531 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/0.1574, allocations: 4 kB / 383.5 MB, free: 6.527 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005298/0.158, allocations: 96.78 kB / 383.6 MB, free: 6.43 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003018/0.1583, allocations: 47.91 kB / 383.6 MB, free: 6.383 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002601/0.1609, allocations: 1.563 MB / 385.2 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003925/0.1613, allocations: 51.88 kB / 385.3 MB, free: 4.629 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.1613, allocations: 12 kB / 385.3 MB, free: 4.617 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003947/0.1618, allocations: 176.1 kB / 385.4 MB, free: 4.441 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003468/0.1621, allocations: 184.7 kB / 385.6 MB, free: 4.215 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006681/0.1628, allocations: 260.7 kB / 385.9 MB, free: 3.914 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.613e-06/0.1628, allocations: 3.938 kB / 385.9 MB, free: 3.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0008942/0.1637, allocations: 339.9 kB / 386.2 MB, free: 3.562 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.501e-05/0.1638, allocations: 33.7 kB / 386.2 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.1638, allocations: 4 kB / 386.2 MB, free: 3.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.781e-05/0.1639, allocations: 24.84 kB / 386.3 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002063/0.1641, allocations: 52.11 kB / 386.3 MB, free: 3.441 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001231/0.1653, allocations: 1.548 MB / 387.9 MB, free: 1.754 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003288/0.1657, allocations: 47.86 kB / 387.9 MB, free: 1.707 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.1657, allocations: 8 kB / 387.9 MB, free: 1.699 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.0001998/0.1659, allocations: 204.1 kB / 388.1 MB, free: 1.492 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.239e-05/0.166, allocations: 23.8 kB / 388.2 MB, free: 1.469 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.723e-05/0.166, allocations: 29.77 kB / 388.2 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.166, allocations: 0 / 388.2 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.166, allocations: 0 / 388.2 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.1661, allocations: 0 / 388.2 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/0.1676, allocations: 0.6083 MB / 388.8 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.1676, allocations: 0 / 388.8 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.1677, allocations: 27.91 kB / 388.8 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002328/0.168, allocations: 44.81 kB / 388.9 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.349e-05/0.168, allocations: 15.94 kB / 388.9 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002028/0.1701, allocations: 1.539 MB / 390.4 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1701, allocations: 0 / 390.4 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009252/0.171, allocations: 364 kB / 390.8 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.869e-05/0.1711, allocations: 96.97 kB / 390.9 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.235e-05/0.1711, allocations: 0 / 390.9 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002734/0.1714, allocations: 31.95 kB / 390.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.111e-05/0.1715, allocations: 27.86 kB / 390.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.1715, allocations: 3.984 kB / 390.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002091/0.1717, allocations: 190 kB / 391.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1718, allocations: 4 kB / 391.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006009/0.1724, allocations: 115.8 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.0001858/0.1726, allocations: 107.2 kB / 391.3 MB, free: 14.04 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001467/0.174, allocations: 0.6609 MB / 392 MB, free: 13.32 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.174, allocations: 0 / 392 MB, free: 13.32 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004207/0.1745, allocations: 215.5 kB / 392.2 MB, free: 13.1 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004287/0.1749, allocations: 60.55 kB / 392.3 MB, free: 13.04 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.176, allocations: 446.9 kB / 392.7 MB, free: 12.58 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003556/0.1764, allocations: 0.7444 MB / 393.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001365/0.1765, allocations: 26.23 kB / 393.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.401e-05/0.1766, allocations: 23.42 kB / 393.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1766, allocations: 0 / 393.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of Templates: time 0.00879/0.1854, allocations: 3.885 MB / 397.4 MB, free: 7.875 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)