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.001767/0.001767, allocations: 181.7 kB / 13.64 MB, free: 1.676 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.439/1.439, allocations: 194.3 MB / 208.4 MB, free: 6.711 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.001621/0.001621, allocations: 125.7 kB / 253.5 MB, free: 9.578 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.171e-05/3.173e-05, allocations: 4 kB / 305 MB, free: 29.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08524/0.08528, allocations: 44.49 MB / 349.4 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3533/0.4386, allocations: 74.37 MB / 423.8 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/0.4389, allocations: 76.25 kB / 423.9 MB, free: 10.91 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01348/0.4524, allocations: 5.181 MB / 429.1 MB, free: 9.152 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4525, allocations: 0 / 429.1 MB, free: 9.152 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.464e-05/0.4525, allocations: 7.844 kB / 429.1 MB, free: 9.148 MB / 298.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.0007375/0.4532, allocations: 0.5421 MB / 429.6 MB, free: 8.676 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.4533, allocations: 7.719 kB / 429.6 MB, free: 8.676 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.431e-05/0.4534, allocations: 42.89 kB / 429.7 MB, free: 8.652 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.4537, allocations: 255 kB / 429.9 MB, free: 8.418 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.4537, allocations: 15.09 kB / 429.9 MB, free: 8.418 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.381e-05/0.4537, allocations: 19.41 kB / 430 MB, free: 8.414 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003381/0.4541, allocations: 190 kB / 430.1 MB, free: 8.359 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.4541, allocations: 3.984 kB / 430.1 MB, free: 8.355 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.788e-05/0.4541, allocations: 7.438 kB / 430.1 MB, free: 8.355 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.4541, allocations: 3.844 kB / 430.2 MB, free: 8.355 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002405/0.4544, allocations: 145.5 kB / 430.3 MB, free: 8.348 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.4557, allocations: 0.8908 MB / 431.2 MB, free: 7.75 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002809/0.456, allocations: 126.9 kB / 431.3 MB, free: 7.723 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.242e-05/0.4561, allocations: 69.73 kB / 431.4 MB, free: 7.699 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.4561, allocations: 3.844 kB / 431.4 MB, free: 7.699 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002453/0.4564, allocations: 124.9 kB / 431.5 MB, free: 7.613 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.264e-06/0.4564, allocations: 0 / 431.5 MB, free: 7.613 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006622/0.4571, allocations: 218.7 kB / 431.7 MB, free: 7.531 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.4571, allocations: 110.7 kB / 431.8 MB, free: 7.402 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.4573, allocations: 229.7 kB / 432 MB, free: 7.289 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.4574, allocations: 28.83 kB / 432.1 MB, free: 7.258 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.564e-05/0.4575, allocations: 172.1 kB / 432.2 MB, free: 7.125 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.284e-05/0.4575, allocations: 44.11 kB / 432.3 MB, free: 7.094 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.13e-05/0.4575, allocations: 3.5 kB / 432.3 MB, free: 7.094 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.213e-05/0.4576, allocations: 336.1 kB / 432.6 MB, free: 6.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.227e-05/0.4577, allocations: 55.2 kB / 432.7 MB, free: 6.762 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.4578, allocations: 118.3 kB / 432.8 MB, free: 6.676 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001103/0.458, allocations: 81.19 kB / 432.9 MB, free: 6.641 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.458, allocations: 224 / 432.9 MB, free: 6.641 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006039/0.4586, allocations: 308.3 kB / 433.2 MB, free: 6.516 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.302e-05/0.4586, allocations: 48.53 kB / 433.2 MB, free: 6.473 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.4586, allocations: 3.844 kB / 433.2 MB, free: 6.473 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004535/0.4591, allocations: 96.22 kB / 433.3 MB, free: 6.438 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.4593, allocations: 42.53 kB / 433.4 MB, free: 6.426 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/0.4607, allocations: 1.602 MB / 435 MB, free: 5.004 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002671/0.461, allocations: 46.06 kB / 435 MB, free: 4.984 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.461, allocations: 11.69 kB / 435 MB, free: 4.98 MB / 298.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 () * 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 8.081e-05/0.4611, allocations: 127.2 kB / 435.1 MB, free: 4.863 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.4612, allocations: 19.28 kB / 435.2 MB, free: 4.852 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.572e-05/0.4612, allocations: 27.86 kB / 435.2 MB, free: 4.84 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.4612, allocations: 3.938 kB / 435.2 MB, free: 4.836 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.4612, allocations: 0 / 435.2 MB, free: 4.836 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.4612, allocations: 3.75 kB / 435.2 MB, free: 4.836 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.4614, allocations: 289.8 kB / 435.5 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.4615, allocations: 0 / 435.5 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001672/0.4616, allocations: 34.34 kB / 435.5 MB, free: 4.586 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003513/0.462, allocations: 93.11 kB / 435.6 MB, free: 4.555 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.462, allocations: 7.109 kB / 435.6 MB, free: 4.551 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00107/0.4631, allocations: 1.472 MB / 437.1 MB, free: 3.223 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4631, allocations: 64 / 437.1 MB, free: 3.223 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000511/0.4636, allocations: 256 kB / 437.3 MB, free: 3.098 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.953e-05/0.4637, allocations: 96.47 kB / 437.4 MB, free: 2.988 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.178e-05/0.4637, allocations: 7.812 kB / 437.4 MB, free: 2.988 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000212/0.464, allocations: 27.28 kB / 437.5 MB, free: 2.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.039e-05/0.464, allocations: 27.48 kB / 437.5 MB, free: 2.969 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.4641, allocations: 7.938 kB / 437.5 MB, free: 2.965 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001491/0.4642, allocations: 181.1 kB / 437.7 MB, free: 2.879 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.4642, allocations: 0 / 437.7 MB, free: 2.879 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003156/0.4645, allocations: 68.94 kB / 437.7 MB, free: 2.871 MB / 298.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) * 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.0001448/0.4647, allocations: 106.4 kB / 437.8 MB, free: 2.777 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004635/0.4652, allocations: 313.4 kB / 438.1 MB, free: 2.586 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4652, allocations: 4.125 kB / 438.2 MB, free: 2.582 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001899/0.4654, allocations: 181 kB / 438.3 MB, free: 2.461 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.4657, allocations: 31.34 kB / 438.4 MB, free: 2.457 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005459/0.4662, allocations: 264.9 kB / 438.6 MB, free: 2.301 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002113/0.4664, allocations: 0.7506 MB / 439.4 MB, free: 1.566 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001043/0.4665, allocations: 29.58 kB / 439.4 MB, free: 1.547 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.139e-05/0.4666, allocations: 15.12 kB / 439.4 MB, free: 1.539 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.4666, allocations: 3.938 kB / 439.4 MB, free: 1.535 MB / 298.7 MB Notification: Performance of Templates: time 0.005937/0.4726, allocations: 3.214 MB / 442.6 MB, free: 15.95 MB / 314.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)