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.0107/0.0107, allocations: 103.5 kB / 15.73 MB, free: 6.039 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.001784/0.001784, allocations: 191.6 kB / 16.67 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 1.962/1.962, allocations: 205.1 MB / 222.6 MB, free: 4.297 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.001199/0.0012, allocations: 46.81 kB / 326.6 MB, free: 14.57 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1352, allocations: 46.63 MB / 373.2 MB, free: 1.387 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.VoltageFollower): time 0.004695/0.1399, allocations: 2.68 MB / 375.9 MB, free: 14.69 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002046/0.142, allocations: 0.7212 MB / 376.6 MB, free: 13.96 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002488/0.1423, allocations: 7.938 kB / 376.6 MB, free: 13.95 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000211/0.1426, allocations: 35.64 kB / 376.6 MB, free: 13.91 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002438/0.1428, allocations: 95.19 kB / 376.7 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004211/0.1432, allocations: 91.88 kB / 376.8 MB, free: 13.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005312/0.1438, allocations: 370.3 kB / 377.2 MB, free: 13.37 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002901/0.1441, allocations: 88.62 kB / 377.3 MB, free: 13.28 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002566/0.1444, allocations: 131.4 kB / 377.4 MB, free: 13.15 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002465/0.1446, allocations: 139.4 kB / 377.5 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.829e-05/0.1447, allocations: 32 kB / 377.6 MB, free: 12.98 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.366e-05/0.1448, allocations: 28 kB / 377.6 MB, free: 12.96 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.121e-05/0.1449, allocations: 71.69 kB / 377.7 MB, free: 12.89 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002315/0.1451, allocations: 147.2 kB / 377.8 MB, free: 12.74 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005054/0.1456, allocations: 322.9 kB / 378.1 MB, free: 12.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.129e-05/0.1456, allocations: 0 / 378.1 MB, free: 12.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.567e-06/0.1456, allocations: 0 / 378.1 MB, free: 12.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.057e-05/0.1457, allocations: 0 / 378.1 MB, free: 12.43 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.001765/0.1474, allocations: 0.6302 MB / 378.8 MB, free: 11.74 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.082e-05/0.1475, allocations: 8.031 kB / 378.8 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.1476, allocations: 32.56 kB / 378.8 MB, free: 11.7 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006361/0.1483, allocations: 279.5 kB / 379.1 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.433e-05/0.1483, allocations: 12.81 kB / 379.1 MB, free: 11.38 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.588e-05/0.1484, allocations: 24.38 kB / 379.1 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000679/0.1491, allocations: 247.5 kB / 379.4 MB, free: 11.11 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.1491, allocations: 0 / 379.4 MB, free: 11.11 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/0.1491, allocations: 8 kB / 379.4 MB, free: 11.1 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.1492, allocations: 8 kB / 379.4 MB, free: 11.09 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007639/0.1499, allocations: 253.6 kB / 379.6 MB, free: 10.84 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001726/0.1517, allocations: 0.8163 MB / 380.4 MB, free: 9.961 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006941/0.1524, allocations: 275.6 kB / 380.7 MB, free: 9.664 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002738/0.1527, allocations: 84.8 kB / 380.8 MB, free: 9.578 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.1527, allocations: 11.94 kB / 380.8 MB, free: 9.566 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000423/0.1531, allocations: 165.7 kB / 381 MB, free: 9.383 MB / 318.1 MB Notification: Performance of pre-optimization done (n=11): time 1.343e-06/0.1532, allocations: 4 kB / 381 MB, free: 9.379 MB / 318.1 MB Notification: Performance of matching and sorting (n=11): time 0.001901/0.1551, allocations: 0.5185 MB / 381.5 MB, free: 8.832 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.1552, allocations: 106.8 kB / 381.6 MB, free: 8.703 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003894/0.1556, allocations: 274.4 kB / 381.9 MB, free: 8.418 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.958e-05/0.1556, allocations: 29.7 kB / 381.9 MB, free: 8.383 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001889/0.1558, allocations: 187.7 kB / 382.1 MB, free: 8.195 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.1559, allocations: 35.55 kB / 382.1 MB, free: 8.16 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001003/0.156, allocations: 53.55 kB / 382.2 MB, free: 8.102 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.1562, allocations: 334.8 kB / 382.5 MB, free: 7.766 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003099/0.1565, allocations: 96.78 kB / 382.6 MB, free: 7.668 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003678/0.1569, allocations: 184.8 kB / 382.8 MB, free: 7.441 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000664/0.1575, allocations: 296.6 kB / 383 MB, free: 7.105 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.1576, allocations: 7.938 kB / 383.1 MB, free: 7.098 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001187/0.1588, allocations: 403.9 kB / 383.4 MB, free: 6.688 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.428e-05/0.1588, allocations: 37.69 kB / 383.5 MB, free: 6.645 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/0.1589, allocations: 4 kB / 383.5 MB, free: 6.641 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000553/0.1594, allocations: 88.8 kB / 383.6 MB, free: 6.551 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003052/0.1598, allocations: 51.89 kB / 383.6 MB, free: 6.5 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00241/0.1622, allocations: 1.566 MB / 385.2 MB, free: 4.793 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004132/0.1626, allocations: 47.75 kB / 385.2 MB, free: 4.746 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.875e-05/0.1627, allocations: 8 kB / 385.2 MB, free: 4.738 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004372/0.1631, allocations: 176.1 kB / 385.4 MB, free: 4.562 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003536/0.1635, allocations: 172.9 kB / 385.6 MB, free: 4.348 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005961/0.1641, allocations: 268.6 kB / 385.8 MB, free: 4.039 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.717e-06/0.1641, allocations: 0 / 385.8 MB, free: 4.039 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.0008499/0.1649, allocations: 335.5 kB / 386.2 MB, free: 3.695 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.333e-05/0.165, allocations: 34.08 kB / 386.2 MB, free: 3.656 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.165, allocations: 8 kB / 386.2 MB, free: 3.648 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001211/0.1652, allocations: 29.02 kB / 386.2 MB, free: 3.617 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002362/0.1654, allocations: 55.89 kB / 386.3 MB, free: 3.562 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/0.1668, allocations: 1.544 MB / 387.8 MB, free: 1.879 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003561/0.1672, allocations: 43.81 kB / 387.9 MB, free: 1.836 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.1672, allocations: 16.09 kB / 387.9 MB, free: 1.82 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.0001945/0.1674, allocations: 196.1 kB / 388.1 MB, free: 1.621 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.614e-05/0.1675, allocations: 27.7 kB / 388.1 MB, free: 1.594 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.669e-05/0.1675, allocations: 21.66 kB / 388.1 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1675, allocations: 0 / 388.1 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.1675, allocations: 7.984 kB / 388.1 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1675, allocations: 0 / 388.1 MB, free: 1.562 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/0.1688, allocations: 0.6083 MB / 388.8 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.1688, allocations: 0 / 388.8 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001396/0.1689, allocations: 27.97 kB / 388.8 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001919/0.1691, allocations: 56.83 kB / 388.8 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.1692, allocations: 3.938 kB / 388.8 MB, free: 0.8047 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001967/0.1711, allocations: 1.535 MB / 390.4 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.1712, allocations: 0 / 390.4 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009317/0.1721, allocations: 360.4 kB / 390.7 MB, free: 14.76 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.642e-05/0.1722, allocations: 96.83 kB / 390.8 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.948e-05/0.1723, allocations: 4 kB / 390.8 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002663/0.1725, allocations: 35.95 kB / 390.9 MB, free: 14.61 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.199e-05/0.1726, allocations: 19.92 kB / 390.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/0.1726, allocations: 4 kB / 390.9 MB, free: 14.58 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002055/0.1729, allocations: 194 kB / 391.1 MB, free: 14.4 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.924e-06/0.1729, allocations: 0 / 391.1 MB, free: 14.4 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006401/0.1735, allocations: 123.6 kB / 391.2 MB, free: 14.28 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.0001735/0.1737, allocations: 103.2 kB / 391.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001572/0.1753, allocations: 0.6726 MB / 392 MB, free: 13.44 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1753, allocations: 0 / 392 MB, free: 13.44 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004588/0.1758, allocations: 210.5 kB / 392.2 MB, free: 13.22 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004585/0.1762, allocations: 61.11 kB / 392.2 MB, free: 13.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.1774, allocations: 431.5 kB / 392.7 MB, free: 12.72 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004079/0.1779, allocations: 0.7444 MB / 393.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001601/0.178, allocations: 26.3 kB / 393.4 MB, free: 11.93 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.244e-05/0.1781, allocations: 23.44 kB / 393.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1781, allocations: 0 / 393.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of Templates: time 0.009252/0.1874, allocations: 3.89 MB / 397.3 MB, free: 8.008 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)