Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001183/0.001183, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.001478/0.001478, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.106/2.106, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.0005335/0.000534, allocations: 8 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4025/0.403, allocations: 47.59 MB / 326.5 MB, free: 1.605 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.003434/0.4066, allocations: 2.305 MB / 328.8 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.4084, allocations: 0.685 MB / 329.5 MB, free: 15.23 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002304/0.4087, allocations: 3.469 kB / 329.5 MB, free: 15.23 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001729/0.4089, allocations: 27.92 kB / 329.5 MB, free: 15.2 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002667/0.4091, allocations: 80.56 kB / 329.6 MB, free: 15.13 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004287/0.4096, allocations: 65.52 kB / 329.7 MB, free: 15.08 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005279/0.4101, allocations: 322.6 kB / 330 MB, free: 14.88 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003507/0.4105, allocations: 69.2 kB / 330 MB, free: 14.84 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003/0.4108, allocations: 112.7 kB / 330.1 MB, free: 14.78 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002318/0.411, allocations: 131.7 kB / 330.3 MB, free: 14.69 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.724e-05/0.4111, allocations: 14.59 kB / 330.3 MB, free: 14.69 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.582e-05/0.4112, allocations: 19.28 kB / 330.3 MB, free: 14.69 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.486e-05/0.4113, allocations: 54.48 kB / 330.4 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.4114, allocations: 69.42 kB / 330.4 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004206/0.4118, allocations: 236.8 kB / 330.7 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.076e-05/0.4118, allocations: 1.156 kB / 330.7 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.4118, allocations: 0 / 330.7 MB, free: 14.41 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.4118, allocations: 0 / 330.7 MB, free: 14.41 MB / 270.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.00159/0.4134, allocations: 0.6133 MB / 331.3 MB, free: 13.87 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.4135, allocations: 8.75 kB / 331.3 MB, free: 13.87 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.614e-05/0.4136, allocations: 31.28 kB / 331.3 MB, free: 13.86 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004625/0.4141, allocations: 271.3 kB / 331.6 MB, free: 13.58 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.32e-05/0.4141, allocations: 12.53 kB / 331.6 MB, free: 13.58 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.702e-05/0.4142, allocations: 26.03 kB / 331.6 MB, free: 13.57 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006853/0.4149, allocations: 257.2 kB / 331.9 MB, free: 13.42 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.4149, allocations: 1.031 kB / 331.9 MB, free: 13.42 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.921e-05/0.4149, allocations: 9.25 kB / 331.9 MB, free: 13.41 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.4149, allocations: 5.969 kB / 331.9 MB, free: 13.41 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007924/0.4157, allocations: 274.4 kB / 332.2 MB, free: 13.3 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001823/0.4176, allocations: 0.9008 MB / 333.1 MB, free: 12.55 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009634/0.4185, allocations: 279.5 kB / 333.3 MB, free: 12.41 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004221/0.419, allocations: 118.5 kB / 333.4 MB, free: 12.36 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.655e-05/0.419, allocations: 5.219 kB / 333.4 MB, free: 12.36 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006777/0.4197, allocations: 196.5 kB / 333.6 MB, free: 12.21 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 3.647e-06/0.4197, allocations: 0 / 333.6 MB, free: 12.21 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.002455/0.4222, allocations: 0.7521 MB / 334.4 MB, free: 11.49 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.548e-05/0.4223, allocations: 106.8 kB / 334.5 MB, free: 11.36 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003782/0.4227, allocations: 270.5 kB / 334.8 MB, free: 11.09 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 6.787e-05/0.4228, allocations: 29.7 kB / 334.8 MB, free: 11.05 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.4229, allocations: 175.9 kB / 335 MB, free: 10.88 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.176e-05/0.423, allocations: 39.45 kB / 335 MB, free: 10.84 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.418e-05/0.423, allocations: 8 kB / 335 MB, free: 10.83 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.4232, allocations: 326.8 kB / 335.3 MB, free: 10.5 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003318/0.4235, allocations: 112.1 kB / 335.4 MB, free: 10.39 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000466/0.424, allocations: 172 kB / 335.6 MB, free: 10.2 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003489/0.4244, allocations: 149.6 kB / 335.8 MB, free: 10.05 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.4244, allocations: 0 / 335.8 MB, free: 10.05 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001173/0.4255, allocations: 478.5 kB / 336.2 MB, free: 9.566 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001406/0.4257, allocations: 159.9 kB / 336.4 MB, free: 9.379 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.4257, allocations: 0 / 336.4 MB, free: 9.379 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004405/0.4262, allocations: 88.8 kB / 336.5 MB, free: 9.289 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/0.4264, allocations: 43.91 kB / 336.5 MB, free: 9.246 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0027/0.4291, allocations: 1.803 MB / 338.3 MB, free: 7.301 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003609/0.4295, allocations: 63.84 kB / 338.4 MB, free: 7.238 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.471e-05/0.4295, allocations: 8.125 kB / 338.4 MB, free: 7.23 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.417e-06/0.4295, allocations: 4 kB / 338.4 MB, free: 7.227 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006959/0.4302, allocations: 302.2 kB / 338.7 MB, free: 6.922 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.4302, allocations: 4 kB / 338.7 MB, free: 6.918 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.044e-05/0.4303, allocations: 33 kB / 338.7 MB, free: 6.883 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001912/0.4305, allocations: 43.95 kB / 338.8 MB, free: 6.84 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001205/0.4317, allocations: 1.439 MB / 340.2 MB, free: 5.266 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002946/0.432, allocations: 43.81 kB / 340.2 MB, free: 5.223 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.4321, allocations: 8.219 kB / 340.2 MB, free: 5.215 MB / 270.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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002535/0.4323, allocations: 217.3 kB / 340.5 MB, free: 4.992 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.474e-05/0.4324, allocations: 27.66 kB / 340.5 MB, free: 4.965 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.38e-05/0.4324, allocations: 21.84 kB / 340.5 MB, free: 4.949 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.4325, allocations: 7.938 kB / 340.5 MB, free: 4.941 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.4325, allocations: 4 kB / 340.5 MB, free: 4.938 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.4325, allocations: 0 / 340.5 MB, free: 4.938 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003398/0.4328, allocations: 285.5 kB / 340.8 MB, free: 4.609 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.4328, allocations: 3.938 kB / 340.8 MB, free: 4.605 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.433, allocations: 35.91 kB / 340.8 MB, free: 4.57 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002839/0.4333, allocations: 80.8 kB / 340.9 MB, free: 4.488 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/0.4333, allocations: 4 kB / 340.9 MB, free: 4.484 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002119/0.4354, allocations: 1.671 MB / 342.6 MB, free: 2.68 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.4354, allocations: 8.094 kB / 342.6 MB, free: 2.672 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.4365, allocations: 385.5 kB / 343 MB, free: 2.273 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.4366, allocations: 100.8 kB / 343.1 MB, free: 2.156 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.89e-05/0.4367, allocations: 8 kB / 343.1 MB, free: 2.148 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002381/0.4369, allocations: 43.95 kB / 343.1 MB, free: 2.105 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.277e-05/0.437, allocations: 19.97 kB / 343.1 MB, free: 2.086 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.475e-05/0.437, allocations: 4 kB / 343.1 MB, free: 2.082 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002138/0.4373, allocations: 186 kB / 343.3 MB, free: 1.898 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4373, allocations: 4 kB / 343.3 MB, free: 1.895 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006038/0.4379, allocations: 119.7 kB / 343.4 MB, free: 1.777 MB / 270.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002125/0.4381, allocations: 103.2 kB / 343.5 MB, free: 1.668 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001615/0.4397, allocations: 0.7228 MB / 344.3 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4397, allocations: 0 / 344.3 MB, free: 0.8945 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004837/0.4402, allocations: 254.8 kB / 344.5 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.4406, allocations: 48.48 kB / 344.6 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.4417, allocations: 0.5262 MB / 345.1 MB, free: 40 kB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003502/0.442, allocations: 0.7483 MB / 345.8 MB, free: 15.26 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001336/0.4422, allocations: 30.27 kB / 345.9 MB, free: 15.23 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.662e-05/0.4422, allocations: 15.44 kB / 345.9 MB, free: 15.22 MB / 286.1 MB Notification: Performance of SimCode: time 3.006e-06/0.4422, allocations: 4 kB / 345.9 MB, free: 15.22 MB / 286.1 MB Notification: Performance of Templates: time 0.009392/0.4516, allocations: 3.697 MB / 349.6 MB, free: 11.52 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1)