Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_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.2_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.001031/0.001031, allocations: 90.34 kB / 16.65 MB, free: 6.535 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.001168/0.001168, allocations: 177 kB / 17.56 MB, free: 6.18 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.934/1.934, allocations: 205.4 MB / 223.7 MB, free: 13.07 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.0005541/0.0005544, allocations: 12 kB / 280.7 MB, free: 3.414 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1583, allocations: 47.59 MB / 328.3 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.00553/0.1639, allocations: 2.41 MB / 330.7 MB, free: 1.32 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002499/0.1665, allocations: 0.6983 MB / 331.4 MB, free: 0.6133 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006143/0.1671, allocations: 7.938 kB / 331.4 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004076/0.1676, allocations: 31.77 kB / 331.5 MB, free: 0.5742 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006963/0.1683, allocations: 79.39 kB / 331.6 MB, free: 0.4961 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005806/0.169, allocations: 83.91 kB / 331.6 MB, free: 424 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008129/0.1698, allocations: 334.6 kB / 332 MB, free: 88 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000386/0.1702, allocations: 65.16 kB / 332 MB, free: 28 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005048/0.1707, allocations: 115.4 kB / 332.1 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004917/0.1713, allocations: 139.2 kB / 332.3 MB, free: 15.78 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001211/0.1714, allocations: 20 kB / 332.3 MB, free: 15.76 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.1715, allocations: 16 kB / 332.3 MB, free: 15.74 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.1716, allocations: 51.75 kB / 332.4 MB, free: 15.69 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002936/0.172, allocations: 153 kB / 332.5 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004952/0.1725, allocations: 307 kB / 332.8 MB, free: 15.23 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.1725, allocations: 0 / 332.8 MB, free: 15.23 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.22e-06/0.1725, allocations: 0 / 332.8 MB, free: 15.23 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.355e-05/0.1725, allocations: 0 / 332.8 MB, free: 15.23 MB / 286.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.002161/0.1747, allocations: 0.6108 MB / 333.4 MB, free: 14.56 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.194e-05/0.1748, allocations: 8.031 kB / 333.4 MB, free: 14.55 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002319/0.1751, allocations: 36.5 kB / 333.5 MB, free: 14.52 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006506/0.1757, allocations: 279.6 kB / 333.7 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.798e-05/0.1758, allocations: 16.81 kB / 333.8 MB, free: 14.19 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.099e-05/0.1759, allocations: 20.38 kB / 333.8 MB, free: 14.17 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009475/0.1768, allocations: 267.5 kB / 334 MB, free: 13.9 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.1769, allocations: 0 / 334 MB, free: 13.9 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.592e-05/0.1769, allocations: 4 kB / 334 MB, free: 13.9 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.1769, allocations: 4 kB / 334 MB, free: 13.89 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001096/0.178, allocations: 277.6 kB / 334.3 MB, free: 13.62 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002549/0.1806, allocations: 0.9012 MB / 335.2 MB, free: 12.66 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/0.1817, allocations: 274.6 kB / 335.5 MB, free: 12.38 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003794/0.1821, allocations: 112.8 kB / 335.6 MB, free: 12.27 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.134e-05/0.1821, allocations: 8 kB / 335.6 MB, free: 12.26 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006619/0.1828, allocations: 193.7 kB / 335.8 MB, free: 12.05 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 2.936e-06/0.1828, allocations: 0 / 335.8 MB, free: 12.05 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.002839/0.1857, allocations: 0.7527 MB / 336.5 MB, free: 11.27 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/0.1858, allocations: 106.8 kB / 336.6 MB, free: 11.14 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004656/0.1863, allocations: 274.5 kB / 336.9 MB, free: 10.86 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.1e-05/0.1864, allocations: 29.7 kB / 336.9 MB, free: 10.82 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002611/0.1866, allocations: 172 kB / 337.1 MB, free: 10.65 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.275e-05/0.1867, allocations: 43.45 kB / 337.2 MB, free: 10.61 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.971e-05/0.1868, allocations: 21.7 kB / 337.2 MB, free: 10.58 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002815/0.1871, allocations: 330.8 kB / 337.5 MB, free: 10.25 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005707/0.1877, allocations: 119.9 kB / 337.6 MB, free: 10.13 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005571/0.1883, allocations: 175.6 kB / 337.8 MB, free: 9.934 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.1893, allocations: 291.5 kB / 338.1 MB, free: 9.621 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.1893, allocations: 0 / 338.1 MB, free: 9.621 MB / 286.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001876/0.1912, allocations: 479.5 kB / 338.5 MB, free: 9.137 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001777/0.1914, allocations: 166.8 kB / 338.7 MB, free: 8.945 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/0.1914, allocations: 4 kB / 338.7 MB, free: 8.941 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006163/0.1921, allocations: 88.72 kB / 338.8 MB, free: 8.852 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002867/0.1924, allocations: 47.91 kB / 338.8 MB, free: 8.805 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003957/0.1963, allocations: 1.803 MB / 340.6 MB, free: 6.859 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005378/0.1969, allocations: 59.84 kB / 340.7 MB, free: 6.801 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.287e-05/0.197, allocations: 8 kB / 340.7 MB, free: 6.793 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.197, allocations: 4 kB / 340.7 MB, free: 6.789 MB / 286.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001049/0.198, allocations: 310.2 kB / 341 MB, free: 6.477 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.1981, allocations: 4.219 kB / 341 MB, free: 6.473 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001175/0.1982, allocations: 24.84 kB / 341 MB, free: 6.445 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002564/0.1985, allocations: 55.84 kB / 341.1 MB, free: 6.391 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001589/0.2001, allocations: 1.432 MB / 342.5 MB, free: 4.824 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000458/0.2005, allocations: 47.91 kB / 342.6 MB, free: 4.777 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.921e-05/0.2006, allocations: 15.94 kB / 342.6 MB, free: 4.762 MB / 286.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.0003692/0.201, allocations: 213 kB / 342.8 MB, free: 4.543 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.372e-05/0.201, allocations: 23.72 kB / 342.8 MB, free: 4.52 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.526e-05/0.2011, allocations: 25.83 kB / 342.9 MB, free: 4.5 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.2011, allocations: 4 kB / 342.9 MB, free: 4.496 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2011, allocations: 0 / 342.9 MB, free: 4.496 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.2012, allocations: 7.938 kB / 342.9 MB, free: 4.488 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004766/0.2016, allocations: 293.5 kB / 343.1 MB, free: 4.152 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.2017, allocations: 0 / 343.1 MB, free: 4.152 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001874/0.2019, allocations: 27.98 kB / 343.2 MB, free: 4.125 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004063/0.2023, allocations: 80.8 kB / 343.3 MB, free: 4.043 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.329e-05/0.2023, allocations: 4 kB / 343.3 MB, free: 4.039 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002997/0.2053, allocations: 1.667 MB / 344.9 MB, free: 2.238 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2053, allocations: 0 / 344.9 MB, free: 2.238 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001447/0.2068, allocations: 401.4 kB / 345.3 MB, free: 1.824 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.537e-05/0.2069, allocations: 96.83 kB / 345.4 MB, free: 1.711 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.007e-05/0.207, allocations: 7.984 kB / 345.4 MB, free: 1.703 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000356/0.2073, allocations: 35.97 kB / 345.5 MB, free: 1.668 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.2075, allocations: 27.97 kB / 345.5 MB, free: 1.641 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.2075, allocations: 8 kB / 345.5 MB, free: 1.633 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0002769/0.2078, allocations: 190 kB / 345.7 MB, free: 1.445 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2078, allocations: 0 / 345.7 MB, free: 1.445 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0008194/0.2086, allocations: 123.7 kB / 345.8 MB, free: 1.324 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,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002193/0.2088, allocations: 111.1 kB / 345.9 MB, free: 1.207 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.002154/0.211, allocations: 0.7186 MB / 346.6 MB, free: 452 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.211, allocations: 3.938 kB / 346.6 MB, free: 448 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006742/0.2117, allocations: 250.9 kB / 346.9 MB, free: 184 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005234/0.2123, allocations: 49.33 kB / 346.9 MB, free: 136 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.2137, allocations: 0.5487 MB / 347.5 MB, free: 15.56 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004543/0.2142, allocations: 0.756 MB / 348.2 MB, free: 14.78 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001872/0.2144, allocations: 26.28 kB / 348.3 MB, free: 14.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.017e-05/0.2145, allocations: 15.44 kB / 348.3 MB, free: 14.74 MB / 302.1 MB Notification: Performance of SimCode: time 2.044e-06/0.2145, allocations: 4 kB / 348.3 MB, free: 14.73 MB / 302.1 MB Notification: Performance of Templates: time 0.01272/0.2272, allocations: 3.806 MB / 352.1 MB, free: 10.93 MB / 302.1 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1)