Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.01103/0.01103, allocations: 100.5 kB / 15.73 MB, free: 6 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.002184/0.002184, allocations: 191.4 kB / 16.67 MB, free: 5.926 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.848/1.848, allocations: 205.1 MB / 222.5 MB, free: 4.406 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.002127/0.002127, allocations: 52.2 kB / 326.6 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.17, allocations: 46.62 MB / 373.2 MB, free: 1.273 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.006185/0.1762, allocations: 2.699 MB / 375.9 MB, free: 14.55 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.1782, allocations: 0.7251 MB / 376.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002218/0.1785, allocations: 7.938 kB / 376.6 MB, free: 13.81 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002861/0.1788, allocations: 43.56 kB / 376.7 MB, free: 13.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003087/0.1791, allocations: 87.2 kB / 376.8 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005245/0.1797, allocations: 95.81 kB / 376.9 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000644/0.1803, allocations: 358.4 kB / 377.2 MB, free: 13.24 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003603/0.1807, allocations: 88.62 kB / 377.3 MB, free: 13.15 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002559/0.181, allocations: 131.5 kB / 377.4 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000297/0.1813, allocations: 151.4 kB / 377.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.948e-05/0.1814, allocations: 28 kB / 377.6 MB, free: 12.85 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.445e-05/0.1815, allocations: 28 kB / 377.6 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000117/0.1816, allocations: 67.77 kB / 377.7 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002183/0.1818, allocations: 147.2 kB / 377.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005888/0.1824, allocations: 318.9 kB / 378.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.37e-05/0.1824, allocations: 4 kB / 378.1 MB, free: 12.29 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.797e-06/0.1825, allocations: 0 / 378.1 MB, free: 12.29 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.1825, allocations: 0 / 378.1 MB, free: 12.29 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.002069/0.1846, allocations: 0.638 MB / 378.8 MB, free: 11.6 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.115e-05/0.1847, allocations: 12.03 kB / 378.8 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001339/0.1848, allocations: 32.56 kB / 378.8 MB, free: 11.56 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007285/0.1855, allocations: 271.5 kB / 379.1 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.96e-05/0.1856, allocations: 20.81 kB / 379.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.478e-05/0.1856, allocations: 20.38 kB / 379.1 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008526/0.1865, allocations: 247.5 kB / 379.4 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.1865, allocations: 0 / 379.4 MB, free: 10.96 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.072e-05/0.1866, allocations: 11.94 kB / 379.4 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.381e-05/0.1866, allocations: 7.984 kB / 379.4 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.1877, allocations: 257.5 kB / 379.6 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002073/0.1898, allocations: 0.858 MB / 380.5 MB, free: 9.766 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001083/0.1909, allocations: 222.6 kB / 380.7 MB, free: 9.539 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004346/0.1914, allocations: 96.78 kB / 380.8 MB, free: 9.441 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.089e-05/0.1914, allocations: 4 kB / 380.8 MB, free: 9.438 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006045/0.192, allocations: 181.7 kB / 381 MB, free: 9.238 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 2.024e-06/0.1921, allocations: 0 / 381 MB, free: 9.238 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.002969/0.195, allocations: 0.5848 MB / 381.6 MB, free: 8.625 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.47e-05/0.1951, allocations: 102.8 kB / 381.7 MB, free: 8.5 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004207/0.1956, allocations: 278.4 kB / 382 MB, free: 8.211 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.959e-05/0.1956, allocations: 29.7 kB / 382 MB, free: 8.176 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.1958, allocations: 171.9 kB / 382.2 MB, free: 8.004 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.198e-05/0.1959, allocations: 47.39 kB / 382.2 MB, free: 7.957 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.196, allocations: 49.61 kB / 382.2 MB, free: 7.902 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001906/0.1962, allocations: 330.8 kB / 382.6 MB, free: 7.57 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004666/0.1967, allocations: 104.8 kB / 382.7 MB, free: 7.465 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005142/0.1972, allocations: 173.2 kB / 382.8 MB, free: 7.262 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000935/0.1982, allocations: 270.2 kB / 383.1 MB, free: 6.965 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.082e-06/0.1982, allocations: 7.938 kB / 383.1 MB, free: 6.957 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001651/0.1999, allocations: 423.7 kB / 383.5 MB, free: 6.527 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.28e-05/0.1999, allocations: 33.69 kB / 383.6 MB, free: 6.488 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.2, allocations: 4 kB / 383.6 MB, free: 6.484 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006884/0.2007, allocations: 108.8 kB / 383.7 MB, free: 6.375 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002873/0.201, allocations: 47.89 kB / 383.7 MB, free: 6.328 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003498/0.2045, allocations: 1.931 MB / 385.6 MB, free: 4.262 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005193/0.205, allocations: 47.7 kB / 385.7 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/0.2051, allocations: 16 kB / 385.7 MB, free: 4.199 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005491/0.2056, allocations: 184 kB / 385.9 MB, free: 4.016 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004724/0.2061, allocations: 161.4 kB / 386 MB, free: 3.824 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007829/0.2069, allocations: 245.2 kB / 386.3 MB, free: 3.551 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.875e-06/0.2069, allocations: 0 / 386.3 MB, free: 3.551 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.001143/0.2081, allocations: 355.5 kB / 386.6 MB, free: 3.188 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.398e-05/0.2082, allocations: 33.7 kB / 386.7 MB, free: 3.148 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.2082, allocations: 0 / 386.7 MB, free: 3.148 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001943/0.2084, allocations: 49.08 kB / 386.7 MB, free: 3.098 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002692/0.2087, allocations: 39.97 kB / 386.8 MB, free: 3.059 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001917/0.2106, allocations: 1.725 MB / 388.5 MB, free: 1.195 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004616/0.2111, allocations: 43.81 kB / 388.5 MB, free: 1.152 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.13e-05/0.2111, allocations: 15.98 kB / 388.5 MB, free: 1.137 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.0002323/0.2114, allocations: 192.3 kB / 388.7 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.996e-05/0.2114, allocations: 23.72 kB / 388.7 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.707e-05/0.2115, allocations: 29.83 kB / 388.8 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.2115, allocations: 0 / 388.8 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.2115, allocations: 0 / 388.8 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.2116, allocations: 3.938 kB / 388.8 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004266/0.212, allocations: 297.4 kB / 389.1 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.212, allocations: 0 / 389.1 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001854/0.2122, allocations: 23.97 kB / 389.1 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000316/0.2125, allocations: 60.81 kB / 389.2 MB, free: 468 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.729e-05/0.2126, allocations: 7.984 kB / 389.2 MB, free: 460 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002745/0.2153, allocations: 1.869 MB / 391 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2154, allocations: 0 / 391 MB, free: 14.44 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001111/0.2165, allocations: 325.5 kB / 391.3 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.2166, allocations: 96.81 kB / 391.4 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.068e-05/0.2167, allocations: 15.94 kB / 391.5 MB, free: 13.97 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002936/0.217, allocations: 27.97 kB / 391.5 MB, free: 13.94 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.2171, allocations: 23.95 kB / 391.5 MB, free: 13.92 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.2171, allocations: 4 kB / 391.5 MB, free: 13.91 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003081/0.2174, allocations: 190 kB / 391.7 MB, free: 13.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.7e-07/0.2175, allocations: 3.938 kB / 391.7 MB, free: 13.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0009957/0.2185, allocations: 131.7 kB / 391.8 MB, free: 13.6 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.0002297/0.2187, allocations: 107.8 kB / 391.9 MB, free: 13.49 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.002041/0.2208, allocations: 0.7387 MB / 392.7 MB, free: 12.7 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.2208, allocations: 0 / 392.7 MB, free: 12.7 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006011/0.2214, allocations: 242.6 kB / 392.9 MB, free: 12.45 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005355/0.2219, allocations: 40.53 kB / 392.9 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/0.2246, allocations: 0.6951 MB / 393.6 MB, free: 11.69 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.225, allocations: 0.7444 MB / 394.4 MB, free: 10.92 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001584/0.2251, allocations: 30.28 kB / 394.4 MB, free: 10.89 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.603e-05/0.2252, allocations: 19.44 kB / 394.4 MB, free: 10.87 MB / 334.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2252, allocations: 0 / 394.4 MB, free: 10.87 MB / 334.1 MB Notification: Performance of Templates: time 0.009862/0.2351, allocations: 4.267 MB / 398.7 MB, free: 6.594 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe 2>&1)