Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001108/0.001108, allocations: 113.2 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001254/0.001254, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.373/1.373, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 59.91 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2972, allocations: 50.55 MB / 410 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004722/0.302, allocations: 2.773 MB / 412.8 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001754/0.3038, allocations: 0.6972 MB / 413.4 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002964/0.3041, allocations: 4 kB / 413.5 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002199/0.3044, allocations: 39.58 kB / 413.5 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003452/0.3047, allocations: 99.19 kB / 413.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003685/0.3051, allocations: 95.8 kB / 413.7 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004856/0.3056, allocations: 354.5 kB / 414 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002345/0.3059, allocations: 92.67 kB / 414.1 MB, free: 13.42 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002185/0.3061, allocations: 131.5 kB / 414.2 MB, free: 13.29 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.3063, allocations: 155.3 kB / 414.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.403e-05/0.3064, allocations: 28 kB / 414.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.332e-05/0.3064, allocations: 28 kB / 414.5 MB, free: 13.08 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.789e-05/0.3065, allocations: 63.77 kB / 414.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000157/0.3067, allocations: 147.2 kB / 414.7 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003906/0.3071, allocations: 335.8 kB / 415 MB, free: 12.55 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3071, allocations: 4 kB / 415 MB, free: 12.55 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.3071, allocations: 0 / 415 MB, free: 12.55 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.3071, allocations: 0 / 415 MB, free: 12.55 MB / 334.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.001243/0.3084, allocations: 0.634 MB / 415.6 MB, free: 11.86 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3084, allocations: 8.031 kB / 415.6 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.421e-05/0.3085, allocations: 32.56 kB / 415.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000411/0.3089, allocations: 279.7 kB / 415.9 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.3089, allocations: 12.81 kB / 416 MB, free: 11.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.873e-05/0.309, allocations: 20.38 kB / 416 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006053/0.3096, allocations: 286 kB / 416.3 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.3096, allocations: 0 / 416.3 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/0.3096, allocations: 7.984 kB / 416.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/0.3097, allocations: 8 kB / 416.3 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007112/0.3104, allocations: 241.6 kB / 416.5 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.3119, allocations: 0.9402 MB / 417.4 MB, free: 9.922 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007953/0.3128, allocations: 242.5 kB / 417.7 MB, free: 9.676 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003185/0.3131, allocations: 100.8 kB / 417.8 MB, free: 9.574 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.3131, allocations: 4.219 kB / 417.8 MB, free: 9.57 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000439/0.3136, allocations: 189.7 kB / 418 MB, free: 9.363 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.3136, allocations: 0 / 418 MB, free: 9.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002224/0.3158, allocations: 0.6507 MB / 418.6 MB, free: 8.688 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.203e-05/0.3159, allocations: 110.8 kB / 418.7 MB, free: 8.555 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002739/0.3162, allocations: 262.6 kB / 419 MB, free: 8.293 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/0.3162, allocations: 29.7 kB / 419 MB, free: 8.258 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001149/0.3163, allocations: 179.7 kB / 419.2 MB, free: 8.078 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.308e-05/0.3164, allocations: 47.44 kB / 419.2 MB, free: 8.031 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.299e-05/0.3165, allocations: 45.7 kB / 419.3 MB, free: 7.98 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.3166, allocations: 334.8 kB / 419.6 MB, free: 7.645 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003394/0.317, allocations: 107.9 kB / 419.7 MB, free: 7.539 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003843/0.3174, allocations: 186.2 kB / 419.9 MB, free: 7.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006871/0.3181, allocations: 293 kB / 420.2 MB, free: 7 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3181, allocations: 0 / 420.2 MB, free: 7 MB / 334.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.001218/0.3193, allocations: 447.6 kB / 420.6 MB, free: 6.547 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.948e-05/0.3194, allocations: 37.69 kB / 420.7 MB, free: 6.504 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.3194, allocations: 0 / 420.7 MB, free: 6.504 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004119/0.3198, allocations: 84.8 kB / 420.7 MB, free: 6.418 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.32, allocations: 39.97 kB / 420.8 MB, free: 6.379 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002997/0.323, allocations: 2.005 MB / 422.8 MB, free: 4.23 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003208/0.3233, allocations: 51.66 kB / 422.8 MB, free: 4.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.3234, allocations: 8 kB / 422.8 MB, free: 4.172 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 19 * 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.0001639/0.3236, allocations: 149.8 kB / 423 MB, free: 4.016 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.945e-05/0.3236, allocations: 23.7 kB / 423 MB, free: 3.992 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.143e-05/0.3237, allocations: 25.78 kB / 423 MB, free: 3.965 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.3237, allocations: 3.984 kB / 423 MB, free: 3.961 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.3237, allocations: 4.125 kB / 423 MB, free: 3.957 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.955e-05/0.3238, allocations: 104.8 kB / 423.1 MB, free: 3.836 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.599e-05/0.3238, allocations: 7.984 kB / 423.1 MB, free: 3.828 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002516/0.3241, allocations: 31.97 kB / 423.2 MB, free: 3.797 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.15e-05/0.3242, allocations: 23.91 kB / 423.2 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001221/0.3254, allocations: 429.5 kB / 423.6 MB, free: 3.344 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001027/0.3264, allocations: 0.4982 MB / 424.1 MB, free: 2.828 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003144/0.3267, allocations: 103.9 kB / 424.2 MB, free: 2.727 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000187/0.3269, allocations: 190 kB / 424.4 MB, free: 2.543 MB / 334.1 MB Notification: Performance of Backend: time 6.11e-07/0.327, allocations: 0 / 424.4 MB, free: 2.543 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001357/0.3283, allocations: 476.2 kB / 424.9 MB, free: 2.051 MB / 334.1 MB Notification: Performance of SimCode: time 0.001045/0.3294, allocations: 0.9068 MB / 425.8 MB, free: 1.094 MB / 334.1 MB Notification: Performance of Templates: time 0.008892/0.3383, allocations: 3.907 MB / 429.7 MB, free: 13.22 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1)