Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007472/0.007472, allocations: 101.4 kB / 15.73 MB, free: 6.043 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.001132/0.001132, allocations: 186.9 kB / 16.67 MB, free: 5.977 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.863/1.863, allocations: 205.1 MB / 222.6 MB, free: 4.523 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.00167/0.00167, allocations: 54.52 kB / 326.6 MB, free: 14.3 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1721, allocations: 46.62 MB / 373.2 MB, free: 1.289 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.007354/0.1795, allocations: 2.707 MB / 375.9 MB, free: 14.56 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002371/0.182, allocations: 0.7213 MB / 376.6 MB, free: 13.83 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004433/0.1825, allocations: 8 kB / 376.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002777/0.1828, allocations: 39.58 kB / 376.7 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003588/0.1832, allocations: 91.25 kB / 376.8 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004581/0.1837, allocations: 91.83 kB / 376.9 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004914/0.1842, allocations: 370.4 kB / 377.2 MB, free: 13.24 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002784/0.1845, allocations: 88.64 kB / 377.3 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002175/0.1847, allocations: 135.4 kB / 377.4 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000208/0.1849, allocations: 155.4 kB / 377.6 MB, free: 12.87 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.841e-05/0.185, allocations: 28 kB / 377.6 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.762e-05/0.185, allocations: 28 kB / 377.6 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.944e-05/0.1851, allocations: 67.7 kB / 377.7 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001699/0.1853, allocations: 147.2 kB / 377.9 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004886/0.1858, allocations: 326.9 kB / 378.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.1858, allocations: 3.938 kB / 378.2 MB, free: 12.28 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1858, allocations: 4 kB / 378.2 MB, free: 12.28 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.1858, allocations: 0 / 378.2 MB, free: 12.28 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.001545/0.1874, allocations: 0.638 MB / 378.8 MB, free: 11.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.1874, allocations: 8.031 kB / 378.8 MB, free: 11.58 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.368e-05/0.1875, allocations: 36.56 kB / 378.9 MB, free: 11.54 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005792/0.1881, allocations: 283.6 kB / 379.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.1882, allocations: 12.81 kB / 379.2 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.369e-05/0.1882, allocations: 20.38 kB / 379.2 MB, free: 11.2 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006876/0.1889, allocations: 251.5 kB / 379.4 MB, free: 10.94 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.1889, allocations: 0 / 379.4 MB, free: 10.94 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.215e-05/0.189, allocations: 12 kB / 379.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.34e-05/0.189, allocations: 4 kB / 379.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007102/0.1897, allocations: 245.6 kB / 379.7 MB, free: 10.69 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001722/0.1914, allocations: 0.866 MB / 380.5 MB, free: 9.75 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007791/0.1922, allocations: 234.6 kB / 380.8 MB, free: 9.512 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003171/0.1926, allocations: 108.8 kB / 380.9 MB, free: 9.402 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.411e-05/0.1926, allocations: 0 / 380.9 MB, free: 9.402 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005357/0.1932, allocations: 186 kB / 381.1 MB, free: 9.199 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.1932, allocations: 3.938 kB / 381.1 MB, free: 9.195 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.002353/0.1955, allocations: 0.6707 MB / 381.7 MB, free: 8.496 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.222e-05/0.1956, allocations: 110.8 kB / 381.8 MB, free: 8.363 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003256/0.196, allocations: 266.6 kB / 382.1 MB, free: 8.086 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.602e-05/0.196, allocations: 29.7 kB / 382.1 MB, free: 8.051 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.1962, allocations: 175.8 kB / 382.3 MB, free: 7.875 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.35e-05/0.1963, allocations: 43.45 kB / 382.3 MB, free: 7.832 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001312/0.1964, allocations: 49.61 kB / 382.4 MB, free: 7.777 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001838/0.1966, allocations: 334.8 kB / 382.7 MB, free: 7.441 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003444/0.1969, allocations: 108.8 kB / 382.8 MB, free: 7.332 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003922/0.1974, allocations: 177.3 kB / 383 MB, free: 7.125 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006825/0.198, allocations: 277.1 kB / 383.3 MB, free: 6.82 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.217e-06/0.1981, allocations: 0 / 383.3 MB, free: 6.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001206/0.1993, allocations: 451.6 kB / 383.7 MB, free: 6.363 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.454e-05/0.1994, allocations: 29.7 kB / 383.7 MB, free: 6.328 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.12e-05/0.1994, allocations: 4 kB / 383.7 MB, free: 6.324 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004507/0.1998, allocations: 80.83 kB / 383.8 MB, free: 6.242 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001976/0.2, allocations: 47.89 kB / 383.9 MB, free: 6.195 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00322/0.2033, allocations: 2.029 MB / 385.9 MB, free: 4.027 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003489/0.2036, allocations: 47.81 kB / 385.9 MB, free: 3.98 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.749e-05/0.2037, allocations: 15.98 kB / 386 MB, free: 3.965 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003477/0.204, allocations: 176.1 kB / 386.1 MB, free: 3.789 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000321/0.2044, allocations: 157.5 kB / 386.3 MB, free: 3.602 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005407/0.2049, allocations: 237.2 kB / 386.5 MB, free: 3.336 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.967e-06/0.2049, allocations: 4 kB / 386.5 MB, free: 3.332 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0007715/0.2057, allocations: 343.3 kB / 386.9 MB, free: 2.98 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.595e-05/0.2058, allocations: 33.7 kB / 386.9 MB, free: 2.941 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-06/0.2058, allocations: 256 / 386.9 MB, free: 2.941 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001051/0.2059, allocations: 36.83 kB / 386.9 MB, free: 2.902 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.2061, allocations: 39.91 kB / 387 MB, free: 2.863 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001079/0.2072, allocations: 1.418 MB / 388.4 MB, free: 1.305 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003141/0.2075, allocations: 47.75 kB / 388.4 MB, free: 1.258 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.2076, allocations: 12 kB / 388.4 MB, free: 1.246 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,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001863/0.2077, allocations: 196.5 kB / 388.6 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.371e-05/0.2078, allocations: 19.81 kB / 388.7 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.929e-05/0.2079, allocations: 25.83 kB / 388.7 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2079, allocations: 4 kB / 388.7 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.2079, allocations: 3.938 kB / 388.7 MB, free: 0.9922 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.2079, allocations: 3.984 kB / 388.7 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003469/0.2083, allocations: 289.4 kB / 389 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.2083, allocations: 0 / 389 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.2084, allocations: 31.97 kB / 389 MB, free: 0.625 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002723/0.2087, allocations: 72.8 kB / 389.1 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.2087, allocations: 4 kB / 389.1 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002529/0.2113, allocations: 1.919 MB / 391 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.2113, allocations: 0 / 391 MB, free: 14.48 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009649/0.2122, allocations: 357.4 kB / 391.3 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.626e-05/0.2123, allocations: 108.8 kB / 391.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.354e-05/0.2124, allocations: 4 kB / 391.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.2126, allocations: 31.97 kB / 391.5 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.503e-05/0.2127, allocations: 24 kB / 391.5 MB, free: 13.93 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.2127, allocations: 0 / 391.5 MB, free: 13.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002188/0.213, allocations: 198 kB / 391.7 MB, free: 13.74 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.064e-06/0.213, allocations: 4 kB / 391.7 MB, free: 13.74 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006266/0.2136, allocations: 127.6 kB / 391.8 MB, free: 13.61 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002246/0.2138, allocations: 107.2 kB / 391.9 MB, free: 13.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001871/0.2157, allocations: 0.7498 MB / 392.7 MB, free: 12.7 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.2157, allocations: 0 / 392.7 MB, free: 12.7 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005057/0.2163, allocations: 247.3 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.000403/0.2167, allocations: 48.52 kB / 393 MB, free: 12.4 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003001/0.2197, allocations: 0.8911 MB / 393.9 MB, free: 11.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004072/0.2201, allocations: 0.7483 MB / 394.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001549/0.2203, allocations: 26.28 kB / 394.6 MB, free: 10.68 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.109e-05/0.2204, allocations: 23.44 kB / 394.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of SimCode: time 6.91e-07/0.2204, allocations: 0 / 394.7 MB, free: 10.66 MB / 334.1 MB Notification: Performance of Templates: time 0.01209/0.2325, allocations: 4.189 MB / 398.9 MB, free: 6.461 MB / 334.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1)