Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001422/0.001428, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.715/1.715, allocations: 205.1 MB / 222.4 MB, free: 4.625 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.001398/0.001398, allocations: 59.92 kB / 278.7 MB, free: 12.37 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3571, allocations: 46.64 MB / 325.3 MB, free: 1.863 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.00456/0.3617, allocations: 2.717 MB / 328 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001594/0.3634, allocations: 0.7146 MB / 328.8 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001998/0.3636, allocations: 7.531 kB / 328.8 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001767/0.3638, allocations: 42.95 kB / 328.8 MB, free: 15.08 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002338/0.364, allocations: 91.7 kB / 328.9 MB, free: 15 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003852/0.3644, allocations: 86.83 kB / 329 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005493/0.365, allocations: 358.4 kB / 329.3 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000285/0.3653, allocations: 77.72 kB / 329.4 MB, free: 14.68 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002322/0.3655, allocations: 134.3 kB / 329.5 MB, free: 14.6 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002093/0.3658, allocations: 152.3 kB / 329.7 MB, free: 14.49 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 6.816e-05/0.3658, allocations: 29.31 kB / 329.7 MB, free: 14.49 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.795e-05/0.3659, allocations: 29.41 kB / 329.7 MB, free: 14.49 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.936e-05/0.366, allocations: 67.23 kB / 329.8 MB, free: 14.43 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002641/0.3663, allocations: 141 kB / 329.9 MB, free: 14.33 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004123/0.3667, allocations: 334 kB / 330.3 MB, free: 14.08 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3667, allocations: 0 / 330.3 MB, free: 14.08 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3667, allocations: 0 / 330.3 MB, free: 14.08 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.3667, allocations: 1.125 kB / 330.3 MB, free: 14.08 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.001329/0.368, allocations: 0.6373 MB / 330.9 MB, free: 13.51 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.3681, allocations: 8.906 kB / 330.9 MB, free: 13.51 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.804e-05/0.3682, allocations: 28.62 kB / 331 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003763/0.3686, allocations: 280.2 kB / 331.2 MB, free: 13.21 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.734e-05/0.3686, allocations: 17.38 kB / 331.2 MB, free: 13.21 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.479e-05/0.3687, allocations: 21.7 kB / 331.3 MB, free: 13.2 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006604/0.3693, allocations: 257.9 kB / 331.5 MB, free: 13.04 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.3694, allocations: 0.9375 kB / 331.5 MB, free: 13.04 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.063e-05/0.3694, allocations: 6.25 kB / 331.5 MB, free: 13.04 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.969e-06/0.3694, allocations: 4.719 kB / 331.5 MB, free: 13.04 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007851/0.3702, allocations: 245.7 kB / 331.8 MB, free: 12.93 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00178/0.372, allocations: 0.878 MB / 332.6 MB, free: 12.18 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009097/0.3729, allocations: 243.2 kB / 332.9 MB, free: 12.06 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003487/0.3733, allocations: 102.3 kB / 333 MB, free: 12.01 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.587e-05/0.3733, allocations: 1.688 kB / 333 MB, free: 12.01 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006133/0.3739, allocations: 181.5 kB / 333.2 MB, free: 11.87 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.673e-06/0.3739, allocations: 1.188 kB / 333.2 MB, free: 11.87 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.002556/0.3765, allocations: 0.6706 MB / 333.8 MB, free: 11.18 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.996e-05/0.3766, allocations: 110.8 kB / 333.9 MB, free: 11.04 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003419/0.377, allocations: 258.6 kB / 334.2 MB, free: 10.78 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.377, allocations: 33.7 kB / 334.2 MB, free: 10.74 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/0.3771, allocations: 179.8 kB / 334.4 MB, free: 10.56 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.939e-05/0.3772, allocations: 39.45 kB / 334.4 MB, free: 10.52 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.566e-05/0.3773, allocations: 45.64 kB / 334.5 MB, free: 10.47 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.3774, allocations: 334.8 kB / 334.8 MB, free: 10.13 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003517/0.3778, allocations: 100.8 kB / 334.9 MB, free: 10.03 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000392/0.3782, allocations: 163.6 kB / 335.1 MB, free: 9.844 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006952/0.3789, allocations: 259.1 kB / 335.3 MB, free: 9.566 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3789, allocations: 0 / 335.3 MB, free: 9.566 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00124/0.3801, allocations: 439.5 kB / 335.8 MB, free: 9.121 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.25e-05/0.3802, allocations: 37.7 kB / 335.8 MB, free: 9.078 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.3802, allocations: 0 / 335.8 MB, free: 9.078 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004008/0.3806, allocations: 80.8 kB / 335.9 MB, free: 8.996 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001876/0.3808, allocations: 35.97 kB / 335.9 MB, free: 8.961 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002888/0.3837, allocations: 1.966 MB / 337.9 MB, free: 6.848 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003788/0.3841, allocations: 55.88 kB / 337.9 MB, free: 6.793 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.333e-05/0.3841, allocations: 8 kB / 337.9 MB, free: 6.785 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004619/0.3846, allocations: 176.3 kB / 338.1 MB, free: 6.609 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003307/0.3849, allocations: 147.6 kB / 338.2 MB, free: 6.438 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005113/0.3855, allocations: 227.5 kB / 338.5 MB, free: 6.188 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.765e-06/0.3855, allocations: 3.938 kB / 338.5 MB, free: 6.184 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0007197/0.3862, allocations: 321.9 kB / 338.8 MB, free: 5.855 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.363e-05/0.3862, allocations: 33.7 kB / 338.8 MB, free: 5.816 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.247e-06/0.3863, allocations: 3.938 kB / 338.8 MB, free: 5.812 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001089/0.3864, allocations: 32.78 kB / 338.9 MB, free: 5.777 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.3866, allocations: 48.14 kB / 338.9 MB, free: 5.73 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001557/0.3881, allocations: 1.604 MB / 340.5 MB, free: 3.992 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003259/0.3885, allocations: 47.83 kB / 340.6 MB, free: 3.945 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.3885, allocations: 4 kB / 340.6 MB, free: 3.941 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.0001538/0.3887, allocations: 204.2 kB / 340.8 MB, free: 3.734 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.122e-05/0.3887, allocations: 23.72 kB / 340.8 MB, free: 3.711 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.999e-05/0.3888, allocations: 21.97 kB / 340.8 MB, free: 3.691 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.3888, allocations: 7.984 kB / 340.8 MB, free: 3.684 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.475e-06/0.3888, allocations: 0 / 340.8 MB, free: 3.684 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.3888, allocations: 0 / 340.8 MB, free: 3.684 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003506/0.3891, allocations: 297.4 kB / 341.1 MB, free: 3.344 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.3892, allocations: 3.984 kB / 341.1 MB, free: 3.34 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001339/0.3893, allocations: 19.98 kB / 341.1 MB, free: 3.32 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002728/0.3896, allocations: 80.8 kB / 341.2 MB, free: 3.238 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.3896, allocations: 3.938 kB / 341.2 MB, free: 3.234 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002307/0.3919, allocations: 1.758 MB / 343 MB, free: 1.336 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3919, allocations: 0 / 343 MB, free: 1.336 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001177/0.3931, allocations: 354 kB / 343.3 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.136e-05/0.3932, allocations: 108.8 kB / 343.4 MB, free: 0.8438 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.86e-05/0.3933, allocations: 8 kB / 343.4 MB, free: 0.8359 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002465/0.3936, allocations: 31.91 kB / 343.5 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.229e-05/0.3937, allocations: 19.97 kB / 343.5 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.3937, allocations: 7.938 kB / 343.5 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002793/0.394, allocations: 194 kB / 343.7 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.394, allocations: 4 kB / 343.7 MB, free: 0.5859 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006201/0.3946, allocations: 119.8 kB / 343.8 MB, free: 480 kB / 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.0002095/0.3948, allocations: 103.2 kB / 343.9 MB, free: 368 kB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001602/0.3964, allocations: 0.6879 MB / 344.6 MB, free: 15.62 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3964, allocations: 0.6875 kB / 344.6 MB, free: 15.62 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005731/0.397, allocations: 238.6 kB / 344.8 MB, free: 15.38 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.3974, allocations: 44.36 kB / 344.9 MB, free: 15.33 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.3984, allocations: 460.6 kB / 345.3 MB, free: 14.86 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.3987, allocations: 0.7404 MB / 346 MB, free: 14.09 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.000122/0.3988, allocations: 34.27 kB / 346.1 MB, free: 14.06 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.595e-05/0.3989, allocations: 19.44 kB / 346.1 MB, free: 14.04 MB / 286.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3989, allocations: 0 / 346.1 MB, free: 14.04 MB / 286.1 MB Notification: Performance of Templates: time 0.008469/0.4074, allocations: 4.189 MB / 350.3 MB, free: 9.848 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1)