Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001615/0.001615, 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.001936/0.001936, 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.933/1.933, 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.001545/0.001545, allocations: 51.92 kB / 279.3 MB, free: 3.566 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1548, allocations: 46.62 MB / 326 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp): time 0.006154/0.161, allocations: 2.76 MB / 328.7 MB, free: 2.098 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002036/0.1631, allocations: 0.7138 MB / 329.4 MB, free: 1.375 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004577/0.1636, allocations: 4 kB / 329.4 MB, free: 1.371 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003127/0.164, allocations: 31.77 kB / 329.5 MB, free: 1.34 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004775/0.1645, allocations: 71.39 kB / 329.5 MB, free: 1.27 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004665/0.165, allocations: 83.91 kB / 329.6 MB, free: 1.188 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005811/0.1656, allocations: 330.6 kB / 329.9 MB, free: 0.8633 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002427/0.1658, allocations: 73.14 kB / 330 MB, free: 0.7969 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003638/0.1662, allocations: 127.4 kB / 330.1 MB, free: 0.6719 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003001/0.1665, allocations: 135.4 kB / 330.3 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.037e-05/0.1666, allocations: 16 kB / 330.3 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.269e-05/0.1667, allocations: 20 kB / 330.3 MB, free: 0.5039 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.1668, allocations: 59.7 kB / 330.4 MB, free: 456 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001944/0.167, allocations: 131.2 kB / 330.5 MB, free: 324 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005202/0.1675, allocations: 315.1 kB / 330.8 MB, free: 8 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/0.1675, allocations: 0 / 330.8 MB, free: 8 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1675, allocations: 4 kB / 330.8 MB, free: 4 kB / 270.1 MB Notification: Performance of Transformations before backend: time 1.763e-05/0.1676, allocations: 0 / 330.8 MB, free: 4 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.001888/0.1695, allocations: 0.6419 MB / 331.5 MB, free: 15.3 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/0.1695, allocations: 8.031 kB / 331.5 MB, free: 15.29 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.1697, allocations: 28.66 kB / 331.5 MB, free: 15.27 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004593/0.1701, allocations: 275.4 kB / 331.8 MB, free: 14.96 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.158e-05/0.1702, allocations: 12.81 kB / 331.8 MB, free: 14.95 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.367e-05/0.1702, allocations: 24.36 kB / 331.8 MB, free: 14.92 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006849/0.1709, allocations: 247.5 kB / 332 MB, free: 14.67 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.1709, allocations: 0 / 332 MB, free: 14.67 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.369e-05/0.171, allocations: 16 kB / 332.1 MB, free: 14.66 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.171, allocations: 4 kB / 332.1 MB, free: 14.65 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007825/0.1718, allocations: 257.5 kB / 332.3 MB, free: 14.4 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001703/0.1735, allocations: 0.8619 MB / 333.2 MB, free: 13.47 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007597/0.1743, allocations: 226.5 kB / 333.4 MB, free: 13.24 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002865/0.1746, allocations: 96.78 kB / 333.5 MB, free: 13.14 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.886e-05/0.1746, allocations: 7.984 kB / 333.5 MB, free: 13.14 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000561/0.1752, allocations: 173.8 kB / 333.7 MB, free: 12.95 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 3.787e-06/0.1752, allocations: 0 / 333.7 MB, free: 12.95 MB / 286.1 MB Notification: Performance of matching and sorting (n=14): time 0.002072/0.1773, allocations: 0.6003 MB / 334.3 MB, free: 12.32 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.618e-05/0.1773, allocations: 106.8 kB / 334.4 MB, free: 12.19 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003148/0.1777, allocations: 262.6 kB / 334.6 MB, free: 11.92 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/0.1777, allocations: 33.7 kB / 334.7 MB, free: 11.88 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.1779, allocations: 171.8 kB / 334.8 MB, free: 11.71 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.399e-05/0.1779, allocations: 51.3 kB / 334.9 MB, free: 11.66 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.178, allocations: 45.7 kB / 334.9 MB, free: 11.61 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.1782, allocations: 330.8 kB / 335.2 MB, free: 11.28 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000319/0.1785, allocations: 104.8 kB / 335.3 MB, free: 11.17 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003414/0.1789, allocations: 169.4 kB / 335.5 MB, free: 10.97 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006277/0.1795, allocations: 268.7 kB / 335.8 MB, free: 10.68 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.1795, allocations: 0 / 335.8 MB, free: 10.68 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001125/0.1806, allocations: 431.5 kB / 336.2 MB, free: 10.24 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.112e-05/0.1807, allocations: 33.7 kB / 336.2 MB, free: 10.2 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1807, allocations: 0 / 336.2 MB, free: 10.2 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004904/0.1812, allocations: 112.8 kB / 336.3 MB, free: 10.09 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.1814, allocations: 43.91 kB / 336.4 MB, free: 10.05 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002249/0.1837, allocations: 1.744 MB / 338.1 MB, free: 8.164 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000345/0.184, allocations: 47.81 kB / 338.2 MB, free: 8.117 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.1841, allocations: 16 kB / 338.2 MB, free: 8.102 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003451/0.1844, allocations: 180.1 kB / 338.4 MB, free: 7.922 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003241/0.1848, allocations: 157.8 kB / 338.5 MB, free: 7.734 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005348/0.1853, allocations: 252.4 kB / 338.8 MB, free: 7.457 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.4e-05/0.1853, allocations: 4 kB / 338.8 MB, free: 7.453 MB / 286.1 MB Notification: Performance of matching and sorting (n=26) (initialization_lambda0): time 0.000847/0.1862, allocations: 351.4 kB / 339.1 MB, free: 7.094 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.077e-05/0.1863, allocations: 33.7 kB / 339.1 MB, free: 7.055 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.1863, allocations: 0 / 339.1 MB, free: 7.055 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001768/0.1864, allocations: 49.08 kB / 339.2 MB, free: 7.004 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.1867, allocations: 39.91 kB / 339.2 MB, free: 6.965 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001611/0.1883, allocations: 1.542 MB / 340.8 MB, free: 5.289 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003951/0.1887, allocations: 51.73 kB / 340.8 MB, free: 5.238 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.1887, allocations: 4 kB / 340.8 MB, free: 5.234 MB / 286.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.0002348/0.189, allocations: 204.2 kB / 341 MB, free: 5.027 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-05/0.189, allocations: 27.66 kB / 341.1 MB, free: 5 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.595e-05/0.1891, allocations: 21.83 kB / 341.1 MB, free: 4.98 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.341e-06/0.1891, allocations: 4 kB / 341.1 MB, free: 4.977 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.1891, allocations: 0 / 341.1 MB, free: 4.977 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.1891, allocations: 0 / 341.1 MB, free: 4.977 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003636/0.1895, allocations: 293.4 kB / 341.4 MB, free: 4.641 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1895, allocations: 0 / 341.4 MB, free: 4.641 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001629/0.1897, allocations: 23.97 kB / 341.4 MB, free: 4.617 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002525/0.19, allocations: 76.73 kB / 341.5 MB, free: 4.539 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.761e-05/0.19, allocations: 0 / 341.5 MB, free: 4.539 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002012/0.192, allocations: 1.682 MB / 343.1 MB, free: 2.723 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.192, allocations: 3.938 kB / 343.1 MB, free: 2.719 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008417/0.1929, allocations: 329.9 kB / 343.5 MB, free: 2.375 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.455e-05/0.193, allocations: 100.8 kB / 343.6 MB, free: 2.258 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.95e-05/0.193, allocations: 7.938 kB / 343.6 MB, free: 2.25 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.1933, allocations: 31.97 kB / 343.6 MB, free: 2.219 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.317e-05/0.1933, allocations: 19.97 kB / 343.6 MB, free: 2.199 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.352e-05/0.1934, allocations: 4 kB / 343.6 MB, free: 2.195 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002113/0.1936, allocations: 194 kB / 343.8 MB, free: 2.004 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1936, allocations: 0 / 343.8 MB, free: 2.004 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0006474/0.1942, allocations: 123.7 kB / 343.9 MB, free: 1.883 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,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001689/0.1944, allocations: 103.4 kB / 344 MB, free: 1.773 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001672/0.1961, allocations: 0.7305 MB / 344.8 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.1961, allocations: 0 / 344.8 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004696/0.1966, allocations: 239.2 kB / 345 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.1969, allocations: 48.45 kB / 345.1 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.199, allocations: 0.78 MB / 345.8 MB, free: 15.89 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.1994, allocations: 0.7522 MB / 346.6 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001582/0.1996, allocations: 22.3 kB / 346.6 MB, free: 15.09 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.043e-05/0.1996, allocations: 23.44 kB / 346.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1997, allocations: 0 / 346.6 MB, free: 15.07 MB / 302.1 MB Notification: Performance of Templates: time 0.008794/0.2085, allocations: 3.891 MB / 350.5 MB, free: 11.18 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.NonInvertingAmp.pipe 2>&1)