Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.007458/0.007458, allocations: 104.1 kB / 15.73 MB, free: 5.578 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.00124/0.00124, allocations: 190 kB / 16.67 MB, free: 5.516 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.96/1.96, allocations: 205.1 MB / 222.5 MB, free: 12.24 MB / 190.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.001416/0.001417, allocations: 55.92 kB / 326.6 MB, free: 3.258 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.2003, allocations: 46.61 MB / 373.2 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.01073/0.2111, allocations: 2.714 MB / 375.9 MB, free: 1.805 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003093/0.2143, allocations: 0.7174 MB / 376.6 MB, free: 1.078 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004467/0.2148, allocations: 7.938 kB / 376.6 MB, free: 1.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003883/0.2153, allocations: 43.58 kB / 376.7 MB, free: 1.027 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006507/0.216, allocations: 99.25 kB / 376.8 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007215/0.2167, allocations: 95.8 kB / 376.9 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009909/0.2177, allocations: 358.5 kB / 377.2 MB, free: 496 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003827/0.2182, allocations: 84.69 kB / 377.3 MB, free: 412 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004613/0.2186, allocations: 135.4 kB / 377.4 MB, free: 276 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004696/0.2191, allocations: 151.4 kB / 377.6 MB, free: 124 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001363/0.2193, allocations: 28 kB / 377.6 MB, free: 96 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.2194, allocations: 28 kB / 377.6 MB, free: 68 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.3605/0.5799, allocations: 69.98 kB / 377.7 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005058/0.5805, allocations: 137.4 kB / 377.8 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007365/0.5813, allocations: 330.8 kB / 378.2 MB, free: 10.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.889e-06/0.5813, allocations: 1.156 kB / 378.2 MB, free: 10.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.5813, allocations: 0 / 378.2 MB, free: 10.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.5813, allocations: 0 / 378.2 MB, free: 10.07 MB / 318.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.001517/0.5828, allocations: 0.6378 MB / 378.8 MB, free: 9.613 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.5829, allocations: 8.375 kB / 378.8 MB, free: 9.613 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.371e-05/0.583, allocations: 31.56 kB / 378.8 MB, free: 9.598 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000519/0.5835, allocations: 288 kB / 379.1 MB, free: 9.367 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/0.5836, allocations: 12.97 kB / 379.1 MB, free: 9.367 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.49e-05/0.5836, allocations: 20.56 kB / 379.1 MB, free: 9.367 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006902/0.5843, allocations: 250.2 kB / 379.4 MB, free: 9.328 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.5844, allocations: 5.312 kB / 379.4 MB, free: 9.324 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.194e-05/0.5844, allocations: 8.672 kB / 379.4 MB, free: 9.324 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.5844, allocations: 5.5 kB / 379.4 MB, free: 9.324 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008077/0.5852, allocations: 240.2 kB / 379.6 MB, free: 9.324 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001888/0.5871, allocations: 0.8732 MB / 380.5 MB, free: 8.918 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000951/0.5881, allocations: 241.9 kB / 380.8 MB, free: 8.891 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000388/0.5885, allocations: 106.1 kB / 380.9 MB, free: 8.879 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.463e-05/0.5885, allocations: 1.625 kB / 380.9 MB, free: 8.879 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005483/0.5891, allocations: 181.9 kB / 381 MB, free: 8.801 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.232e-06/0.5891, allocations: 4 kB / 381 MB, free: 8.797 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.002713/0.5918, allocations: 0.6679 MB / 381.7 MB, free: 8.637 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.661e-05/0.5919, allocations: 109.9 kB / 381.8 MB, free: 8.512 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004536/0.5924, allocations: 265.6 kB / 382.1 MB, free: 8.402 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.224e-05/0.5924, allocations: 31.73 kB / 382.1 MB, free: 8.371 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001913/0.5926, allocations: 171.3 kB / 382.3 MB, free: 8.254 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.566e-05/0.5927, allocations: 40.33 kB / 382.3 MB, free: 8.23 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.5928, allocations: 44.89 kB / 382.4 MB, free: 8.211 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001824/0.593, allocations: 344.5 kB / 382.7 MB, free: 7.891 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004449/0.5935, allocations: 100.3 kB / 382.8 MB, free: 7.883 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004367/0.5939, allocations: 163.6 kB / 383 MB, free: 7.809 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007454/0.5947, allocations: 257.1 kB / 383.2 MB, free: 7.719 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.5947, allocations: 4 kB / 383.2 MB, free: 7.715 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001382/0.5961, allocations: 435.2 kB / 383.6 MB, free: 7.625 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.502e-05/0.5962, allocations: 34.14 kB / 383.7 MB, free: 7.594 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.759e-06/0.5962, allocations: 5.531 kB / 383.7 MB, free: 7.59 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005366/0.5967, allocations: 82.25 kB / 383.8 MB, free: 7.582 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002133/0.5969, allocations: 41.88 kB / 383.8 MB, free: 7.582 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003141/0.6001, allocations: 1.963 MB / 385.8 MB, free: 6.055 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000326/0.6004, allocations: 45.34 kB / 385.8 MB, free: 6.047 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.6005, allocations: 16.03 kB / 385.8 MB, free: 6.043 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000372/0.6009, allocations: 172.6 kB / 386 MB, free: 5.961 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003032/0.6012, allocations: 148.5 kB / 386.1 MB, free: 5.883 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004949/0.6017, allocations: 226.1 kB / 386.4 MB, free: 5.75 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.503e-06/0.6017, allocations: 3.938 kB / 386.4 MB, free: 5.746 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0007172/0.6024, allocations: 323 kB / 386.7 MB, free: 5.594 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3e-05/0.6025, allocations: 34.3 kB / 386.7 MB, free: 5.562 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.6025, allocations: 4.906 kB / 386.7 MB, free: 5.562 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001053/0.6026, allocations: 30.62 kB / 386.7 MB, free: 5.551 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000184/0.6028, allocations: 38.53 kB / 386.8 MB, free: 5.551 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001216/0.604, allocations: 1.612 MB / 388.4 MB, free: 3.965 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003079/0.6043, allocations: 43.81 kB / 388.4 MB, free: 3.953 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.6044, allocations: 10.38 kB / 388.4 MB, free: 3.949 MB / 318.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 (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 (18): * Single equations (assignments): 16 * 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.0001698/0.6045, allocations: 199 kB / 388.6 MB, free: 3.758 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.322e-05/0.6046, allocations: 30.2 kB / 388.7 MB, free: 3.742 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.8e-05/0.6047, allocations: 27.03 kB / 388.7 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.6047, allocations: 1.219 kB / 388.7 MB, free: 3.723 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.6047, allocations: 4 kB / 388.7 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.6047, allocations: 1.719 kB / 388.7 MB, free: 3.719 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004524/0.6052, allocations: 296.4 kB / 389 MB, free: 3.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.6052, allocations: 0 / 389 MB, free: 3.48 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.6054, allocations: 26.84 kB / 389 MB, free: 3.477 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003371/0.6057, allocations: 78.03 kB / 389.1 MB, free: 3.457 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.845e-05/0.6057, allocations: 5.859 kB / 389.1 MB, free: 3.453 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002544/0.6083, allocations: 1.759 MB / 390.9 MB, free: 1.961 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.6083, allocations: 1.125 kB / 390.9 MB, free: 1.961 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/0.6095, allocations: 355 kB / 391.2 MB, free: 1.824 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.449e-05/0.6096, allocations: 100.8 kB / 391.3 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.794e-05/0.6097, allocations: 2.922 kB / 391.3 MB, free: 1.715 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002531/0.6099, allocations: 32.81 kB / 391.3 MB, free: 1.711 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.6101, allocations: 23.25 kB / 391.4 MB, free: 1.703 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.6101, allocations: 3.75 kB / 391.4 MB, free: 1.703 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002716/0.6104, allocations: 193.4 kB / 391.6 MB, free: 1.59 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6104, allocations: 0 / 391.6 MB, free: 1.59 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007292/0.6111, allocations: 127 kB / 391.7 MB, free: 1.562 MB / 318.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.0002073/0.6113, allocations: 107.8 kB / 391.8 MB, free: 1.473 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001722/0.6131, allocations: 0.6975 MB / 392.5 MB, free: 1.02 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.6131, allocations: 1.656 kB / 392.5 MB, free: 1.02 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004884/0.6136, allocations: 222.8 kB / 392.7 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004064/0.614, allocations: 55.02 kB / 392.8 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/0.6155, allocations: 450.3 kB / 393.2 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004456/0.6159, allocations: 0.7424 MB / 393.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001882/0.6161, allocations: 24.47 kB / 394 MB, free: 15.89 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.062e-05/0.6162, allocations: 26.75 kB / 394 MB, free: 15.88 MB / 334.1 MB Notification: Performance of SimCode: time 2.3e-07/0.6162, allocations: 0 / 394 MB, free: 15.88 MB / 334.1 MB Notification: Performance of Templates: time 0.01693/0.6332, allocations: 4.233 MB / 398.2 MB, free: 15.25 MB / 334.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1)