Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.00885/0.00885, allocations: 100.9 kB / 15.73 MB, free: 6.051 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.001423/0.001424, allocations: 191.8 kB / 16.67 MB, free: 5.98 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.798/1.798, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.001525/0.001525, allocations: 47.59 kB / 326.6 MB, free: 14.4 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1744, allocations: 46.62 MB / 373.2 MB, free: 1.297 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.00561/0.1801, allocations: 2.707 MB / 375.9 MB, free: 14.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001794/0.1819, allocations: 0.729 MB / 376.6 MB, free: 13.83 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001974/0.1822, allocations: 4 kB / 376.6 MB, free: 13.83 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002155/0.1824, allocations: 43.58 kB / 376.7 MB, free: 13.79 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002485/0.1827, allocations: 91.25 kB / 376.8 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004309/0.1831, allocations: 95.8 kB / 376.9 MB, free: 13.6 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004946/0.1836, allocations: 362.4 kB / 377.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002835/0.1839, allocations: 92.62 kB / 377.3 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002352/0.1842, allocations: 139.4 kB / 377.4 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002186/0.1844, allocations: 143.4 kB / 377.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.862e-05/0.1845, allocations: 28 kB / 377.6 MB, free: 12.85 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.782e-05/0.1845, allocations: 35.94 kB / 377.6 MB, free: 12.82 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.038e-05/0.1846, allocations: 63.75 kB / 377.7 MB, free: 12.75 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001893/0.1848, allocations: 151.2 kB / 377.9 MB, free: 12.61 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004761/0.1853, allocations: 319 kB / 378.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.1853, allocations: 0 / 378.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.578e-06/0.1853, allocations: 4 kB / 378.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.1854, allocations: 0 / 378.2 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.001641/0.187, allocations: 0.6418 MB / 378.8 MB, free: 11.59 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.46e-05/0.1871, allocations: 12.03 kB / 378.8 MB, free: 11.58 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.1872, allocations: 32.56 kB / 378.9 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005735/0.1878, allocations: 279.6 kB / 379.1 MB, free: 11.24 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.183e-05/0.1878, allocations: 16.81 kB / 379.1 MB, free: 11.22 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.124e-05/0.1879, allocations: 20.38 kB / 379.2 MB, free: 11.2 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006977/0.1886, allocations: 251.5 kB / 379.4 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.1886, allocations: 4 kB / 379.4 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.043e-05/0.1887, allocations: 4 kB / 379.4 MB, free: 10.94 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.1887, allocations: 8 kB / 379.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00076/0.1894, allocations: 245.6 kB / 379.7 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001914/0.1914, allocations: 0.8661 MB / 380.5 MB, free: 9.758 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008538/0.1922, allocations: 246.5 kB / 380.8 MB, free: 9.508 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003213/0.1926, allocations: 100.8 kB / 380.9 MB, free: 9.406 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.54e-05/0.1926, allocations: 0 / 380.9 MB, free: 9.406 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005247/0.1931, allocations: 189.7 kB / 381.1 MB, free: 9.199 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.873e-06/0.1932, allocations: 0 / 381.1 MB, free: 9.199 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.002459/0.1956, allocations: 0.667 MB / 381.7 MB, free: 8.504 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.1958, allocations: 110.8 kB / 381.8 MB, free: 8.371 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003658/0.1962, allocations: 266.6 kB / 382.1 MB, free: 8.094 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.905e-05/0.1962, allocations: 33.7 kB / 382.1 MB, free: 8.055 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.1963, allocations: 179.8 kB / 382.3 MB, free: 7.875 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.243e-05/0.1964, allocations: 43.45 kB / 382.3 MB, free: 7.832 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.991e-05/0.1965, allocations: 49.61 kB / 382.4 MB, free: 7.777 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.1967, allocations: 338.8 kB / 382.7 MB, free: 7.438 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000349/0.1971, allocations: 100.8 kB / 382.8 MB, free: 7.336 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000386/0.1975, allocations: 177.3 kB / 383 MB, free: 7.129 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006501/0.1981, allocations: 281.1 kB / 383.3 MB, free: 6.82 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-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.001205/0.1994, allocations: 447.6 kB / 383.7 MB, free: 6.367 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.535e-05/0.1994, allocations: 41.69 kB / 383.8 MB, free: 6.32 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.1995, allocations: 0 / 383.8 MB, free: 6.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004794/0.1999, allocations: 80.83 kB / 383.8 MB, free: 6.238 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002016/0.2002, allocations: 43.91 kB / 383.9 MB, free: 6.195 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003378/0.2035, allocations: 2.021 MB / 385.9 MB, free: 4.035 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003694/0.2039, allocations: 51.86 kB / 385.9 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.368e-05/0.204, allocations: 8 kB / 386 MB, free: 3.977 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004112/0.2044, allocations: 180.1 kB / 386.1 MB, free: 3.797 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003512/0.2048, allocations: 157.5 kB / 386.3 MB, free: 3.609 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005396/0.2053, allocations: 237.3 kB / 386.5 MB, free: 3.344 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.888e-06/0.2053, allocations: 0 / 386.5 MB, free: 3.344 MB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0007312/0.2061, allocations: 343.3 kB / 386.8 MB, free: 2.992 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.552e-05/0.2061, allocations: 33.7 kB / 386.9 MB, free: 2.953 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.507e-06/0.2062, allocations: 4.25 kB / 386.9 MB, free: 2.949 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001165/0.2063, allocations: 28.84 kB / 386.9 MB, free: 2.918 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00018/0.2065, allocations: 43.91 kB / 387 MB, free: 2.875 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00132/0.2078, allocations: 1.418 MB / 388.4 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003137/0.2081, allocations: 47.78 kB / 388.4 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.521e-05/0.2082, allocations: 11.98 kB / 388.4 MB, free: 1.258 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.0002468/0.2084, allocations: 200.2 kB / 388.6 MB, free: 1.055 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.72e-05/0.2085, allocations: 15.81 kB / 388.6 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.647e-05/0.2086, allocations: 29.83 kB / 388.7 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.2086, allocations: 0 / 388.7 MB, free: 1.008 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.2086, allocations: 3.938 kB / 388.7 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.2086, allocations: 0 / 388.7 MB, free: 1.004 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004833/0.2091, allocations: 297.4 kB / 389 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2091, allocations: 0 / 389 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.2093, allocations: 27.97 kB / 389 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002981/0.2096, allocations: 68.8 kB / 389.1 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.644e-05/0.2096, allocations: 12 kB / 389.1 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003005/0.2126, allocations: 1.919 MB / 391 MB, free: 14.49 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2126, allocations: 0 / 391 MB, free: 14.49 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.2137, allocations: 357.5 kB / 391.3 MB, free: 14.12 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.2138, allocations: 108.8 kB / 391.4 MB, free: 14 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.289e-05/0.2139, allocations: 4 kB / 391.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/0.2141, allocations: 31.95 kB / 391.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.979e-05/0.2142, allocations: 15.98 kB / 391.5 MB, free: 13.95 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.2143, allocations: 11.98 kB / 391.5 MB, free: 13.93 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002226/0.2145, allocations: 190 kB / 391.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2145, allocations: 4 kB / 391.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000658/0.2152, allocations: 123.7 kB / 391.8 MB, free: 13.63 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.000213/0.2154, allocations: 111.2 kB / 391.9 MB, free: 13.51 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.00182/0.2172, allocations: 0.7503 MB / 392.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.2172, allocations: 3.938 kB / 392.7 MB, free: 12.71 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004842/0.2177, allocations: 239.3 kB / 392.9 MB, free: 12.46 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.2181, allocations: 49.39 kB / 393 MB, free: 12.41 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003169/0.2213, allocations: 0.898 MB / 393.9 MB, free: 11.49 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000509/0.2218, allocations: 0.7483 MB / 394.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001526/0.222, allocations: 30.28 kB / 394.6 MB, free: 10.69 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.277e-05/0.2221, allocations: 19.44 kB / 394.7 MB, free: 10.67 MB / 334.1 MB Notification: Performance of SimCode: time 1.182e-06/0.2221, allocations: 0 / 394.7 MB, free: 10.67 MB / 334.1 MB Notification: Performance of Templates: time 0.01089/0.233, allocations: 4.196 MB / 398.9 MB, free: 6.461 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1)