Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009994/0.0009991, 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.192/1.192, 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.001546/0.001546, allocations: 115.9 kB / 256.9 MB, free: 4.348 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002771/0.0002771, allocations: 12 kB / 310.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07576/0.07605, allocations: 44.5 MB / 355.1 MB, free: 2.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2186/0.2946, allocations: 74.45 MB / 429.5 MB, free: 15.15 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001953/0.2949, allocations: 76.52 kB / 429.6 MB, free: 15.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01215/0.3071, allocations: 5.2 MB / 434.8 MB, free: 10.74 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3071, allocations: 0 / 434.8 MB, free: 10.74 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.362e-05/0.3071, allocations: 4 kB / 434.8 MB, free: 10.74 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.0007716/0.3079, allocations: 0.5822 MB / 435.4 MB, free: 10.12 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.3079, allocations: 8.031 kB / 435.4 MB, free: 10.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.025e-05/0.308, allocations: 28.75 kB / 435.4 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002255/0.3082, allocations: 263.6 kB / 435.7 MB, free: 9.816 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.3082, allocations: 15.25 kB / 435.7 MB, free: 9.809 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.3083, allocations: 15.81 kB / 435.7 MB, free: 9.797 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004218/0.3087, allocations: 240.6 kB / 435.9 MB, free: 9.617 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.3087, allocations: 0 / 435.9 MB, free: 9.617 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.3088, allocations: 10.02 kB / 436 MB, free: 9.613 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.3088, allocations: 4 kB / 436 MB, free: 9.609 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004921/0.3093, allocations: 226.9 kB / 436.2 MB, free: 9.445 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.3104, allocations: 0.8975 MB / 437.1 MB, free: 8.625 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005036/0.3109, allocations: 221.6 kB / 437.3 MB, free: 8.449 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.3109, allocations: 11.95 kB / 437.3 MB, free: 8.438 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003759/0.3113, allocations: 163.4 kB / 437.5 MB, free: 8.277 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.3113, allocations: 4 kB / 437.5 MB, free: 8.273 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.001521/0.3129, allocations: 0.5423 MB / 438 MB, free: 7.758 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.3129, allocations: 114 kB / 438.1 MB, free: 7.625 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.3131, allocations: 232.9 kB / 438.3 MB, free: 7.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.3131, allocations: 33.08 kB / 438.4 MB, free: 7.395 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.599e-05/0.3132, allocations: 172.4 kB / 438.5 MB, free: 7.25 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.3132, allocations: 41.8 kB / 438.6 MB, free: 7.215 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.05e-05/0.3132, allocations: 8.938 kB / 438.6 MB, free: 7.211 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.882e-05/0.3133, allocations: 332.7 kB / 438.9 MB, free: 6.887 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/0.3135, allocations: 100.5 kB / 439 MB, free: 6.809 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002425/0.3138, allocations: 165.8 kB / 439.2 MB, free: 6.641 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002423/0.314, allocations: 129.8 kB / 439.3 MB, free: 6.535 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.314, allocations: 4 kB / 439.3 MB, free: 6.531 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008999/0.3149, allocations: 413.8 kB / 439.7 MB, free: 6.172 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.115e-05/0.315, allocations: 38.91 kB / 439.8 MB, free: 6.129 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.315, allocations: 0 / 439.8 MB, free: 6.129 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004114/0.3154, allocations: 96.25 kB / 439.8 MB, free: 6.039 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.3156, allocations: 55.52 kB / 439.9 MB, free: 5.988 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001805/0.3174, allocations: 1.764 MB / 441.7 MB, free: 4.219 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000277/0.3177, allocations: 55.28 kB / 441.7 MB, free: 4.168 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.3178, allocations: 11.25 kB / 441.7 MB, free: 4.16 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (20): * Single equations (assignments): 18 * 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.0001145/0.3179, allocations: 142.5 kB / 441.9 MB, free: 4.023 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/0.3179, allocations: 19.81 kB / 441.9 MB, free: 4.004 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.745e-05/0.318, allocations: 25.3 kB / 441.9 MB, free: 3.992 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.318, allocations: 7.938 kB / 441.9 MB, free: 3.984 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.824e-06/0.318, allocations: 0 / 441.9 MB, free: 3.984 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.318, allocations: 4 kB / 441.9 MB, free: 3.98 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.3182, allocations: 295.8 kB / 442.2 MB, free: 3.688 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3182, allocations: 0 / 442.2 MB, free: 3.688 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/0.3183, allocations: 24.17 kB / 442.2 MB, free: 3.664 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003293/0.3186, allocations: 96.95 kB / 442.3 MB, free: 3.574 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.3187, allocations: 6.562 kB / 442.3 MB, free: 3.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001593/0.3203, allocations: 1.757 MB / 444.1 MB, free: 1.805 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3203, allocations: 4.062 kB / 444.1 MB, free: 1.801 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007226/0.321, allocations: 331.9 kB / 444.4 MB, free: 1.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.731e-05/0.3211, allocations: 100.8 kB / 444.5 MB, free: 1.383 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.06e-05/0.3211, allocations: 11.58 kB / 444.5 MB, free: 1.375 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002016/0.3213, allocations: 31.59 kB / 444.6 MB, free: 1.348 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.831e-05/0.3214, allocations: 28.03 kB / 444.6 MB, free: 1.324 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.3214, allocations: 0 / 444.6 MB, free: 1.324 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001263/0.3215, allocations: 191.1 kB / 444.8 MB, free: 1.168 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3215, allocations: 0 / 444.8 MB, free: 1.168 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003624/0.3219, allocations: 71.19 kB / 444.8 MB, free: 1.105 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.0001057/0.322, allocations: 100.6 kB / 444.9 MB, free: 1 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007515/0.3228, allocations: 404 kB / 445.3 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.3228, allocations: 0 / 445.3 MB, free: 0.6328 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003629/0.3232, allocations: 227.8 kB / 445.6 MB, free: 436 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.3234, allocations: 42.28 kB / 445.6 MB, free: 408 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.3251, allocations: 0.6895 MB / 446.3 MB, free: 15.71 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.3254, allocations: 0.7521 MB / 447 MB, free: 14.94 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001061/0.3255, allocations: 26.47 kB / 447.1 MB, free: 14.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.032e-05/0.3256, allocations: 15.44 kB / 447.1 MB, free: 14.9 MB / 330.7 MB Notification: Performance of SimCode: time 3.91e-07/0.3256, allocations: 4 kB / 447.1 MB, free: 14.89 MB / 330.7 MB Notification: Performance of Templates: time 0.00593/0.3315, allocations: 3.18 MB / 450.3 MB, free: 11.78 MB / 330.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1)