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.01282/0.01282, allocations: 101.2 kB / 15.73 MB, free: 6.055 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.002362/0.002361, allocations: 200.1 kB / 16.68 MB, free: 5.969 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.897/1.897, allocations: 205.1 MB / 222.5 MB, free: 4.312 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.001278/0.001278, allocations: 46.36 kB / 326.6 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1203, allocations: 46.63 MB / 373.2 MB, free: 1.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.005997/0.1263, allocations: 2.688 MB / 375.9 MB, free: 14.56 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001872/0.1282, allocations: 0.7213 MB / 376.6 MB, free: 13.83 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000241/0.1286, allocations: 4 kB / 376.6 MB, free: 13.83 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002544/0.1288, allocations: 43.56 kB / 376.7 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003168/0.1292, allocations: 87.27 kB / 376.7 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004308/0.1296, allocations: 95.81 kB / 376.8 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005362/0.1302, allocations: 362.4 kB / 377.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002642/0.1304, allocations: 88.62 kB / 377.3 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002104/0.1307, allocations: 131.5 kB / 377.4 MB, free: 13.04 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002233/0.1309, allocations: 143.4 kB / 377.5 MB, free: 12.89 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.307e-05/0.131, allocations: 32 kB / 377.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.824e-05/0.131, allocations: 28 kB / 377.6 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.531e-05/0.1311, allocations: 75.69 kB / 377.7 MB, free: 12.76 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002241/0.1314, allocations: 139.3 kB / 377.8 MB, free: 12.62 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005288/0.1319, allocations: 326.9 kB / 378.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.1319, allocations: 3.938 kB / 378.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.132, allocations: 0 / 378.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.686e-05/0.132, 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.001933/0.1339, allocations: 0.6341 MB / 378.8 MB, free: 11.61 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.042e-05/0.134, allocations: 8.031 kB / 378.8 MB, free: 11.61 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001431/0.1341, allocations: 32.56 kB / 378.8 MB, free: 11.57 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00062/0.1348, allocations: 275.5 kB / 379.1 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.984e-05/0.1348, allocations: 16.81 kB / 379.1 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.12e-05/0.1349, allocations: 20.38 kB / 379.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008922/0.1358, allocations: 247.5 kB / 379.4 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.1358, allocations: 0 / 379.4 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.361e-05/0.1359, allocations: 12 kB / 379.4 MB, free: 10.97 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.931e-05/0.1359, allocations: 8 kB / 379.4 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/0.137, allocations: 261.5 kB / 379.6 MB, free: 10.71 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002127/0.1391, allocations: 0.8124 MB / 380.4 MB, free: 9.828 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009202/0.1401, allocations: 263.7 kB / 380.7 MB, free: 9.543 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002893/0.1404, allocations: 92.78 kB / 380.8 MB, free: 9.449 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.225e-05/0.1404, allocations: 7.875 kB / 380.8 MB, free: 9.441 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004478/0.1409, allocations: 157.8 kB / 381 MB, free: 9.266 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 2.204e-06/0.1409, allocations: 4 kB / 381 MB, free: 9.262 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.001825/0.1427, allocations: 0.5223 MB / 381.5 MB, free: 8.711 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.415e-05/0.1428, allocations: 106.8 kB / 381.6 MB, free: 8.582 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004307/0.1433, allocations: 274.5 kB / 381.9 MB, free: 8.297 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.943e-05/0.1433, allocations: 25.7 kB / 381.9 MB, free: 8.266 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/0.1435, allocations: 183.7 kB / 382.1 MB, free: 8.082 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.635e-05/0.1436, allocations: 35.53 kB / 382.1 MB, free: 8.047 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001335/0.1437, allocations: 57.55 kB / 382.1 MB, free: 7.984 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000182/0.1439, allocations: 338.8 kB / 382.5 MB, free: 7.645 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004277/0.1443, allocations: 96.78 kB / 382.6 MB, free: 7.547 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004885/0.1448, allocations: 188.7 kB / 382.8 MB, free: 7.316 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008802/0.1457, allocations: 284.7 kB / 383 MB, free: 6.992 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-06/0.1458, allocations: 4 kB / 383 MB, free: 6.988 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001564/0.1473, allocations: 407.8 kB / 383.4 MB, free: 6.574 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.382e-05/0.1474, allocations: 33.7 kB / 383.5 MB, free: 6.535 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.1474, allocations: 4 kB / 383.5 MB, free: 6.531 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005898/0.148, allocations: 92.78 kB / 383.6 MB, free: 6.438 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003406/0.1484, allocations: 51.91 kB / 383.6 MB, free: 6.387 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002334/0.1507, allocations: 1.566 MB / 385.2 MB, free: 4.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004894/0.1512, allocations: 55.67 kB / 385.2 MB, free: 4.625 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.691e-05/0.1513, allocations: 8 kB / 385.2 MB, free: 4.617 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004789/0.1518, allocations: 176.1 kB / 385.4 MB, free: 4.441 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000462/0.1523, allocations: 176.8 kB / 385.6 MB, free: 4.223 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007943/0.1531, allocations: 264.6 kB / 385.8 MB, free: 3.918 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.853e-06/0.1531, allocations: 4 kB / 385.9 MB, free: 3.914 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.001071/0.1542, allocations: 336 kB / 386.2 MB, free: 3.57 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.378e-05/0.1542, allocations: 41.69 kB / 386.2 MB, free: 3.523 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.1543, allocations: 4.078 kB / 386.2 MB, free: 3.52 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001183/0.1544, allocations: 24.78 kB / 386.2 MB, free: 3.492 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002832/0.1547, allocations: 47.97 kB / 386.3 MB, free: 3.445 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001545/0.1562, allocations: 1.552 MB / 387.8 MB, free: 1.754 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004369/0.1567, allocations: 51.89 kB / 387.9 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.243e-05/0.1567, allocations: 12 kB / 387.9 MB, free: 1.691 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.0002175/0.157, allocations: 200.1 kB / 388.1 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.734e-05/0.1571, allocations: 23.72 kB / 388.1 MB, free: 1.465 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.879e-05/0.1572, allocations: 29.64 kB / 388.2 MB, free: 1.434 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.1572, allocations: 0 / 388.2 MB, free: 1.434 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.1572, allocations: 4 kB / 388.2 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.1572, allocations: 0 / 388.2 MB, free: 1.43 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001573/0.1588, allocations: 0.5966 MB / 388.8 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.1588, allocations: 8 kB / 388.8 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.159, allocations: 27.97 kB / 388.8 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002511/0.1593, allocations: 44.81 kB / 388.8 MB, free: 0.6914 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.293e-05/0.1593, allocations: 7.938 kB / 388.8 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00207/0.1614, allocations: 1.547 MB / 390.4 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.1614, allocations: 0 / 390.4 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.1625, allocations: 360.4 kB / 390.7 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/0.1627, allocations: 96.81 kB / 390.8 MB, free: 14.51 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.64e-05/0.1627, allocations: 8 kB / 390.8 MB, free: 14.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003448/0.1631, allocations: 31.97 kB / 390.9 MB, free: 14.47 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.1632, allocations: 23.91 kB / 390.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.1633, allocations: 4 kB / 390.9 MB, free: 14.45 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003024/0.1636, allocations: 190 kB / 391.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1636, allocations: 0 / 391.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009398/0.1645, allocations: 115.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.0001929/0.1647, allocations: 115.2 kB / 391.3 MB, free: 14.03 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001909/0.1667, allocations: 0.6567 MB / 392 MB, free: 13.32 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.1667, allocations: 4 kB / 392 MB, free: 13.32 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005993/0.1673, allocations: 215.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.000583/0.1679, allocations: 44.41 kB / 392.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.1694, allocations: 447.4 kB / 392.7 MB, free: 12.59 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004801/0.1699, allocations: 0.7404 MB / 393.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002044/0.1701, allocations: 30.28 kB / 393.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.2e-05/0.1702, allocations: 19.44 kB / 393.5 MB, free: 11.78 MB / 334.1 MB Notification: Performance of SimCode: time 7.71e-07/0.1702, allocations: 0 / 393.5 MB, free: 11.78 MB / 334.1 MB Notification: Performance of Templates: time 0.01199/0.1822, allocations: 3.886 MB / 397.3 MB, free: 7.887 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)