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.001555/0.001555, allocations: 182 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.469/1.469, allocations: 194.3 MB / 208.4 MB, free: 6.719 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.001479/0.00148, allocations: 104.8 kB / 253.5 MB, free: 9.598 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.25e-05/3.251e-05, allocations: 4 kB / 305 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07868/0.07873, allocations: 44.5 MB / 349.5 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.306/0.3848, allocations: 74.37 MB / 423.8 MB, free: 10.95 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/0.3851, allocations: 78.25 kB / 423.9 MB, free: 10.95 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0133/0.3984, allocations: 5.193 MB / 429.1 MB, free: 9.184 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3984, allocations: 0 / 429.1 MB, free: 9.184 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.36e-05/0.3984, allocations: 3.938 kB / 429.1 MB, free: 9.184 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.0007028/0.3991, allocations: 0.5361 MB / 429.6 MB, free: 8.711 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.3992, allocations: 7.594 kB / 429.6 MB, free: 8.711 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.51e-05/0.3993, allocations: 31.03 kB / 429.7 MB, free: 8.695 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.3996, allocations: 267 kB / 429.9 MB, free: 8.453 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.3996, allocations: 14.75 kB / 429.9 MB, free: 8.453 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.396e-05/0.3996, allocations: 26.19 kB / 430 MB, free: 8.449 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003196/0.4, allocations: 186.8 kB / 430.2 MB, free: 8.395 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.4, allocations: 0 / 430.2 MB, free: 8.395 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.4, allocations: 9.188 kB / 430.2 MB, free: 8.395 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.4, allocations: 3.594 kB / 430.2 MB, free: 8.395 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002359/0.4003, allocations: 144 kB / 430.3 MB, free: 8.391 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001239/0.4015, allocations: 0.8876 MB / 431.2 MB, free: 7.789 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/0.4018, allocations: 132.1 kB / 431.3 MB, free: 7.758 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001061/0.4019, allocations: 60.38 kB / 431.4 MB, free: 7.746 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.4019, allocations: 3.938 kB / 431.4 MB, free: 7.742 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002098/0.4022, allocations: 137.5 kB / 431.5 MB, free: 7.648 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.362e-06/0.4022, allocations: 0 / 431.5 MB, free: 7.648 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005871/0.4028, allocations: 213.6 kB / 431.7 MB, free: 7.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.4028, allocations: 106.8 kB / 431.8 MB, free: 7.445 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.403, allocations: 234 kB / 432.1 MB, free: 7.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.936e-05/0.4031, allocations: 33.36 kB / 432.1 MB, free: 7.289 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.176e-05/0.4031, allocations: 170.9 kB / 432.3 MB, free: 7.16 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.4032, allocations: 45.78 kB / 432.3 MB, free: 7.129 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.162e-05/0.4032, allocations: 7.375 kB / 432.3 MB, free: 7.125 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.626e-05/0.4033, allocations: 337.1 kB / 432.6 MB, free: 6.805 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.664e-05/0.4034, allocations: 55.64 kB / 432.7 MB, free: 6.801 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001189/0.4035, allocations: 128.8 kB / 432.8 MB, free: 6.703 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.4036, allocations: 90.08 kB / 432.9 MB, free: 6.656 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.4036, allocations: 0 / 432.9 MB, free: 6.656 MB / 298.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005926/0.4042, allocations: 328.2 kB / 433.2 MB, free: 6.523 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.352e-05/0.4043, allocations: 44.19 kB / 433.3 MB, free: 6.488 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.4043, allocations: 3.625 kB / 433.3 MB, free: 6.488 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004309/0.4047, allocations: 96 kB / 433.4 MB, free: 6.457 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001873/0.4049, allocations: 51.22 kB / 433.4 MB, free: 6.441 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/0.4063, allocations: 1.593 MB / 435 MB, free: 5.02 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002827/0.4066, allocations: 38.88 kB / 435.1 MB, free: 5.004 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.4066, allocations: 14.97 kB / 435.1 MB, free: 5 MB / 298.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 () * 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 7.811e-05/0.4067, allocations: 124.6 kB / 435.2 MB, free: 4.887 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.4067, allocations: 23.19 kB / 435.2 MB, free: 4.875 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.141e-05/0.4068, allocations: 28.05 kB / 435.2 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.786e-06/0.4068, allocations: 3.812 kB / 435.2 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.4068, allocations: 0 / 435.2 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.4068, allocations: 0 / 435.2 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001883/0.407, allocations: 290 kB / 435.5 MB, free: 4.617 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.407, allocations: 0 / 435.5 MB, free: 4.617 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001353/0.4072, allocations: 35.09 kB / 435.6 MB, free: 4.605 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003553/0.4075, allocations: 97.08 kB / 435.7 MB, free: 4.574 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.4076, allocations: 3.984 kB / 435.7 MB, free: 4.57 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001124/0.4087, allocations: 1.571 MB / 437.2 MB, free: 3.16 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4087, allocations: 0 / 437.2 MB, free: 3.16 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004938/0.4092, allocations: 262.8 kB / 437.5 MB, free: 3.031 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.638e-05/0.4093, allocations: 100.5 kB / 437.6 MB, free: 2.922 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.234e-05/0.4093, allocations: 7.516 kB / 437.6 MB, free: 2.918 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.4095, allocations: 34.19 kB / 437.6 MB, free: 2.91 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.751e-05/0.4096, allocations: 26.92 kB / 437.7 MB, free: 2.895 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.4096, allocations: 3.688 kB / 437.7 MB, free: 2.895 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001419/0.4098, allocations: 184.9 kB / 437.8 MB, free: 2.805 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4098, allocations: 0 / 437.8 MB, free: 2.805 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003551/0.4101, allocations: 72.03 kB / 437.9 MB, free: 2.797 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.0001274/0.4103, allocations: 105.5 kB / 438 MB, free: 2.707 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004137/0.4107, allocations: 309.7 kB / 438.3 MB, free: 2.516 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.4107, allocations: 3.812 kB / 438.3 MB, free: 2.516 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001898/0.4109, allocations: 188 kB / 438.5 MB, free: 2.387 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.4111, allocations: 42.59 kB / 438.5 MB, free: 2.375 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.4125, allocations: 444.2 kB / 439 MB, free: 2.176 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/0.4127, allocations: 0.7535 MB / 439.7 MB, free: 1.438 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.554e-05/0.4128, allocations: 21.61 kB / 439.8 MB, free: 1.426 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.921e-05/0.4128, allocations: 18.97 kB / 439.8 MB, free: 1.418 MB / 298.7 MB Notification: Performance of SimCode: time 4.21e-07/0.4128, allocations: 3.938 kB / 439.8 MB, free: 1.414 MB / 298.7 MB Notification: Performance of Templates: time 0.005653/0.4185, allocations: 3.179 MB / 443 MB, free: 15.86 MB / 314.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)