Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.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.NonInvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01036/0.01036, allocations: 104.2 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.001556/0.001557, allocations: 194.9 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.944/1.944, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.001414/0.001414, allocations: 46.78 kB / 326.6 MB, free: 14.35 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1397, allocations: 46.63 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.006107/0.1458, allocations: 2.696 MB / 375.9 MB, free: 14.59 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001993/0.1479, allocations: 0.7174 MB / 376.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004379/0.1484, allocations: 7.938 kB / 376.6 MB, free: 13.85 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003029/0.1488, allocations: 39.58 kB / 376.7 MB, free: 13.81 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005369/0.1493, allocations: 99.25 kB / 376.8 MB, free: 13.71 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005724/0.1499, allocations: 83.83 kB / 376.8 MB, free: 13.63 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006359/0.1506, allocations: 374.3 kB / 377.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002804/0.1509, allocations: 84.66 kB / 377.3 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003098/0.1512, allocations: 135.5 kB / 377.4 MB, free: 13.05 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003005/0.1515, allocations: 147.4 kB / 377.6 MB, free: 12.91 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.758e-05/0.1516, allocations: 32 kB / 377.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.282e-05/0.1517, allocations: 28 kB / 377.6 MB, free: 12.85 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.509e-05/0.1518, allocations: 67.7 kB / 377.7 MB, free: 12.78 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002066/0.152, allocations: 143.3 kB / 377.8 MB, free: 12.64 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004839/0.1525, allocations: 322.9 kB / 378.1 MB, free: 12.32 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1525, allocations: 3.938 kB / 378.1 MB, free: 12.32 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1525, allocations: 0 / 378.1 MB, free: 12.32 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.421e-05/0.1525, allocations: 0 / 378.1 MB, free: 12.32 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.001578/0.1541, allocations: 0.6341 MB / 378.8 MB, free: 11.63 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.1542, allocations: 12.03 kB / 378.8 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.1543, allocations: 32.56 kB / 378.8 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007035/0.155, allocations: 275.5 kB / 379.1 MB, free: 11.28 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.335e-05/0.155, allocations: 16.81 kB / 379.1 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.938e-05/0.1551, allocations: 20.38 kB / 379.1 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007669/0.1559, allocations: 251.5 kB / 379.4 MB, free: 10.99 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.1559, allocations: 4 kB / 379.4 MB, free: 10.99 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.595e-05/0.156, allocations: 8 kB / 379.4 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.25e-05/0.156, allocations: 4 kB / 379.4 MB, free: 10.98 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008222/0.1568, allocations: 261.4 kB / 379.6 MB, free: 10.72 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001711/0.1585, allocations: 0.858 MB / 380.5 MB, free: 9.793 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007569/0.1593, allocations: 226.6 kB / 380.7 MB, free: 9.562 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002964/0.1596, allocations: 92.8 kB / 380.8 MB, free: 9.469 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.1596, allocations: 0 / 380.8 MB, free: 9.469 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004637/0.1601, allocations: 181.7 kB / 381 MB, free: 9.27 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.572e-06/0.1601, allocations: 0 / 381 MB, free: 9.27 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.002176/0.1623, allocations: 0.5965 MB / 381.6 MB, free: 8.645 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.996e-05/0.1624, allocations: 102.8 kB / 381.7 MB, free: 8.52 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003888/0.1628, allocations: 274.4 kB / 382 MB, free: 8.234 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.569e-05/0.1629, allocations: 29.7 kB / 382 MB, free: 8.199 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.1631, allocations: 171.9 kB / 382.2 MB, free: 8.027 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.287e-05/0.1631, allocations: 47.36 kB / 382.2 MB, free: 7.98 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.841e-05/0.1632, allocations: 53.61 kB / 382.3 MB, free: 7.922 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.1634, allocations: 330.8 kB / 382.6 MB, free: 7.59 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003498/0.1638, allocations: 96.78 kB / 382.7 MB, free: 7.492 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000408/0.1642, allocations: 177.2 kB / 382.8 MB, free: 7.285 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007001/0.1649, allocations: 269.1 kB / 383.1 MB, free: 6.988 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.1649, allocations: 4 kB / 383.1 MB, free: 6.984 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001366/0.1663, allocations: 423.7 kB / 383.5 MB, free: 6.555 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.598e-05/0.1664, allocations: 37.64 kB / 383.6 MB, free: 6.512 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.1664, allocations: 4 kB / 383.6 MB, free: 6.508 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006122/0.167, allocations: 112.7 kB / 383.7 MB, free: 6.395 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.1672, allocations: 47.95 kB / 383.7 MB, free: 6.348 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002598/0.1699, allocations: 1.935 MB / 385.7 MB, free: 4.277 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003356/0.1702, allocations: 47.78 kB / 385.7 MB, free: 4.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.73e-05/0.1702, allocations: 8 kB / 385.7 MB, free: 4.223 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003655/0.1706, allocations: 180.1 kB / 385.9 MB, free: 4.043 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000339/0.171, allocations: 161.3 kB / 386 MB, free: 3.852 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005975/0.1716, allocations: 245.2 kB / 386.3 MB, free: 3.578 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.416e-06/0.1716, allocations: 4 kB / 386.3 MB, free: 3.574 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.000976/0.1726, allocations: 351.5 kB / 386.6 MB, free: 3.215 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.664e-05/0.1726, allocations: 41.94 kB / 386.7 MB, free: 3.168 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1726, allocations: 0 / 386.7 MB, free: 3.168 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001452/0.1728, allocations: 44.83 kB / 386.7 MB, free: 3.121 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001924/0.173, allocations: 43.91 kB / 386.8 MB, free: 3.078 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001836/0.1749, allocations: 1.713 MB / 388.5 MB, free: 1.227 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003413/0.1752, allocations: 51.86 kB / 388.5 MB, free: 1.176 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.217e-05/0.1752, allocations: 12 kB / 388.5 MB, free: 1.164 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (20): * Single equations (assignments): 18 * 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,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001945/0.1754, allocations: 192.1 kB / 388.7 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.826e-05/0.1755, allocations: 23.72 kB / 388.7 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.594e-05/0.1756, allocations: 25.83 kB / 388.8 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.1756, allocations: 4 kB / 388.8 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1756, allocations: 3.984 kB / 388.8 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.1756, allocations: 4 kB / 388.8 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003879/0.176, allocations: 297.4 kB / 389.1 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.176, allocations: 0 / 389.1 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.1762, allocations: 19.97 kB / 389.1 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002404/0.1764, allocations: 64.8 kB / 389.2 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.913e-05/0.1764, allocations: 4 kB / 389.2 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0023/0.1787, allocations: 1.869 MB / 391 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1788, allocations: 4.062 kB / 391 MB, free: 14.46 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009178/0.1797, allocations: 325.4 kB / 391.4 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001067/0.1798, allocations: 100.8 kB / 391.5 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.027e-05/0.1799, allocations: 7.938 kB / 391.5 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.1801, allocations: 31.95 kB / 391.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/0.1802, allocations: 15.98 kB / 391.5 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/0.1802, allocations: 8 kB / 391.5 MB, free: 13.94 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002352/0.1805, allocations: 193.9 kB / 391.7 MB, free: 13.76 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1805, allocations: 0 / 391.7 MB, free: 13.76 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007015/0.1812, allocations: 123.8 kB / 391.8 MB, free: 13.64 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002328/0.1814, allocations: 115.1 kB / 391.9 MB, free: 13.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001831/0.1833, allocations: 0.7345 MB / 392.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.1833, allocations: 0 / 392.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005164/0.1838, allocations: 234.5 kB / 392.9 MB, free: 12.49 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004313/0.1843, allocations: 52.89 kB / 393 MB, free: 12.44 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002365/0.1866, allocations: 0.6872 MB / 393.6 MB, free: 11.72 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000538/0.1872, allocations: 0.7483 MB / 394.4 MB, free: 10.95 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001715/0.1874, allocations: 30.27 kB / 394.4 MB, free: 10.92 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.078e-05/0.1875, allocations: 23.44 kB / 394.4 MB, free: 10.9 MB / 334.1 MB Notification: Performance of SimCode: time 1.323e-06/0.1875, allocations: 0 / 394.4 MB, free: 10.9 MB / 334.1 MB Notification: Performance of Templates: time 0.01306/0.2005, allocations: 4.268 MB / 398.7 MB, free: 6.621 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe 2>&1)