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.001213/0.001213, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001722/0.001722, allocations: 193.2 kB / 16.25 MB, free: 6.641 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.81/1.81, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.001684/0.001684, allocations: 51.92 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4568/0.4585, allocations: 46.63 MB / 324.9 MB, free: 1.918 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.006296/0.4649, allocations: 2.775 MB / 327.6 MB, free: 15.73 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001969/0.4669, allocations: 0.7049 MB / 328.3 MB, free: 15.15 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002216/0.4672, allocations: 5.156 kB / 328.3 MB, free: 15.15 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002359/0.4675, allocations: 34.62 kB / 328.4 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002537/0.4677, allocations: 80.2 kB / 328.5 MB, free: 15.05 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003204/0.4681, allocations: 87.12 kB / 328.5 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005934/0.4687, allocations: 350.8 kB / 328.9 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002635/0.4689, allocations: 81.64 kB / 329 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002295/0.4692, allocations: 128.9 kB / 329.1 MB, free: 14.65 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/0.4694, allocations: 156.7 kB / 329.2 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.004e-05/0.4695, allocations: 33.25 kB / 329.3 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.857e-05/0.4696, allocations: 29.91 kB / 329.3 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.4697, allocations: 69.84 kB / 329.4 MB, free: 14.47 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002047/0.4699, allocations: 141.6 kB / 329.5 MB, free: 14.38 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005269/0.4704, allocations: 326.5 kB / 329.8 MB, free: 14.13 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.809e-06/0.4705, allocations: 0 / 329.8 MB, free: 14.13 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.697e-06/0.4705, allocations: 0 / 329.8 MB, free: 14.13 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.141e-05/0.4705, allocations: 1.156 kB / 329.8 MB, free: 14.13 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.001674/0.4722, allocations: 0.6416 MB / 330.5 MB, free: 13.55 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.056e-05/0.4723, allocations: 8.469 kB / 330.5 MB, free: 13.55 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.4724, allocations: 32.44 kB / 330.5 MB, free: 13.54 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004534/0.4729, allocations: 276.2 kB / 330.8 MB, free: 13.26 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.549e-05/0.4729, allocations: 17.81 kB / 330.8 MB, free: 13.25 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.601e-05/0.473, allocations: 17.12 kB / 330.8 MB, free: 13.25 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007045/0.4737, allocations: 247.1 kB / 331.1 MB, free: 13.1 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.4737, allocations: 3.938 kB / 331.1 MB, free: 13.1 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.705e-05/0.4737, allocations: 10.19 kB / 331.1 MB, free: 13.09 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.486e-05/0.4738, allocations: 8.344 kB / 331.1 MB, free: 13.09 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007754/0.4745, allocations: 239 kB / 331.3 MB, free: 12.98 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001867/0.4764, allocations: 0.8777 MB / 332.2 MB, free: 12.24 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008905/0.4773, allocations: 251.1 kB / 332.4 MB, free: 12.11 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003584/0.4777, allocations: 101.3 kB / 332.5 MB, free: 12.06 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.565e-05/0.4778, allocations: 6.234 kB / 332.5 MB, free: 12.05 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006131/0.4784, allocations: 182.6 kB / 332.7 MB, free: 11.91 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 2.234e-06/0.4784, allocations: 0 / 332.7 MB, free: 11.91 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.002639/0.481, allocations: 0.6702 MB / 333.4 MB, free: 11.34 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.396e-05/0.4811, allocations: 106.8 kB / 333.5 MB, free: 11.21 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003476/0.4815, allocations: 262.6 kB / 333.7 MB, free: 10.95 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.512e-05/0.4815, allocations: 33.7 kB / 333.8 MB, free: 10.91 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001658/0.4817, allocations: 179.8 kB / 334 MB, free: 10.73 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.175e-05/0.4818, allocations: 35.45 kB / 334 MB, free: 10.69 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.061e-05/0.4819, allocations: 45.66 kB / 334 MB, free: 10.64 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.4821, allocations: 330.8 kB / 334.4 MB, free: 10.31 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005079/0.4826, allocations: 112.7 kB / 334.5 MB, free: 10.2 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006018/0.4832, allocations: 155.6 kB / 334.6 MB, free: 10.02 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.4845, allocations: 258.4 kB / 334.9 MB, free: 9.738 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-05/0.4845, allocations: 4 kB / 334.9 MB, free: 9.734 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001423/0.486, allocations: 443.5 kB / 335.3 MB, free: 9.285 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.533e-05/0.486, allocations: 33.69 kB / 335.3 MB, free: 9.246 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.4861, allocations: 4 kB / 335.3 MB, free: 9.242 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004116/0.4865, allocations: 84.77 kB / 335.4 MB, free: 9.156 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/0.4867, allocations: 35.91 kB / 335.5 MB, free: 9.121 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003066/0.4898, allocations: 1.958 MB / 337.4 MB, free: 7.016 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003819/0.4902, allocations: 43.84 kB / 337.5 MB, free: 6.973 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.048e-05/0.4902, allocations: 8 kB / 337.5 MB, free: 6.965 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000413/0.4906, allocations: 184.3 kB / 337.7 MB, free: 6.781 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002973/0.491, allocations: 143.6 kB / 337.8 MB, free: 6.613 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006227/0.4916, allocations: 229.9 kB / 338 MB, free: 6.363 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.916e-06/0.4916, allocations: 3.938 kB / 338 MB, free: 6.359 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0007481/0.4924, allocations: 315.5 kB / 338.3 MB, free: 6.035 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.495e-05/0.4924, allocations: 41.88 kB / 338.4 MB, free: 5.988 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-06/0.4924, allocations: 0 / 338.4 MB, free: 5.988 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001053/0.4925, allocations: 28.84 kB / 338.4 MB, free: 5.957 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.4927, allocations: 48.03 kB / 338.4 MB, free: 5.91 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/0.4941, allocations: 1.607 MB / 340.1 MB, free: 4.168 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003277/0.4945, allocations: 47.91 kB / 340.1 MB, free: 4.121 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.4945, allocations: 8 kB / 340.1 MB, free: 4.113 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 (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.0002294/0.4947, allocations: 200.1 kB / 340.3 MB, free: 3.91 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.476e-05/0.4948, allocations: 23.72 kB / 340.3 MB, free: 3.887 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.288e-05/0.4949, allocations: 21.83 kB / 340.3 MB, free: 3.867 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.4949, allocations: 4 kB / 340.3 MB, free: 3.863 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.4949, allocations: 0 / 340.3 MB, free: 3.863 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.4949, allocations: 4 kB / 340.4 MB, free: 3.859 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003796/0.4953, allocations: 297.4 kB / 340.6 MB, free: 3.52 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4953, allocations: 0 / 340.6 MB, free: 3.52 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.4954, allocations: 19.97 kB / 340.7 MB, free: 3.5 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000311/0.4957, allocations: 80.8 kB / 340.7 MB, free: 3.418 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.968e-05/0.4958, allocations: 0 / 340.7 MB, free: 3.418 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002499/0.4983, allocations: 1.762 MB / 342.5 MB, free: 1.516 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.4983, allocations: 0 / 342.5 MB, free: 1.516 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001098/0.4994, allocations: 365.7 kB / 342.9 MB, free: 1.137 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.428e-05/0.4995, allocations: 104.8 kB / 343 MB, free: 1.016 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.868e-05/0.4996, allocations: 3.984 kB / 343 MB, free: 1.012 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/0.4998, allocations: 35.97 kB / 343 MB, free: 0.9766 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.23e-05/0.4999, allocations: 19.97 kB / 343 MB, free: 0.957 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.4999, allocations: 7.938 kB / 343 MB, free: 0.9492 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002103/0.5002, allocations: 190 kB / 343.2 MB, free: 0.7617 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.593e-06/0.5002, allocations: 0 / 343.2 MB, free: 0.7617 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005661/0.5007, allocations: 127.7 kB / 343.3 MB, free: 0.6367 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 (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.0001666/0.5009, allocations: 103.2 kB / 343.4 MB, free: 0.5273 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001634/0.5025, allocations: 0.6875 MB / 344.1 MB, free: 15.79 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.5026, allocations: 0 / 344.1 MB, free: 15.79 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000448/0.503, allocations: 234.6 kB / 344.4 MB, free: 15.55 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003638/0.5034, allocations: 48.97 kB / 344.4 MB, free: 15.5 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.5045, allocations: 0.5242 MB / 344.9 MB, free: 14.95 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.5048, allocations: 0.7483 MB / 345.7 MB, free: 14.17 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001258/0.505, allocations: 26.28 kB / 345.7 MB, free: 14.15 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.319e-05/0.505, allocations: 19.44 kB / 345.7 MB, free: 14.13 MB / 286.1 MB Notification: Performance of SimCode: time 7.91e-07/0.5051, allocations: 0 / 345.7 MB, free: 14.13 MB / 286.1 MB Notification: Performance of Templates: time 0.009847/0.5149, allocations: 4.088 MB / 349.8 MB, free: 10.04 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)