Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001064/0.001064, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001288/0.001288, allocations: 177.3 kB / 15.94 MB, free: 228 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.982/1.982, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.0006343/0.0006346, allocations: 8 kB / 278.9 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.3778, allocations: 47.59 MB / 326.5 MB, free: 1.43 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.003439/0.3814, allocations: 2.211 MB / 328.7 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001642/0.383, allocations: 0.7016 MB / 329.4 MB, free: 15.13 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002059/0.3833, allocations: 8.094 kB / 329.4 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 7.922e-05/0.3834, allocations: 26.8 kB / 329.4 MB, free: 15.1 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003722/0.3838, allocations: 103.6 kB / 329.5 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003351/0.3841, allocations: 73.84 kB / 329.6 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004393/0.3845, allocations: 224.5 kB / 329.8 MB, free: 14.81 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002699/0.3848, allocations: 64.75 kB / 329.9 MB, free: 14.77 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002037/0.385, allocations: 116.1 kB / 330 MB, free: 14.71 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002507/0.3853, allocations: 128.1 kB / 330.1 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.595e-05/0.3854, allocations: 14.03 kB / 330.1 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.541e-05/0.3854, allocations: 20.19 kB / 330.1 MB, free: 14.62 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.051e-05/0.3855, allocations: 49.47 kB / 330.2 MB, free: 14.57 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001186/0.3856, allocations: 69.48 kB / 330.2 MB, free: 14.52 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003475/0.386, allocations: 241.5 kB / 330.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.386, allocations: 0 / 330.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.577e-06/0.386, allocations: 0 / 330.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.534e-06/0.386, allocations: 0 / 330.5 MB, free: 14.34 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.001496/0.3875, allocations: 0.6126 MB / 331.1 MB, free: 13.8 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/0.3876, allocations: 8.938 kB / 331.1 MB, free: 13.8 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.93e-05/0.3877, allocations: 34.8 kB / 331.1 MB, free: 13.78 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000467/0.3882, allocations: 272 kB / 331.4 MB, free: 13.51 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.617e-05/0.3882, allocations: 16.72 kB / 331.4 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.843e-05/0.3883, allocations: 20.88 kB / 331.4 MB, free: 13.49 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006876/0.389, allocations: 260.8 kB / 331.7 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.389, allocations: 0 / 331.7 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.283e-05/0.389, allocations: 10.19 kB / 331.7 MB, free: 13.33 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.389, allocations: 5.375 kB / 331.7 MB, free: 13.33 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008112/0.3899, allocations: 274.8 kB / 332 MB, free: 13.22 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00189/0.3918, allocations: 0.8888 MB / 332.9 MB, free: 12.48 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009837/0.3928, allocations: 275 kB / 333.1 MB, free: 12.35 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.419e-05/0.3928, allocations: 10.56 kB / 333.1 MB, free: 12.34 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006474/0.3935, allocations: 194.9 kB / 333.3 MB, free: 12.2 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.793e-06/0.3935, allocations: 0 / 333.3 MB, free: 12.2 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.002859/0.3964, allocations: 0.7511 MB / 334.1 MB, free: 11.6 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.3965, allocations: 106.8 kB / 334.2 MB, free: 11.47 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000352/0.3969, allocations: 262.5 kB / 334.4 MB, free: 11.2 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.907e-05/0.3969, allocations: 29.7 kB / 334.5 MB, free: 11.17 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.3971, allocations: 183.8 kB / 334.7 MB, free: 10.98 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.195e-05/0.3971, allocations: 35.45 kB / 334.7 MB, free: 10.95 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.847e-05/0.3972, allocations: 8 kB / 334.7 MB, free: 10.94 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.3974, allocations: 334.8 kB / 335 MB, free: 10.61 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003382/0.3977, allocations: 112.1 kB / 335.1 MB, free: 10.5 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000389/0.3981, allocations: 180 kB / 335.3 MB, free: 10.29 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003855/0.3985, allocations: 137.7 kB / 335.4 MB, free: 10.15 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3985, allocations: 3.938 kB / 335.4 MB, free: 10.15 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001262/0.3998, allocations: 474.5 kB / 335.9 MB, free: 9.672 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003928/0.4002, allocations: 0.649 MB / 336.6 MB, free: 8.969 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.4002, allocations: 4 kB / 336.6 MB, free: 8.965 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004359/0.4007, allocations: 85.02 kB / 336.6 MB, free: 8.879 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002082/0.4009, allocations: 39.97 kB / 336.7 MB, free: 8.84 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002891/0.4038, allocations: 1.838 MB / 338.5 MB, free: 6.859 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003952/0.4042, allocations: 55.8 kB / 338.6 MB, free: 6.805 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.4042, allocations: 16.05 kB / 338.6 MB, free: 6.789 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.082e-05/0.4042, allocations: 4 kB / 338.6 MB, free: 6.785 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007141/0.405, allocations: 298.3 kB / 338.9 MB, free: 6.484 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.405, allocations: 4 kB / 338.9 MB, free: 6.48 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.972e-05/0.4051, allocations: 28.84 kB / 338.9 MB, free: 6.449 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.4053, allocations: 44 kB / 339 MB, free: 6.406 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/0.4067, allocations: 1.452 MB / 340.4 MB, free: 4.82 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003898/0.4071, allocations: 43.81 kB / 340.5 MB, free: 4.777 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.4071, allocations: 8 kB / 340.5 MB, free: 4.77 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.0003102/0.4074, allocations: 217.2 kB / 340.7 MB, free: 4.547 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.388e-05/0.4075, allocations: 19.72 kB / 340.7 MB, free: 4.527 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.071e-05/0.4075, allocations: 25.84 kB / 340.7 MB, free: 4.508 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.4075, allocations: 3.953 kB / 340.7 MB, free: 4.504 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.4076, allocations: 8.047 kB / 340.7 MB, free: 4.496 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.4076, allocations: 0 / 340.7 MB, free: 4.496 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003499/0.4079, allocations: 289.4 kB / 341 MB, free: 4.164 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4079, allocations: 0 / 341 MB, free: 4.164 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001424/0.4081, allocations: 35.91 kB / 341.1 MB, free: 4.129 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002943/0.4084, allocations: 80.8 kB / 341.1 MB, free: 4.047 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.4084, allocations: 4 kB / 341.1 MB, free: 4.043 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002603/0.411, allocations: 1.698 MB / 342.8 MB, free: 2.211 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.411, allocations: 0 / 342.8 MB, free: 2.211 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.4123, allocations: 389.6 kB / 343.2 MB, free: 1.809 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.4124, allocations: 104.8 kB / 343.3 MB, free: 1.688 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.326e-05/0.4125, allocations: 12 kB / 343.3 MB, free: 1.676 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002584/0.4128, allocations: 39.95 kB / 343.4 MB, free: 1.637 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000144/0.4129, allocations: 23.97 kB / 343.4 MB, free: 1.613 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.4129, allocations: 0 / 343.4 MB, free: 1.613 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002667/0.4132, allocations: 194 kB / 343.6 MB, free: 1.422 MB / 270.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4132, allocations: 0 / 343.6 MB, free: 1.422 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006994/0.4139, allocations: 119.8 kB / 343.7 MB, free: 1.305 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.0002415/0.4142, allocations: 107.2 kB / 343.8 MB, free: 1.191 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0019/0.4161, allocations: 0.7266 MB / 344.5 MB, free: 424 kB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.4161, allocations: 0 / 344.5 MB, free: 424 kB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005698/0.4167, allocations: 250.9 kB / 344.8 MB, free: 160 kB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/0.4171, allocations: 40.48 kB / 344.8 MB, free: 120 kB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001483/0.4186, allocations: 0.5344 MB / 345.3 MB, free: 15.56 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006065/0.4193, allocations: 0.7521 MB / 346.1 MB, free: 14.78 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001513/0.4194, allocations: 22.3 kB / 346.1 MB, free: 14.76 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.353e-05/0.4195, allocations: 23.44 kB / 346.1 MB, free: 14.74 MB / 286.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4195, allocations: 0 / 346.1 MB, free: 14.74 MB / 286.1 MB Notification: Performance of Templates: time 0.009479/0.429, allocations: 3.689 MB / 349.8 MB, free: 11.05 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile Environment - environmentSimulation: (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1) Environment - environmentSimulation: