Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.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.SchmittTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008263/0.008262, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001376/0.001376, allocations: 201.9 kB / 16.68 MB, free: 5.969 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.947/1.947, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.001502/0.001502, allocations: 46.23 kB / 326.6 MB, free: 14.25 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1665/0.168, allocations: 46.63 MB / 373.2 MB, free: 1.309 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.005555/0.1736, allocations: 2.711 MB / 375.9 MB, free: 14.58 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001911/0.1756, allocations: 0.7173 MB / 376.6 MB, free: 13.85 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002504/0.1759, allocations: 4 kB / 376.6 MB, free: 13.85 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000285/0.1763, allocations: 43.58 kB / 376.7 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002779/0.1765, allocations: 91.25 kB / 376.8 MB, free: 13.71 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005495/0.1771, allocations: 91.81 kB / 376.9 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006012/0.1777, allocations: 362.4 kB / 377.2 MB, free: 13.27 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003534/0.1781, allocations: 92.62 kB / 377.3 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002838/0.1784, allocations: 135.4 kB / 377.4 MB, free: 13.05 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003238/0.1787, allocations: 151.3 kB / 377.6 MB, free: 12.9 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.785e-05/0.1788, allocations: 35.94 kB / 377.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.219e-05/0.1789, allocations: 28 kB / 377.6 MB, free: 12.84 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001101/0.179, allocations: 67.77 kB / 377.7 MB, free: 12.77 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002321/0.1792, allocations: 139.3 kB / 377.8 MB, free: 12.63 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000685/0.1799, allocations: 330.7 kB / 378.2 MB, free: 12.31 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.987e-06/0.1799, allocations: 0 / 378.2 MB, free: 12.31 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.311e-05/0.18, allocations: 0 / 378.2 MB, free: 12.31 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.288e-05/0.18, allocations: 3.938 kB / 378.2 MB, free: 12.3 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.00191/0.1819, allocations: 0.6494 MB / 378.8 MB, free: 11.6 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.842e-05/0.182, allocations: 8.031 kB / 378.8 MB, free: 11.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001406/0.1821, allocations: 36.73 kB / 378.9 MB, free: 11.56 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000695/0.1828, allocations: 279.8 kB / 379.1 MB, free: 11.25 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.561e-05/0.1829, allocations: 20.81 kB / 379.2 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.932e-05/0.1829, allocations: 20.38 kB / 379.2 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007437/0.1837, allocations: 251.5 kB / 379.4 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.1837, allocations: 0 / 379.4 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.509e-05/0.1838, allocations: 4 kB / 379.4 MB, free: 10.95 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/0.1838, allocations: 8 kB / 379.4 MB, free: 10.94 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007983/0.1846, allocations: 245.5 kB / 379.7 MB, free: 10.7 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002184/0.1868, allocations: 0.8702 MB / 380.5 MB, free: 9.762 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009541/0.1878, allocations: 242.6 kB / 380.8 MB, free: 9.516 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003527/0.1881, allocations: 96.78 kB / 380.9 MB, free: 9.418 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.985e-05/0.1882, allocations: 7.938 kB / 380.9 MB, free: 9.41 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005561/0.1888, allocations: 181.8 kB / 381.1 MB, free: 9.211 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.904e-06/0.1888, allocations: 224 / 381.1 MB, free: 9.211 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.002647/0.1914, allocations: 0.6669 MB / 381.7 MB, free: 8.516 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.852e-05/0.1915, allocations: 118.7 kB / 381.8 MB, free: 8.375 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003481/0.1919, allocations: 258.6 kB / 382.1 MB, free: 8.105 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.572e-05/0.192, allocations: 41.69 kB / 382.1 MB, free: 8.059 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/0.1922, allocations: 172.2 kB / 382.3 MB, free: 7.887 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.343e-05/0.1922, allocations: 43.69 kB / 382.3 MB, free: 7.844 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.1923, allocations: 49.59 kB / 382.4 MB, free: 7.789 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002057/0.1926, allocations: 330.8 kB / 382.7 MB, free: 7.457 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003698/0.1929, allocations: 104.8 kB / 382.8 MB, free: 7.352 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004476/0.1934, allocations: 167.4 kB / 383 MB, free: 7.16 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007288/0.1941, allocations: 259.5 kB / 383.2 MB, free: 6.879 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.1942, allocations: 0 / 383.2 MB, free: 6.879 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001338/0.1955, allocations: 435.8 kB / 383.7 MB, free: 6.438 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.451e-05/0.1956, allocations: 33.7 kB / 383.7 MB, free: 6.398 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.1956, allocations: 0 / 383.7 MB, free: 6.398 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000505/0.1961, allocations: 80.83 kB / 383.8 MB, free: 6.316 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.1963, allocations: 43.84 kB / 383.8 MB, free: 6.273 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003225/0.1996, allocations: 1.974 MB / 385.8 MB, free: 4.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003811/0.2, allocations: 47.81 kB / 385.8 MB, free: 4.113 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.232e-05/0.2, allocations: 12 kB / 385.9 MB, free: 4.102 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004127/0.2004, allocations: 172.1 kB / 386 MB, free: 3.93 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003318/0.2008, allocations: 151.7 kB / 386.2 MB, free: 3.754 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000529/0.2013, allocations: 223.6 kB / 386.4 MB, free: 3.508 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.396e-06/0.2013, allocations: 3.938 kB / 386.4 MB, free: 3.504 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0008432/0.2022, allocations: 319.6 kB / 386.7 MB, free: 3.176 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.698e-05/0.2022, allocations: 37.69 kB / 386.7 MB, free: 3.133 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.2023, allocations: 3.984 kB / 386.7 MB, free: 3.129 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001319/0.2024, allocations: 33.03 kB / 386.8 MB, free: 3.094 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000185/0.2026, allocations: 43.91 kB / 386.8 MB, free: 3.051 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001601/0.2042, allocations: 1.603 MB / 388.4 MB, free: 1.309 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003316/0.2045, allocations: 43.86 kB / 388.5 MB, free: 1.266 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.2046, allocations: 4 kB / 388.5 MB, free: 1.262 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (18): * Single equations (assignments): 16 * 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.0002398/0.2048, allocations: 212.3 kB / 388.7 MB, free: 1.047 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.307e-05/0.2049, allocations: 23.84 kB / 388.7 MB, free: 1.023 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.038e-05/0.205, allocations: 21.84 kB / 388.7 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.205, allocations: 0 / 388.7 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.205, allocations: 0 / 388.7 MB, free: 1 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.205, allocations: 11.92 kB / 388.7 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000396/0.2054, allocations: 297.4 kB / 389 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2054, allocations: 0 / 389 MB, free: 0.6484 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000136/0.2055, allocations: 31.97 kB / 389.1 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002887/0.2058, allocations: 76.8 kB / 389.1 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.2059, allocations: 0 / 389.1 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002547/0.2084, allocations: 1.762 MB / 390.9 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2084, allocations: 0 / 390.9 MB, free: 14.63 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.2095, allocations: 353.6 kB / 391.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.2097, allocations: 101 kB / 391.3 MB, free: 14.15 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.892e-05/0.2097, allocations: 8 kB / 391.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/0.2099, allocations: 28.14 kB / 391.4 MB, free: 14.11 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.2101, allocations: 27.97 kB / 391.4 MB, free: 14.09 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.2101, allocations: 11.94 kB / 391.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002222/0.2103, allocations: 190 kB / 391.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of sort global known variables: time 4.4e-07/0.2103, allocations: 0 / 391.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007026/0.211, allocations: 123.8 kB / 391.7 MB, free: 13.77 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.0002749/0.2113, allocations: 119.1 kB / 391.8 MB, free: 13.65 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001566/0.2129, allocations: 0.6723 MB / 392.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.2129, allocations: 0 / 392.5 MB, free: 12.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004797/0.2134, allocations: 239.2 kB / 392.7 MB, free: 12.68 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004805/0.2139, allocations: 48.66 kB / 392.8 MB, free: 12.63 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001233/0.2151, allocations: 454.9 kB / 393.2 MB, free: 12.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.2155, allocations: 0.7482 MB / 394 MB, free: 11.39 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.2157, allocations: 30.23 kB / 394 MB, free: 11.36 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.165e-05/0.2157, allocations: 15.44 kB / 394 MB, free: 11.34 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2157, allocations: 0 / 394 MB, free: 11.34 MB / 334.1 MB Notification: Performance of Templates: time 0.00956/0.2253, allocations: 4.236 MB / 398.3 MB, free: 7.094 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1)