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.01088/0.01088, allocations: 100.7 kB / 15.73 MB, free: 6.035 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.001745/0.001745, allocations: 199.3 kB / 16.67 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.937/1.937, allocations: 205.1 MB / 222.6 MB, free: 4.391 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.001451/0.001451, allocations: 55.53 kB / 326.6 MB, free: 14.44 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.1612, allocations: 46.63 MB / 373.2 MB, free: 1.266 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.005227/0.1665, allocations: 2.696 MB / 375.9 MB, free: 14.55 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002099/0.1687, allocations: 0.7251 MB / 376.6 MB, free: 13.82 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003476/0.1691, allocations: 11.94 kB / 376.6 MB, free: 13.8 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002327/0.1694, allocations: 39.58 kB / 376.7 MB, free: 13.77 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000297/0.1697, allocations: 87.25 kB / 376.8 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005105/0.1702, allocations: 95.77 kB / 376.9 MB, free: 13.59 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005297/0.1707, allocations: 366.4 kB / 377.2 MB, free: 13.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00027/0.171, allocations: 92.64 kB / 377.3 MB, free: 13.14 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000247/0.1713, allocations: 127.5 kB / 377.4 MB, free: 13.01 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.1715, allocations: 151.3 kB / 377.6 MB, free: 12.86 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.767e-05/0.1716, allocations: 32 kB / 377.6 MB, free: 12.83 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.418e-05/0.1717, allocations: 28 kB / 377.6 MB, free: 12.8 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.723e-05/0.1718, allocations: 67.75 kB / 377.7 MB, free: 12.74 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.1719, allocations: 147.2 kB / 377.8 MB, free: 12.59 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004408/0.1724, allocations: 319 kB / 378.2 MB, free: 12.28 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.1724, allocations: 4 kB / 378.2 MB, free: 12.28 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.178e-06/0.1724, allocations: 4 kB / 378.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.006e-05/0.1724, allocations: 3.938 kB / 378.2 MB, free: 12.27 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.00156/0.174, allocations: 0.638 MB / 378.8 MB, free: 11.58 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.174, allocations: 8.031 kB / 378.8 MB, free: 11.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.253e-05/0.1741, allocations: 32.56 kB / 378.8 MB, free: 11.54 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00052/0.1747, allocations: 279.6 kB / 379.1 MB, free: 11.23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.1747, allocations: 16.81 kB / 379.1 MB, free: 11.21 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.559e-05/0.1748, allocations: 24.36 kB / 379.2 MB, free: 11.19 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006976/0.1755, allocations: 247.5 kB / 379.4 MB, free: 10.94 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.988e-05/0.1755, allocations: 0 / 379.4 MB, free: 10.94 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.458e-05/0.1755, allocations: 8 kB / 379.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-05/0.1756, allocations: 4 kB / 379.4 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008131/0.1764, allocations: 249.6 kB / 379.7 MB, free: 10.68 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002039/0.1785, allocations: 0.866 MB / 380.5 MB, free: 9.746 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009307/0.1794, allocations: 242.5 kB / 380.8 MB, free: 9.5 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003604/0.1798, allocations: 104.8 kB / 380.9 MB, free: 9.395 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.945e-05/0.1798, allocations: 4 kB / 380.9 MB, free: 9.391 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005478/0.1804, allocations: 185.7 kB / 381 MB, free: 9.188 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.795e-06/0.1804, allocations: 224 / 381 MB, free: 9.188 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.002714/0.1831, allocations: 0.6708 MB / 381.7 MB, free: 8.488 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.1833, allocations: 106.8 kB / 381.8 MB, free: 8.359 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003957/0.1837, allocations: 266.5 kB / 382.1 MB, free: 8.082 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.891e-05/0.1837, allocations: 33.7 kB / 382.1 MB, free: 8.043 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001864/0.1839, allocations: 171.9 kB / 382.3 MB, free: 7.871 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.718e-05/0.184, allocations: 43.44 kB / 382.3 MB, free: 7.828 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.1841, allocations: 57.55 kB / 382.4 MB, free: 7.766 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002039/0.1843, allocations: 330.8 kB / 382.7 MB, free: 7.434 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003645/0.1847, allocations: 100.8 kB / 382.8 MB, free: 7.332 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003851/0.1851, allocations: 163.5 kB / 383 MB, free: 7.145 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000717/0.1858, allocations: 263.4 kB / 383.2 MB, free: 6.859 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.1858, allocations: 3.938 kB / 383.2 MB, free: 6.855 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001308/0.1871, allocations: 439.6 kB / 383.7 MB, free: 6.41 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.107e-05/0.1872, allocations: 33.7 kB / 383.7 MB, free: 6.371 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.1872, allocations: 0 / 383.7 MB, free: 6.371 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004927/0.1877, allocations: 76.8 kB / 383.8 MB, free: 6.293 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002124/0.188, allocations: 43.94 kB / 383.8 MB, free: 6.25 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003095/0.1911, allocations: 1.962 MB / 385.8 MB, free: 4.148 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004064/0.1915, allocations: 51.86 kB / 385.8 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.584e-05/0.1915, allocations: 8 kB / 385.8 MB, free: 4.09 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000432/0.192, allocations: 176.1 kB / 386 MB, free: 3.914 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003361/0.1923, allocations: 143.7 kB / 386.1 MB, free: 3.746 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005341/0.1929, allocations: 227.5 kB / 386.4 MB, free: 3.496 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.338e-06/0.1929, allocations: 3.938 kB / 386.4 MB, free: 3.492 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.000772/0.1937, allocations: 319.6 kB / 386.7 MB, free: 3.164 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.082e-05/0.1937, allocations: 29.7 kB / 386.7 MB, free: 3.129 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1937, allocations: 4 kB / 386.7 MB, free: 3.125 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001315/0.1939, allocations: 32.83 kB / 386.7 MB, free: 3.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.1941, allocations: 44.12 kB / 386.8 MB, free: 3.047 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/0.1954, allocations: 1.615 MB / 388.4 MB, free: 1.293 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003391/0.1958, allocations: 43.81 kB / 388.4 MB, free: 1.25 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.1958, allocations: 4 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: 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.0002001/0.196, allocations: 200.1 kB / 388.6 MB, free: 1.043 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.771e-05/0.1961, allocations: 23.78 kB / 388.7 MB, free: 1.02 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.695e-05/0.1962, allocations: 29.83 kB / 388.7 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.1962, allocations: 0 / 388.7 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1962, allocations: 0 / 388.7 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.1962, allocations: 3.938 kB / 388.7 MB, free: 0.9844 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000316/0.1965, allocations: 301.4 kB / 389 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.1965, allocations: 0 / 389 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001416/0.1967, allocations: 27.91 kB / 389 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002857/0.197, allocations: 68.81 kB / 389.1 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.192e-05/0.197, allocations: 11.98 kB / 389.1 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002469/0.1995, allocations: 1.762 MB / 390.9 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1995, allocations: 0 / 390.9 MB, free: 14.62 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.2006, allocations: 357.5 kB / 391.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.2008, allocations: 100.8 kB / 391.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.886e-05/0.2009, allocations: 0 / 391.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002809/0.2011, allocations: 39.95 kB / 391.3 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.2013, allocations: 15.98 kB / 391.4 MB, free: 14.08 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.2013, allocations: 11.92 kB / 391.4 MB, free: 14.07 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002244/0.2015, allocations: 194 kB / 391.6 MB, free: 13.89 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2015, allocations: 3.938 kB / 391.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007423/0.2023, allocations: 119.7 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.0002562/0.2026, allocations: 103.2 kB / 391.8 MB, free: 13.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001895/0.2045, allocations: 0.6875 MB / 392.5 MB, free: 12.92 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 8.206e-06/0.2045, allocations: 4 kB / 392.5 MB, free: 12.91 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005115/0.205, allocations: 227 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.000437/0.2055, allocations: 44.59 kB / 392.7 MB, free: 12.64 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.2067, allocations: 467.5 kB / 393.2 MB, free: 12.15 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003475/0.207, allocations: 0.7483 MB / 393.9 MB, free: 11.38 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001391/0.2072, allocations: 26.28 kB / 394 MB, free: 11.35 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.553e-05/0.2073, allocations: 19.44 kB / 394 MB, free: 11.33 MB / 334.1 MB Notification: Performance of SimCode: time 1.513e-06/0.2073, allocations: 0 / 394 MB, free: 11.33 MB / 334.1 MB Notification: Performance of Templates: time 0.009824/0.2171, allocations: 4.225 MB / 398.2 MB, free: 7.098 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)