Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.002242/0.002242, allocations: 112.2 kB / 16.51 MB, free: 6.707 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.00173/0.001731, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.865/1.865, allocations: 205.1 MB / 223.3 MB, free: 12.48 MB / 190.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.001365/0.001365, allocations: 51.92 kB / 279.3 MB, free: 3.562 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1331, allocations: 46.63 MB / 326 MB, free: 4.871 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.005118/0.1383, allocations: 2.752 MB / 328.7 MB, free: 2.094 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001736/0.1401, allocations: 0.7021 MB / 329.4 MB, free: 1.383 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002292/0.1404, allocations: 4 kB / 329.4 MB, free: 1.379 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000239/0.1406, allocations: 27.77 kB / 329.5 MB, free: 1.352 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002189/0.1409, allocations: 79.38 kB / 329.5 MB, free: 1.273 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002994/0.1412, allocations: 87.91 kB / 329.6 MB, free: 1.188 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003949/0.1416, allocations: 330.6 kB / 329.9 MB, free: 0.8633 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001864/0.1418, allocations: 73.14 kB / 330 MB, free: 0.7969 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.1419, allocations: 115.6 kB / 330.1 MB, free: 0.6836 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001707/0.1421, allocations: 147.3 kB / 330.3 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.464e-05/0.1421, allocations: 16 kB / 330.3 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.191e-05/0.1422, allocations: 20 kB / 330.3 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.887e-05/0.1423, allocations: 51.7 kB / 330.4 MB, free: 464 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001577/0.1424, allocations: 135.3 kB / 330.5 MB, free: 328 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003185/0.1428, allocations: 303.2 kB / 330.8 MB, free: 24 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.1428, allocations: 0 / 330.8 MB, free: 24 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1428, allocations: 4 kB / 330.8 MB, free: 20 kB / 270.1 MB Notification: Performance of Transformations before backend: time 6.572e-06/0.1428, allocations: 0 / 330.8 MB, free: 20 kB / 270.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.001338/0.1442, allocations: 0.638 MB / 331.4 MB, free: 15.32 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.1442, allocations: 15.97 kB / 331.4 MB, free: 15.3 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.531e-05/0.1443, allocations: 24.66 kB / 331.5 MB, free: 15.28 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003777/0.1447, allocations: 271.5 kB / 331.7 MB, free: 14.98 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.558e-05/0.1447, allocations: 16.81 kB / 331.7 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.83e-05/0.1448, allocations: 24.38 kB / 331.8 MB, free: 14.94 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000617/0.1454, allocations: 255.5 kB / 332 MB, free: 14.68 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.1454, allocations: 0 / 332 MB, free: 14.68 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.863e-05/0.1454, allocations: 8 kB / 332 MB, free: 14.67 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.1454, allocations: 4 kB / 332 MB, free: 14.67 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007589/0.1462, allocations: 253.6 kB / 332.3 MB, free: 14.42 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001537/0.1478, allocations: 0.828 MB / 333.1 MB, free: 13.53 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006992/0.1485, allocations: 271.6 kB / 333.4 MB, free: 13.24 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002761/0.1488, allocations: 84.78 kB / 333.5 MB, free: 13.15 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/0.1488, allocations: 7.938 kB / 333.5 MB, free: 13.14 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005509/0.1494, allocations: 161.9 kB / 333.6 MB, free: 12.96 MB / 286.1 MB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.1494, allocations: 0 / 333.6 MB, free: 12.96 MB / 286.1 MB Notification: Performance of matching and sorting (n=11): time 0.001672/0.151, allocations: 0.5146 MB / 334.1 MB, free: 12.42 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.479e-05/0.1511, allocations: 110.8 kB / 334.2 MB, free: 12.29 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003136/0.1515, allocations: 266.5 kB / 334.5 MB, free: 12.02 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.801e-05/0.1515, allocations: 33.7 kB / 334.5 MB, free: 11.98 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.1516, allocations: 183.6 kB / 334.7 MB, free: 11.8 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.571e-05/0.1517, allocations: 43.45 kB / 334.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.079e-05/0.1518, allocations: 49.64 kB / 334.8 MB, free: 11.7 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.1519, allocations: 338.8 kB / 335.1 MB, free: 11.36 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003041/0.1522, allocations: 92.78 kB / 335.2 MB, free: 11.27 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003448/0.1526, allocations: 196.7 kB / 335.4 MB, free: 11.03 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006158/0.1532, allocations: 284.6 kB / 335.7 MB, free: 10.7 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.1532, allocations: 0 / 335.7 MB, free: 10.7 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001014/0.1542, allocations: 407.8 kB / 336.1 MB, free: 10.29 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.079e-05/0.1543, allocations: 33.69 kB / 336.1 MB, free: 10.25 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.1543, allocations: 7.938 kB / 336.1 MB, free: 10.24 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000403/0.1547, allocations: 100.7 kB / 336.2 MB, free: 10.14 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002338/0.1549, allocations: 43.97 kB / 336.3 MB, free: 10.1 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001624/0.1566, allocations: 1.456 MB / 337.7 MB, free: 8.5 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003105/0.1569, allocations: 47.72 kB / 337.8 MB, free: 8.453 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/0.1569, allocations: 12 kB / 337.8 MB, free: 8.441 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003186/0.1573, allocations: 176.1 kB / 338 MB, free: 8.266 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003533/0.1576, allocations: 181.2 kB / 338.1 MB, free: 8.043 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005412/0.1582, allocations: 268.8 kB / 338.4 MB, free: 7.734 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.603e-06/0.1582, allocations: 0 / 338.4 MB, free: 7.734 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0007353/0.1589, allocations: 339.8 kB / 338.7 MB, free: 7.387 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/0.159, allocations: 37.73 kB / 338.8 MB, free: 7.344 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.159, allocations: 4 kB / 338.8 MB, free: 7.34 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.225e-05/0.1591, allocations: 24.84 kB / 338.8 MB, free: 7.312 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.1593, allocations: 55.89 kB / 338.9 MB, free: 7.258 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001003/0.1603, allocations: 1.385 MB / 340.2 MB, free: 5.738 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003294/0.1606, allocations: 43.81 kB / 340.3 MB, free: 5.695 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.1607, allocations: 12 kB / 340.3 MB, free: 5.684 MB / 286.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.0001548/0.1608, allocations: 196.3 kB / 340.5 MB, free: 5.484 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.947e-05/0.1609, allocations: 19.72 kB / 340.5 MB, free: 5.465 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.698e-05/0.1609, allocations: 33.64 kB / 340.5 MB, free: 5.438 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-06/0.1609, allocations: 0 / 340.5 MB, free: 5.438 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1609, allocations: 0 / 340.5 MB, free: 5.438 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.1609, allocations: 3.984 kB / 340.5 MB, free: 5.434 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001206/0.1622, allocations: 0.6087 MB / 341.2 MB, free: 4.766 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.1622, allocations: 0 / 341.2 MB, free: 4.766 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.1623, allocations: 31.97 kB / 341.2 MB, free: 4.734 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001564/0.1625, allocations: 40.83 kB / 341.2 MB, free: 4.691 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.649e-05/0.1625, allocations: 7.984 kB / 341.2 MB, free: 4.684 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001429/0.1639, allocations: 1.433 MB / 342.7 MB, free: 3.117 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.164, allocations: 12.03 kB / 342.7 MB, free: 3.105 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00082/0.1648, allocations: 356 kB / 343 MB, free: 2.738 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.307e-05/0.1649, allocations: 104.7 kB / 343.1 MB, free: 2.617 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.967e-05/0.1649, allocations: 12 kB / 343.1 MB, free: 2.605 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/0.1652, allocations: 27.95 kB / 343.2 MB, free: 2.578 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.699e-05/0.1653, allocations: 15.98 kB / 343.2 MB, free: 2.562 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.1653, allocations: 0 / 343.2 MB, free: 2.562 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002088/0.1655, allocations: 202 kB / 343.4 MB, free: 2.363 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1655, allocations: 0 / 343.4 MB, free: 2.363 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006082/0.1661, allocations: 115.7 kB / 343.5 MB, free: 2.25 MB / 286.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.000195/0.1664, allocations: 95.25 kB / 343.6 MB, free: 2.148 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001459/0.1678, allocations: 0.6651 MB / 344.2 MB, free: 1.434 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1678, allocations: 64 / 344.2 MB, free: 1.434 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004299/0.1683, allocations: 214.5 kB / 344.5 MB, free: 1.211 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004657/0.1687, allocations: 36.55 kB / 344.5 MB, free: 1.176 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.1699, allocations: 0.5214 MB / 345 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.1702, allocations: 0.7444 MB / 345.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001423/0.1703, allocations: 30.28 kB / 345.8 MB, free: 15.83 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.598e-05/0.1704, allocations: 19.44 kB / 345.8 MB, free: 15.81 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1704, allocations: 0 / 345.8 MB, free: 15.81 MB / 302.1 MB Notification: Performance of Templates: time 0.008561/0.179, allocations: 3.557 MB / 349.4 MB, free: 12.26 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower.pipe 2>&1)