Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00134/0.00134, allocations: 190.7 kB / 16.25 MB, free: 6.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.968/1.968, allocations: 205.1 MB / 222.1 MB, free: 4.672 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.001445/0.001445, allocations: 51.92 kB / 278.2 MB, free: 12.65 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5166/0.518, allocations: 46.62 MB / 324.9 MB, free: 1.883 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.006026/0.5242, allocations: 2.771 MB / 327.6 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002271/0.5265, allocations: 0.7182 MB / 328.3 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003013/0.5269, allocations: 3.219 kB / 328.3 MB, free: 15.11 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002879/0.5272, allocations: 27.98 kB / 328.4 MB, free: 15.08 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002651/0.5275, allocations: 84.45 kB / 328.5 MB, free: 15.01 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005005/0.528, allocations: 86.84 kB / 328.5 MB, free: 14.93 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007542/0.5288, allocations: 347.1 kB / 328.9 MB, free: 14.73 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003384/0.5291, allocations: 85.64 kB / 329 MB, free: 14.69 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002799/0.5294, allocations: 130.3 kB / 329.1 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002785/0.5297, allocations: 164.5 kB / 329.3 MB, free: 14.49 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.636e-05/0.5298, allocations: 28.56 kB / 329.3 MB, free: 14.49 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.729e-05/0.5299, allocations: 30.34 kB / 329.3 MB, free: 14.49 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001017/0.53, allocations: 62.36 kB / 329.4 MB, free: 14.44 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002186/0.5302, allocations: 145.7 kB / 329.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005587/0.5308, allocations: 321.2 kB / 329.8 MB, free: 14.1 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.038e-05/0.5308, allocations: 0.875 kB / 329.8 MB, free: 14.1 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.5308, allocations: 0 / 329.8 MB, free: 14.1 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.5308, allocations: 1.344 kB / 329.8 MB, free: 14.1 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.001856/0.5327, allocations: 0.6452 MB / 330.5 MB, free: 13.52 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.479e-05/0.5328, allocations: 9.156 kB / 330.5 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.5329, allocations: 32.09 kB / 330.5 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004925/0.5334, allocations: 281.3 kB / 330.8 MB, free: 13.22 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.008e-05/0.5335, allocations: 12.41 kB / 330.8 MB, free: 13.21 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.119e-05/0.5336, allocations: 21.75 kB / 330.8 MB, free: 13.21 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008238/0.5344, allocations: 247.6 kB / 331.1 MB, free: 13.06 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.5344, allocations: 0 / 331.1 MB, free: 13.06 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.105e-05/0.5345, allocations: 9.375 kB / 331.1 MB, free: 13.05 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.5345, allocations: 9.188 kB / 331.1 MB, free: 13.05 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008547/0.5354, allocations: 242.6 kB / 331.3 MB, free: 12.94 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002546/0.5379, allocations: 0.8732 MB / 332.2 MB, free: 12.2 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/0.539, allocations: 242.5 kB / 332.4 MB, free: 12.08 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003889/0.5394, allocations: 101.9 kB / 332.5 MB, free: 12.03 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.345e-05/0.5394, allocations: 9.188 kB / 332.5 MB, free: 12.02 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001021/0.5404, allocations: 178.9 kB / 332.7 MB, free: 11.88 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 2.174e-06/0.5405, allocations: 0 / 332.7 MB, free: 11.88 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.003/0.5435, allocations: 0.6763 MB / 333.4 MB, free: 11.33 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.5436, allocations: 102.8 kB / 333.5 MB, free: 11.2 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005001/0.5441, allocations: 274.6 kB / 333.8 MB, free: 10.93 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.071e-05/0.5442, allocations: 29.7 kB / 333.8 MB, free: 10.89 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/0.5444, allocations: 175.8 kB / 334 MB, free: 10.71 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.299e-05/0.5444, allocations: 39.45 kB / 334 MB, free: 10.68 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.5446, allocations: 49.61 kB / 334 MB, free: 10.62 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000264/0.5448, allocations: 338.8 kB / 334.4 MB, free: 10.28 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004773/0.5453, allocations: 108.7 kB / 334.5 MB, free: 10.17 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004213/0.5458, allocations: 177.3 kB / 334.7 MB, free: 9.965 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008015/0.5466, allocations: 272.2 kB / 334.9 MB, free: 9.668 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.623e-06/0.5466, allocations: 7.938 kB / 334.9 MB, free: 9.66 MB / 270.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001495/0.5481, allocations: 451.6 kB / 335.4 MB, free: 9.203 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.163e-05/0.5482, allocations: 37.73 kB / 335.4 MB, free: 9.16 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.5482, allocations: 4 kB / 335.4 MB, free: 9.156 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005068/0.5487, allocations: 76.8 kB / 335.5 MB, free: 9.078 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/0.549, allocations: 43.91 kB / 335.5 MB, free: 9.035 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003872/0.5528, allocations: 2.013 MB / 337.5 MB, free: 6.875 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004384/0.5533, allocations: 51.97 kB / 337.6 MB, free: 6.824 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.993e-05/0.5534, allocations: 12 kB / 337.6 MB, free: 6.812 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004184/0.5538, allocations: 188.1 kB / 337.8 MB, free: 6.625 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003162/0.5541, allocations: 157.4 kB / 337.9 MB, free: 6.438 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007803/0.5549, allocations: 247.5 kB / 338.2 MB, free: 6.164 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.825e-06/0.5549, allocations: 0 / 338.2 MB, free: 6.164 MB / 270.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0008104/0.5557, allocations: 327.8 kB / 338.5 MB, free: 5.828 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.232e-05/0.5558, allocations: 33.7 kB / 338.5 MB, free: 5.789 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.5558, allocations: 4 kB / 338.5 MB, free: 5.785 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001545/0.556, allocations: 28.83 kB / 338.6 MB, free: 5.754 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.5562, allocations: 43.91 kB / 338.6 MB, free: 5.711 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001293/0.5575, allocations: 1.418 MB / 340 MB, free: 4.156 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003679/0.5579, allocations: 47.81 kB / 340.1 MB, free: 4.109 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.13e-05/0.5579, allocations: 8 kB / 340.1 MB, free: 4.102 MB / 270.1 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 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002705/0.5582, allocations: 196.4 kB / 340.3 MB, free: 3.902 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.516e-05/0.5583, allocations: 23.72 kB / 340.3 MB, free: 3.879 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.388e-05/0.5583, allocations: 25.83 kB / 340.3 MB, free: 3.855 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.5584, allocations: 8 kB / 340.3 MB, free: 3.848 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.5584, allocations: 3.938 kB / 340.3 MB, free: 3.844 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.5584, allocations: 0 / 340.3 MB, free: 3.844 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004604/0.5588, allocations: 293.4 kB / 340.6 MB, free: 3.508 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.5589, allocations: 0 / 340.6 MB, free: 3.508 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001346/0.559, allocations: 23.97 kB / 340.6 MB, free: 3.484 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002951/0.5593, allocations: 76.81 kB / 340.7 MB, free: 3.406 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.5593, allocations: 3.984 kB / 340.7 MB, free: 3.402 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00262/0.562, allocations: 1.919 MB / 342.6 MB, free: 1.344 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.562, allocations: 4.062 kB / 342.7 MB, free: 1.34 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.563, allocations: 358 kB / 343 MB, free: 0.9688 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.5632, allocations: 108.7 kB / 343.1 MB, free: 0.8438 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.913e-05/0.5632, allocations: 4 kB / 343.1 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002483/0.5635, allocations: 32.09 kB / 343.1 MB, free: 0.8086 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.5636, allocations: 23.91 kB / 343.2 MB, free: 0.7852 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.5636, allocations: 8 kB / 343.2 MB, free: 0.7773 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002257/0.5638, allocations: 198 kB / 343.4 MB, free: 0.582 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.304e-06/0.5638, allocations: 0 / 343.4 MB, free: 0.582 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006929/0.5645, allocations: 127.6 kB / 343.5 MB, free: 468 kB / 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002513/0.5648, allocations: 103.2 kB / 343.6 MB, free: 356 kB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.002024/0.5668, allocations: 0.7579 MB / 344.3 MB, free: 15.54 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.5669, allocations: 3.938 kB / 344.4 MB, free: 15.54 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005094/0.5674, allocations: 235 kB / 344.6 MB, free: 15.29 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004569/0.5678, allocations: 52.47 kB / 344.6 MB, free: 15.24 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003339/0.5712, allocations: 0.9772 MB / 345.6 MB, free: 14.24 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006417/0.5719, allocations: 0.7483 MB / 346.4 MB, free: 13.46 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002164/0.5721, allocations: 26.28 kB / 346.4 MB, free: 13.43 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.452e-05/0.5722, allocations: 19.44 kB / 346.4 MB, free: 13.41 MB / 286.1 MB Notification: Performance of SimCode: time 9.61e-07/0.5722, allocations: 0 / 346.4 MB, free: 13.41 MB / 286.1 MB Notification: Performance of Templates: time 0.01281/0.585, allocations: 4.048 MB / 350.5 MB, free: 9.367 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1)