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.0009495/0.0009495, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.00103/0.00103, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.62/1.62, allocations: 205.4 MB / 222.1 MB, free: 5.367 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.0007847/0.0007849, allocations: 12 kB / 278.9 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3328, allocations: 47.6 MB / 326.5 MB, free: 1.445 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.003252/0.3361, allocations: 2.308 MB / 328.8 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.3378, allocations: 0.6849 MB / 329.5 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002641/0.3381, allocations: 3.75 kB / 329.5 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001978/0.3383, allocations: 31.92 kB / 329.5 MB, free: 15.04 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002773/0.3386, allocations: 72.27 kB / 329.6 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004019/0.339, allocations: 74.22 kB / 329.7 MB, free: 14.91 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004418/0.3395, allocations: 314 kB / 330 MB, free: 14.72 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002608/0.3397, allocations: 72.88 kB / 330 MB, free: 14.68 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000199/0.3399, allocations: 112.5 kB / 330.2 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002034/0.3402, allocations: 127.3 kB / 330.3 MB, free: 14.53 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.813e-05/0.3402, allocations: 16.31 kB / 330.3 MB, free: 14.53 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.84e-05/0.3403, allocations: 14.62 kB / 330.3 MB, free: 14.53 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.187e-05/0.3403, allocations: 45.8 kB / 330.4 MB, free: 14.49 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.736e-05/0.3404, allocations: 77.25 kB / 330.4 MB, free: 14.43 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002764/0.3407, allocations: 241.8 kB / 330.7 MB, free: 14.25 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3407, allocations: 0 / 330.7 MB, free: 14.25 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.3408, allocations: 5 kB / 330.7 MB, free: 14.25 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.76e-06/0.3408, allocations: 0 / 330.7 MB, free: 14.25 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.001203/0.342, allocations: 0.613 MB / 331.3 MB, free: 13.71 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.342, allocations: 9.125 kB / 331.3 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.012e-05/0.3421, allocations: 30.78 kB / 331.3 MB, free: 13.69 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003601/0.3425, allocations: 271.7 kB / 331.6 MB, free: 13.42 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.26e-05/0.3425, allocations: 20.72 kB / 331.6 MB, free: 13.41 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.827e-05/0.3426, allocations: 17.31 kB / 331.6 MB, free: 13.4 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006345/0.3432, allocations: 261.7 kB / 331.9 MB, free: 13.25 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.3432, allocations: 0 / 331.9 MB, free: 13.25 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.904e-05/0.3433, allocations: 10.16 kB / 331.9 MB, free: 13.24 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.3433, allocations: 5.312 kB / 331.9 MB, free: 13.24 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007645/0.3441, allocations: 266.7 kB / 332.2 MB, free: 13.14 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001889/0.346, allocations: 0.8934 MB / 333 MB, free: 12.39 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008388/0.3468, allocations: 283.6 kB / 333.3 MB, free: 12.26 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003369/0.3472, allocations: 118.5 kB / 333.4 MB, free: 12.2 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.674e-05/0.3472, allocations: 1.031 kB / 333.4 MB, free: 12.2 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000575/0.3478, allocations: 196.4 kB / 333.6 MB, free: 12.06 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 2.024e-06/0.3478, allocations: 0 / 333.6 MB, free: 12.06 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.002324/0.3501, allocations: 0.7422 MB / 334.4 MB, free: 11.34 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.287e-05/0.3502, allocations: 110.8 kB / 334.5 MB, free: 11.2 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000324/0.3505, allocations: 262.5 kB / 334.7 MB, free: 10.94 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.354e-05/0.3506, allocations: 33.92 kB / 334.8 MB, free: 10.9 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001537/0.3508, allocations: 179.8 kB / 334.9 MB, free: 10.72 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.014e-05/0.3508, allocations: 43.39 kB / 335 MB, free: 10.68 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.106e-05/0.3508, allocations: 0 / 335 MB, free: 10.68 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.351, allocations: 338.8 kB / 335.3 MB, free: 10.34 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003273/0.3514, allocations: 112 kB / 335.4 MB, free: 10.23 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003872/0.3518, allocations: 176 kB / 335.6 MB, free: 10.03 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003638/0.3521, allocations: 137.7 kB / 335.7 MB, free: 9.887 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.3522, allocations: 4 kB / 335.7 MB, free: 9.883 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001171/0.3533, allocations: 482.3 kB / 336.2 MB, free: 9.398 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001289/0.3535, allocations: 159.9 kB / 336.4 MB, free: 9.211 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.3535, allocations: 4 kB / 336.4 MB, free: 9.207 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003797/0.3539, allocations: 84.73 kB / 336.5 MB, free: 9.121 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.3541, allocations: 43.97 kB / 336.5 MB, free: 9.078 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002481/0.3566, allocations: 1.815 MB / 338.3 MB, free: 7.121 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003368/0.3569, allocations: 55.77 kB / 338.4 MB, free: 7.066 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.525e-05/0.357, allocations: 8 kB / 338.4 MB, free: 7.059 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.995e-06/0.357, allocations: 4 kB / 338.4 MB, free: 7.055 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006721/0.3576, allocations: 306.3 kB / 338.7 MB, free: 6.746 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3577, allocations: 0 / 338.7 MB, free: 6.746 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.656e-05/0.3578, allocations: 32.78 kB / 338.7 MB, free: 6.711 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.3579, allocations: 44 kB / 338.8 MB, free: 6.668 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001137/0.3591, allocations: 1.436 MB / 340.2 MB, free: 5.098 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002826/0.3594, allocations: 47.84 kB / 340.2 MB, free: 5.051 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.3594, allocations: 4 kB / 340.2 MB, free: 5.047 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.000224/0.3596, allocations: 213.1 kB / 340.4 MB, free: 4.828 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.682e-05/0.3597, allocations: 23.72 kB / 340.5 MB, free: 4.805 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.195e-05/0.3598, allocations: 29.89 kB / 340.5 MB, free: 4.781 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.3598, allocations: 4.094 kB / 340.5 MB, free: 4.777 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.3598, allocations: 0 / 340.5 MB, free: 4.777 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.3598, allocations: 3.984 kB / 340.5 MB, free: 4.773 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003173/0.3601, allocations: 301.4 kB / 340.8 MB, free: 4.43 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.3601, allocations: 0 / 340.8 MB, free: 4.43 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001321/0.3603, allocations: 27.97 kB / 340.8 MB, free: 4.402 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002598/0.3605, allocations: 84.8 kB / 340.9 MB, free: 4.316 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.3606, allocations: 0 / 340.9 MB, free: 4.316 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00203/0.3626, allocations: 1.663 MB / 342.6 MB, free: 2.52 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3626, allocations: 0 / 342.6 MB, free: 2.52 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.3637, allocations: 401.5 kB / 343 MB, free: 2.105 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.3638, allocations: 104.8 kB / 343.1 MB, free: 1.984 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.847e-05/0.3638, allocations: 4.188 kB / 343.1 MB, free: 1.98 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002303/0.3641, allocations: 43.97 kB / 343.1 MB, free: 1.938 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.361e-05/0.3642, allocations: 23.91 kB / 343.1 MB, free: 1.914 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.3642, allocations: 11.92 kB / 343.2 MB, free: 1.902 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002379/0.3644, allocations: 190 kB / 343.3 MB, free: 1.715 MB / 270.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3644, allocations: 0 / 343.3 MB, free: 1.715 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005804/0.365, allocations: 119.8 kB / 343.5 MB, free: 1.598 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.0002793/0.3653, allocations: 111.2 kB / 343.6 MB, free: 1.48 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.00148/0.3668, allocations: 0.7234 MB / 344.3 MB, free: 0.707 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3668, allocations: 0 / 344.3 MB, free: 0.707 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004604/0.3673, allocations: 242.9 kB / 344.5 MB, free: 468 kB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.3677, allocations: 48.48 kB / 344.6 MB, free: 420 kB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001088/0.3688, allocations: 0.5334 MB / 345.1 MB, free: 15.86 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.3691, allocations: 0.7483 MB / 345.9 MB, free: 15.08 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001513/0.3693, allocations: 30.27 kB / 345.9 MB, free: 15.05 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.476e-05/0.3693, allocations: 19.44 kB / 345.9 MB, free: 15.04 MB / 286.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3693, allocations: 0 / 345.9 MB, free: 15.04 MB / 286.1 MB Notification: Performance of Templates: time 0.008017/0.3774, allocations: 3.689 MB / 349.6 MB, free: 11.35 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)