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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.0009507/0.0009508, allocations: 179.6 kB / 16.38 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.162/1.162, allocations: 194.5 MB / 211.6 MB, free: 3.039 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001532/0.001532, allocations: 119.3 kB / 256.9 MB, free: 4.383 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002869/0.000287, allocations: 12 kB / 310.6 MB, free: 14.93 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06858/0.06888, allocations: 44.49 MB / 355.1 MB, free: 2.336 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2209/0.2898, allocations: 74.45 MB / 429.5 MB, free: 15.09 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002226/0.2901, allocations: 83.77 kB / 429.6 MB, free: 15.05 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0123/0.3024, allocations: 5.176 MB / 434.8 MB, free: 10.7 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.3024, allocations: 0 / 434.8 MB, free: 10.7 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.3025, allocations: 4 kB / 434.8 MB, free: 10.7 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0007515/0.3032, allocations: 0.5902 MB / 435.4 MB, free: 10.08 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.3033, allocations: 8.031 kB / 435.4 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.096e-05/0.3033, allocations: 28.75 kB / 435.4 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.3036, allocations: 259.2 kB / 435.7 MB, free: 9.777 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.3036, allocations: 13.88 kB / 435.7 MB, free: 9.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.058e-05/0.3036, allocations: 19.19 kB / 435.7 MB, free: 9.754 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004165/0.304, allocations: 240.3 kB / 435.9 MB, free: 9.574 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.3041, allocations: 0 / 435.9 MB, free: 9.574 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/0.3041, allocations: 8.938 kB / 435.9 MB, free: 9.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.3041, allocations: 5.781 kB / 435.9 MB, free: 9.566 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004797/0.3046, allocations: 226 kB / 436.2 MB, free: 9.402 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00113/0.3057, allocations: 0.8963 MB / 437.1 MB, free: 8.582 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005057/0.3062, allocations: 216 kB / 437.3 MB, free: 8.406 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.341e-05/0.3063, allocations: 7.953 kB / 437.3 MB, free: 8.398 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003404/0.3066, allocations: 167.6 kB / 437.4 MB, free: 8.238 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.3066, allocations: 0 / 437.4 MB, free: 8.238 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.001499/0.3081, allocations: 0.5508 MB / 438 MB, free: 7.715 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.3082, allocations: 106.8 kB / 438.1 MB, free: 7.586 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.3084, allocations: 228.7 kB / 438.3 MB, free: 7.398 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.3084, allocations: 36.77 kB / 438.4 MB, free: 7.359 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.603e-05/0.3085, allocations: 170.6 kB / 438.5 MB, free: 7.211 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.3085, allocations: 42.34 kB / 438.6 MB, free: 7.176 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.079e-05/0.3085, allocations: 11.25 kB / 438.6 MB, free: 7.168 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.209e-05/0.3086, allocations: 336.7 kB / 438.9 MB, free: 6.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002263/0.3088, allocations: 92.94 kB / 439 MB, free: 6.766 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002327/0.309, allocations: 153.1 kB / 439.1 MB, free: 6.613 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002328/0.3093, allocations: 127.3 kB / 439.3 MB, free: 6.508 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.3093, allocations: 1.594 kB / 439.3 MB, free: 6.508 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007964/0.3101, allocations: 391.9 kB / 439.7 MB, free: 6.168 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.3101, allocations: 37.66 kB / 439.7 MB, free: 6.125 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.3101, allocations: 0 / 439.7 MB, free: 6.125 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003876/0.3105, allocations: 104.7 kB / 439.8 MB, free: 6.031 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.3107, allocations: 43.97 kB / 439.8 MB, free: 5.988 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00174/0.3125, allocations: 1.784 MB / 441.6 MB, free: 4.199 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000249/0.3127, allocations: 46.06 kB / 441.7 MB, free: 4.156 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.86e-05/0.3128, allocations: 11.25 kB / 441.7 MB, free: 4.148 MB / 314.7 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 9.746e-05/0.3129, allocations: 143.8 kB / 441.8 MB, free: 4.012 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.675e-05/0.3129, allocations: 23.72 kB / 441.8 MB, free: 3.988 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.512e-05/0.3129, allocations: 22.08 kB / 441.9 MB, free: 3.977 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3129, allocations: 4 kB / 441.9 MB, free: 3.973 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.423e-06/0.3129, allocations: 0 / 441.9 MB, free: 3.973 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.3129, allocations: 0 / 441.9 MB, free: 3.973 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.3131, allocations: 297.7 kB / 442.2 MB, free: 3.676 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.3131, allocations: 5.938 kB / 442.2 MB, free: 3.672 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001272/0.3133, allocations: 28.33 kB / 442.2 MB, free: 3.648 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003126/0.3136, allocations: 93.91 kB / 442.3 MB, free: 3.559 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.3136, allocations: 6.672 kB / 442.3 MB, free: 3.555 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001432/0.315, allocations: 1.669 MB / 444 MB, free: 1.871 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3151, allocations: 0 / 444 MB, free: 1.871 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006839/0.3157, allocations: 332.6 kB / 444.3 MB, free: 1.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.009e-05/0.3158, allocations: 104.2 kB / 444.4 MB, free: 1.453 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.3158, allocations: 3.984 kB / 444.4 MB, free: 1.449 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001971/0.316, allocations: 34.41 kB / 444.4 MB, free: 1.418 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.634e-05/0.3161, allocations: 25.28 kB / 444.4 MB, free: 1.398 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.3161, allocations: 7.891 kB / 444.5 MB, free: 1.391 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001163/0.3162, allocations: 185.5 kB / 444.6 MB, free: 1.242 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3163, allocations: 0 / 444.6 MB, free: 1.242 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003007/0.3166, allocations: 69.22 kB / 444.7 MB, free: 1.18 MB / 314.7 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.0001064/0.3167, allocations: 114.3 kB / 444.8 MB, free: 1.062 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006305/0.3173, allocations: 393.3 kB / 445.2 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3173, allocations: 0 / 445.2 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003039/0.3176, allocations: 231.7 kB / 445.4 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.3179, allocations: 32.86 kB / 445.5 MB, free: 484 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006622/0.3185, allocations: 0.4893 MB / 445.9 MB, free: 15.99 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.3188, allocations: 0.7521 MB / 446.7 MB, free: 15.21 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001014/0.3189, allocations: 25.94 kB / 446.7 MB, free: 15.19 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.815e-05/0.319, allocations: 15.44 kB / 446.7 MB, free: 15.17 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.319, allocations: 0 / 446.7 MB, free: 15.17 MB / 330.7 MB Notification: Performance of Templates: time 0.005695/0.3247, allocations: 3.211 MB / 449.9 MB, free: 12.04 MB / 330.7 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)