Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.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.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.001281/0.001287, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001603/0.001603, allocations: 172.7 kB / 15.95 MB, free: 208 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.908/1.908, allocations: 205.4 MB / 222.1 MB, free: 5.891 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.0005992/0.0005993, allocations: 12 kB / 278.9 MB, free: 13.04 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3667, allocations: 47.58 MB / 326.5 MB, free: 1.387 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.004132/0.3709, allocations: 2.317 MB / 328.8 MB, free: 15.56 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002262/0.3732, allocations: 0.6879 MB / 329.5 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004429/0.3736, allocations: 3.969 kB / 329.5 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002729/0.3739, allocations: 31.83 kB / 329.5 MB, free: 14.96 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005051/0.3744, allocations: 72.55 kB / 329.6 MB, free: 14.9 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005348/0.375, allocations: 70.39 kB / 329.7 MB, free: 14.84 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009386/0.3759, allocations: 317.9 kB / 330 MB, free: 14.65 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003863/0.3764, allocations: 73.69 kB / 330 MB, free: 14.61 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005377/0.3769, allocations: 112 kB / 330.2 MB, free: 14.55 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005167/0.3774, allocations: 132.3 kB / 330.3 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001317/0.3776, allocations: 15.91 kB / 330.3 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000169/0.3778, allocations: 15.34 kB / 330.3 MB, free: 14.46 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001204/0.3779, allocations: 50.39 kB / 330.4 MB, free: 14.41 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002478/0.3782, allocations: 72.73 kB / 330.4 MB, free: 14.36 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005144/0.3787, allocations: 237.9 kB / 330.7 MB, free: 14.18 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.698e-06/0.3787, allocations: 0 / 330.7 MB, free: 14.18 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.378e-06/0.3787, allocations: 4 kB / 330.7 MB, free: 14.18 MB / 270.1 MB Notification: Performance of Transformations before backend: time 2.443e-05/0.3788, allocations: 1.094 kB / 330.7 MB, free: 14.18 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.002212/0.381, allocations: 0.6098 MB / 331.3 MB, free: 13.64 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.151e-05/0.3811, allocations: 8.938 kB / 331.3 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001959/0.3813, allocations: 30.53 kB / 331.3 MB, free: 13.62 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006691/0.382, allocations: 275.7 kB / 331.6 MB, free: 13.35 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.407e-05/0.382, allocations: 17.16 kB / 331.6 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.769e-05/0.3821, allocations: 21.72 kB / 331.6 MB, free: 13.33 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.3832, allocations: 256.7 kB / 331.9 MB, free: 13.18 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.644e-05/0.3832, allocations: 5 kB / 331.9 MB, free: 13.18 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.918e-05/0.3833, allocations: 10.34 kB / 331.9 MB, free: 13.17 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.484e-05/0.3833, allocations: 4.281 kB / 331.9 MB, free: 13.17 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.3845, allocations: 272.4 kB / 332.2 MB, free: 13.06 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002545/0.387, allocations: 0.8952 MB / 333.1 MB, free: 12.32 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009315/0.388, allocations: 270.9 kB / 333.3 MB, free: 12.19 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005123/0.3885, allocations: 122.4 kB / 333.4 MB, free: 12.13 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.164e-05/0.3886, allocations: 2.062 kB / 333.4 MB, free: 12.13 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007511/0.3893, allocations: 196.2 kB / 333.6 MB, free: 11.99 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 3.046e-06/0.3893, allocations: 0 / 333.6 MB, free: 11.99 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.003168/0.3925, allocations: 0.7507 MB / 334.4 MB, free: 11.37 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.949e-05/0.3926, allocations: 106.8 kB / 334.5 MB, free: 11.24 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004403/0.3931, allocations: 274.7 kB / 334.8 MB, free: 10.96 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 3.885e-05/0.3931, allocations: 25.7 kB / 334.8 MB, free: 10.93 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.3933, allocations: 183.8 kB / 335 MB, free: 10.75 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.668e-05/0.3934, allocations: 43.44 kB / 335 MB, free: 10.7 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.481e-05/0.3934, allocations: 4 kB / 335 MB, free: 10.7 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001883/0.3936, allocations: 338.8 kB / 335.3 MB, free: 10.36 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004383/0.394, allocations: 111.9 kB / 335.4 MB, free: 10.25 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005191/0.3946, allocations: 189.4 kB / 335.6 MB, free: 10.03 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004956/0.3951, allocations: 145.6 kB / 335.8 MB, free: 9.883 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/0.3951, allocations: 0 / 335.8 MB, free: 9.883 MB / 270.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.00167/0.3968, allocations: 498.2 kB / 336.3 MB, free: 9.383 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000178/0.397, allocations: 173.5 kB / 336.4 MB, free: 9.176 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.397, allocations: 8 kB / 336.4 MB, free: 9.168 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000497/0.3975, allocations: 80.8 kB / 336.5 MB, free: 9.086 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002725/0.3978, allocations: 51.91 kB / 336.6 MB, free: 9.035 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002984/0.4008, allocations: 1.862 MB / 338.4 MB, free: 7.031 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003782/0.4012, allocations: 67.69 kB / 338.5 MB, free: 6.965 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.758e-05/0.4012, allocations: 12 kB / 338.5 MB, free: 6.953 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.053e-06/0.4012, allocations: 4 kB / 338.5 MB, free: 6.949 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006742/0.4019, allocations: 310.2 kB / 338.8 MB, free: 6.637 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.4019, allocations: 0 / 338.8 MB, free: 6.637 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.257e-05/0.402, allocations: 25 kB / 338.8 MB, free: 6.609 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.4022, allocations: 55.91 kB / 338.9 MB, free: 6.555 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009245/0.4032, allocations: 1.304 MB / 340.2 MB, free: 5.117 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003071/0.4035, allocations: 47.81 kB / 340.2 MB, free: 5.07 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.4035, allocations: 4 kB / 340.2 MB, free: 5.066 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 ($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.0002553/0.4038, allocations: 225.2 kB / 340.5 MB, free: 4.836 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.495e-05/0.4038, allocations: 23.7 kB / 340.5 MB, free: 4.812 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.134e-05/0.4039, allocations: 25.83 kB / 340.5 MB, free: 4.793 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.4039, allocations: 0 / 340.5 MB, free: 4.793 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.237e-06/0.4039, allocations: 0 / 340.5 MB, free: 4.793 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.4039, allocations: 4 kB / 340.5 MB, free: 4.789 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003737/0.4043, allocations: 301.4 kB / 340.8 MB, free: 4.445 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.4043, allocations: 0 / 340.8 MB, free: 4.445 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001312/0.4044, allocations: 27.98 kB / 340.8 MB, free: 4.418 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002525/0.4047, allocations: 88.73 kB / 340.9 MB, free: 4.328 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.4047, allocations: 7.984 kB / 340.9 MB, free: 4.32 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002247/0.407, allocations: 1.752 MB / 342.7 MB, free: 2.434 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.407, allocations: 3.953 kB / 342.7 MB, free: 2.43 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.408, allocations: 389.5 kB / 343.1 MB, free: 2.027 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.4081, allocations: 112.7 kB / 343.2 MB, free: 1.898 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.873e-05/0.4082, allocations: 0 / 343.2 MB, free: 1.898 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002404/0.4084, allocations: 47.95 kB / 343.2 MB, free: 1.852 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.502e-05/0.4085, allocations: 19.97 kB / 343.3 MB, free: 1.832 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.4085, allocations: 4 kB / 343.3 MB, free: 1.828 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.00021/0.4088, allocations: 194 kB / 343.4 MB, free: 1.637 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4088, allocations: 4 kB / 343.4 MB, free: 1.633 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006631/0.4094, allocations: 119.8 kB / 343.6 MB, free: 1.516 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.000217/0.4097, allocations: 107.1 kB / 343.7 MB, free: 1.402 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.002024/0.4117, allocations: 0.809 MB / 344.5 MB, free: 0.543 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.4117, allocations: 0 / 344.5 MB, free: 0.543 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005219/0.4123, allocations: 250.7 kB / 344.7 MB, free: 292 kB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004356/0.4127, allocations: 40.53 kB / 344.8 MB, free: 252 kB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003/0.4157, allocations: 1.042 MB / 345.8 MB, free: 15.18 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004012/0.4161, allocations: 0.7521 MB / 346.6 MB, free: 14.4 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001612/0.4163, allocations: 30.33 kB / 346.6 MB, free: 14.37 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.449e-05/0.4164, allocations: 23.42 kB / 346.6 MB, free: 14.35 MB / 286.1 MB Notification: Performance of SimCode: time 1.353e-06/0.4164, allocations: 0 / 346.6 MB, free: 14.35 MB / 286.1 MB Notification: Performance of Templates: time 0.008923/0.4253, allocations: 3.658 MB / 350.3 MB, free: 10.7 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1)