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.001526/0.001526, allocations: 114 kB / 17.06 MB, free: 5.977 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.001544/0.001544, allocations: 198.9 kB / 18.01 MB, free: 5.059 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.975/1.975, allocations: 205.1 MB / 223.9 MB, free: 12.23 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.001406/0.001406, allocations: 51.94 kB / 327.9 MB, free: 3.254 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.1313, allocations: 46.61 MB / 374.5 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.005073/0.1364, allocations: 2.714 MB / 377.2 MB, free: 1.809 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002198/0.1387, allocations: 0.7251 MB / 378 MB, free: 1.074 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005346/0.1392, allocations: 4 kB / 378 MB, free: 1.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003714/0.1397, allocations: 47.56 kB / 378 MB, free: 1.023 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005606/0.1402, allocations: 91.2 kB / 378.1 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005904/0.1408, allocations: 95.81 kB / 378.2 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000614/0.1415, allocations: 358.5 kB / 378.5 MB, free: 500 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000273/0.1418, allocations: 80.7 kB / 378.6 MB, free: 420 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002096/0.142, allocations: 135.5 kB / 378.7 MB, free: 284 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002642/0.1423, allocations: 151.3 kB / 378.9 MB, free: 132 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.331e-05/0.1423, allocations: 28 kB / 378.9 MB, free: 104 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.353e-05/0.1424, allocations: 36 kB / 379 MB, free: 68 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.856e-05/0.1425, allocations: 67.7 kB / 379 MB, free: 0 / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3381/0.4805, allocations: 138.1 kB / 379.2 MB, free: 10.72 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.4818, allocations: 327.8 kB / 379.5 MB, free: 10.7 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.4818, allocations: 0 / 379.5 MB, free: 10.7 MB / 318.1 MB Notification: Performance of FrontEnd: time 5.39e-06/0.4819, allocations: 1.188 kB / 379.5 MB, free: 10.7 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.038e-05/0.4819, allocations: 3.75 kB / 379.5 MB, free: 10.7 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.002083/0.484, allocations: 0.6359 MB / 380.1 MB, free: 10.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.251e-05/0.4841, allocations: 9.969 kB / 380.1 MB, free: 10.23 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001961/0.4843, allocations: 33.09 kB / 380.2 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.4853, allocations: 284.6 kB / 380.4 MB, free: 9.98 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.583e-05/0.4853, allocations: 16.25 kB / 380.5 MB, free: 9.98 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.518e-05/0.4854, allocations: 20.62 kB / 380.5 MB, free: 9.98 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008433/0.4863, allocations: 244.6 kB / 380.7 MB, free: 9.941 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.4863, allocations: 7.812 kB / 380.7 MB, free: 9.938 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.313e-05/0.4863, allocations: 7.812 kB / 380.7 MB, free: 9.938 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.404e-05/0.4864, allocations: 7.516 kB / 380.7 MB, free: 9.938 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008433/0.4872, allocations: 246.2 kB / 381 MB, free: 9.938 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001968/0.4892, allocations: 0.866 MB / 381.8 MB, free: 9.535 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.4902, allocations: 237.3 kB / 382.1 MB, free: 9.512 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004372/0.4907, allocations: 105.9 kB / 382.2 MB, free: 9.504 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.227e-05/0.4907, allocations: 5.672 kB / 382.2 MB, free: 9.504 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006329/0.4914, allocations: 181.4 kB / 382.4 MB, free: 9.43 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.034e-06/0.4914, allocations: 1.062 kB / 382.4 MB, free: 9.43 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.002885/0.4943, allocations: 0.6719 MB / 383 MB, free: 9.266 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.41e-05/0.4944, allocations: 105.9 kB / 383.1 MB, free: 9.141 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004142/0.4948, allocations: 266.7 kB / 383.4 MB, free: 9.031 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/0.4948, allocations: 29.05 kB / 383.4 MB, free: 9 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.495, allocations: 180 kB / 383.6 MB, free: 8.875 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.632e-05/0.495, allocations: 42.86 kB / 383.6 MB, free: 8.852 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001124/0.4952, allocations: 48 kB / 383.7 MB, free: 8.832 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.4953, allocations: 337.2 kB / 384 MB, free: 8.516 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004191/0.4957, allocations: 105 kB / 384.1 MB, free: 8.504 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004607/0.4962, allocations: 159 kB / 384.3 MB, free: 8.422 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008113/0.497, allocations: 260 kB / 384.5 MB, free: 8.281 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.497, allocations: 0 / 384.5 MB, free: 8.281 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001453/0.4985, allocations: 443.7 kB / 385 MB, free: 8.125 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.042e-05/0.4986, allocations: 31.81 kB / 385 MB, free: 8.094 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.4986, allocations: 1.75 kB / 385 MB, free: 8.094 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004688/0.4991, allocations: 84.3 kB / 385.1 MB, free: 8.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002216/0.4993, allocations: 38.27 kB / 385.1 MB, free: 8.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002926/0.5022, allocations: 1.966 MB / 387.1 MB, free: 6.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004263/0.5027, allocations: 46.34 kB / 387.1 MB, free: 6.398 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/0.5027, allocations: 6.797 kB / 387.1 MB, free: 6.398 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000392/0.5031, allocations: 176.1 kB / 387.3 MB, free: 6.285 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003155/0.5034, allocations: 148.9 kB / 387.5 MB, free: 6.184 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005546/0.504, allocations: 225.6 kB / 387.7 MB, free: 6.047 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.855e-06/0.504, allocations: 1.031 kB / 387.7 MB, free: 6.047 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0009172/0.5049, allocations: 316.2 kB / 388 MB, free: 5.902 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.266e-05/0.505, allocations: 37.81 kB / 388 MB, free: 5.867 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.505, allocations: 1.219 kB / 388 MB, free: 5.867 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001496/0.5052, allocations: 35.42 kB / 388.1 MB, free: 5.852 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/0.5054, allocations: 43.7 kB / 388.1 MB, free: 5.848 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/0.5065, allocations: 1.615 MB / 389.7 MB, free: 4.266 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003689/0.5069, allocations: 43.19 kB / 389.8 MB, free: 4.254 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.234e-05/0.5069, allocations: 6.375 kB / 389.8 MB, free: 4.254 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.000197/0.5071, allocations: 206.9 kB / 390 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.76e-05/0.5072, allocations: 26.88 kB / 390 MB, free: 4.039 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.362e-05/0.5073, allocations: 22.88 kB / 390 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.5073, allocations: 2.438 kB / 390 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.5073, allocations: 0 / 390 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.5073, allocations: 0.7969 kB / 390 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003786/0.5077, allocations: 296.7 kB / 390.3 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.5077, allocations: 1.031 kB / 390.3 MB, free: 3.785 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.5079, allocations: 24.91 kB / 390.3 MB, free: 3.781 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003236/0.5082, allocations: 75.94 kB / 390.4 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.5082, allocations: 5.625 kB / 390.4 MB, free: 3.758 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002453/0.5107, allocations: 1.758 MB / 392.2 MB, free: 2.27 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.5107, allocations: 4.375 kB / 392.2 MB, free: 2.266 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001256/0.512, allocations: 353.9 kB / 392.5 MB, free: 2.129 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.447e-05/0.5121, allocations: 102.3 kB / 392.6 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.403e-05/0.5121, allocations: 9.594 kB / 392.6 MB, free: 2.012 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002775/0.5124, allocations: 33.42 kB / 392.7 MB, free: 2.008 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.5125, allocations: 19.39 kB / 392.7 MB, free: 2.004 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.5125, allocations: 4.219 kB / 392.7 MB, free: 2.004 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003301/0.5129, allocations: 197.1 kB / 392.9 MB, free: 1.887 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.91e-07/0.5129, allocations: 0 / 392.9 MB, free: 1.887 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008515/0.5137, allocations: 122.9 kB / 393 MB, free: 1.863 MB / 318.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.0002524/0.514, allocations: 112.8 kB / 393.1 MB, free: 1.77 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001735/0.5158, allocations: 0.6875 MB / 393.8 MB, free: 1.324 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.5158, allocations: 0 / 393.8 MB, free: 1.324 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005551/0.5163, allocations: 232.5 kB / 394 MB, free: 1.184 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004535/0.5168, allocations: 49.19 kB / 394.1 MB, free: 1.164 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.5183, allocations: 456.9 kB / 394.5 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.5186, allocations: 0.748 MB / 395.3 MB, free: 196 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000163/0.5188, allocations: 25.06 kB / 395.3 MB, free: 188 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.462e-05/0.5189, allocations: 22.33 kB / 395.3 MB, free: 180 kB / 318.1 MB Notification: Performance of SimCode: time 6.21e-07/0.5189, allocations: 1.25 kB / 395.3 MB, free: 180 kB / 318.1 MB Notification: Performance of Templates: time 0.0145/0.5334, allocations: 4.384 MB / 399.7 MB, free: 15.39 MB / 334.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)