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.001635/0.001635, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00272/0.002719, allocations: 193.1 kB / 16.14 MB, free: 6.707 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.803/1.803, allocations: 205.1 MB / 222 MB, free: 4.754 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.002601/0.002602, allocations: 47.92 kB / 278.1 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4407/0.4433, allocations: 46.63 MB / 324.7 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.005288/0.4487, allocations: 2.767 MB / 327.5 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.4503, allocations: 0.7157 MB / 328.2 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001672/0.4505, allocations: 12.78 kB / 328.2 MB, free: 15.15 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001751/0.4508, allocations: 27.27 kB / 328.2 MB, free: 15.13 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002061/0.451, allocations: 80.16 kB / 328.3 MB, free: 15.06 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003044/0.4513, allocations: 78.41 kB / 328.4 MB, free: 14.99 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004906/0.4518, allocations: 332.7 kB / 328.7 MB, free: 14.8 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002483/0.4521, allocations: 76.02 kB / 328.8 MB, free: 14.76 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/0.4523, allocations: 120.1 kB / 328.9 MB, free: 14.69 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001922/0.4525, allocations: 144.9 kB / 329 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.179e-05/0.4525, allocations: 17.56 kB / 329 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.499e-05/0.4526, allocations: 18.34 kB / 329.1 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.404e-05/0.4527, allocations: 50.02 kB / 329.1 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00018/0.4529, allocations: 138.3 kB / 329.2 MB, free: 14.45 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003758/0.4532, allocations: 310.1 kB / 329.5 MB, free: 14.22 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.4533, allocations: 0 / 329.5 MB, free: 14.22 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4533, allocations: 1.094 kB / 329.5 MB, free: 14.22 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.004e-06/0.4533, allocations: 0 / 329.5 MB, free: 14.22 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.001468/0.4547, allocations: 0.6408 MB / 330.2 MB, free: 13.64 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.4548, allocations: 13.31 kB / 330.2 MB, free: 13.64 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001042/0.4549, allocations: 28.22 kB / 330.2 MB, free: 13.63 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003783/0.4553, allocations: 280.2 kB / 330.5 MB, free: 13.35 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.4553, allocations: 13.78 kB / 330.5 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.907e-05/0.4554, allocations: 21.59 kB / 330.5 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00072/0.4561, allocations: 246.9 kB / 330.8 MB, free: 13.19 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.4562, allocations: 7.938 kB / 330.8 MB, free: 13.18 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.347e-05/0.4562, allocations: 10.47 kB / 330.8 MB, free: 13.17 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.4562, allocations: 5.031 kB / 330.8 MB, free: 13.17 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008139/0.457, allocations: 237.4 kB / 331 MB, free: 13.07 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001865/0.4589, allocations: 0.8855 MB / 331.9 MB, free: 12.32 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009746/0.4599, allocations: 243.4 kB / 332.2 MB, free: 12.19 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003683/0.4603, allocations: 101.4 kB / 332.3 MB, free: 12.14 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.181e-05/0.4604, allocations: 2.5 kB / 332.3 MB, free: 12.14 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005544/0.4609, allocations: 182.7 kB / 332.4 MB, free: 12 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.512e-06/0.4609, allocations: 0 / 332.4 MB, free: 12 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.002604/0.4635, allocations: 0.6797 MB / 333.1 MB, free: 11.5 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001414/0.4637, allocations: 102.8 kB / 333.2 MB, free: 11.37 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000461/0.4642, allocations: 266.6 kB / 333.5 MB, free: 11.1 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.797e-05/0.4642, allocations: 33.7 kB / 333.5 MB, free: 11.06 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001926/0.4644, allocations: 175.8 kB / 333.7 MB, free: 10.89 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.862e-05/0.4645, allocations: 35.47 kB / 333.7 MB, free: 10.85 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.292e-05/0.4646, allocations: 45.64 kB / 333.8 MB, free: 10.8 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.4647, allocations: 334.8 kB / 334.1 MB, free: 10.46 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000349/0.4651, allocations: 100.8 kB / 334.2 MB, free: 10.36 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003705/0.4654, allocations: 172.1 kB / 334.3 MB, free: 10.17 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007301/0.4662, allocations: 259.1 kB / 334.6 MB, free: 9.891 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.4662, allocations: 0 / 334.6 MB, free: 9.891 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001208/0.4674, allocations: 439.5 kB / 335 MB, free: 9.445 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.25e-05/0.4675, allocations: 33.7 kB / 335.1 MB, free: 9.406 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.4675, allocations: 7.969 kB / 335.1 MB, free: 9.398 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004255/0.4679, allocations: 72.84 kB / 335.1 MB, free: 9.324 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002143/0.4681, allocations: 47.89 kB / 335.2 MB, free: 9.277 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002917/0.4711, allocations: 1.76 MB / 337 MB, free: 7.375 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004118/0.4715, allocations: 51.86 kB / 337 MB, free: 7.324 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.4715, allocations: 4 kB / 337 MB, free: 7.32 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003864/0.4719, allocations: 180.1 kB / 337.2 MB, free: 7.141 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002911/0.4722, allocations: 139.8 kB / 337.3 MB, free: 6.977 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005259/0.4728, allocations: 223.5 kB / 337.5 MB, free: 6.73 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.553e-06/0.4728, allocations: 224 / 337.5 MB, free: 6.73 MB / 270.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0007743/0.4736, allocations: 333.8 kB / 337.9 MB, free: 6.391 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.935e-05/0.4736, allocations: 33.64 kB / 337.9 MB, free: 6.352 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.4736, allocations: 4.125 kB / 337.9 MB, free: 6.348 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001343/0.4738, allocations: 33.02 kB / 337.9 MB, free: 6.312 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/0.474, allocations: 47.91 kB / 338 MB, free: 6.266 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/0.4752, allocations: 1.44 MB / 339.4 MB, free: 4.695 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003314/0.4755, allocations: 51.77 kB / 339.5 MB, free: 4.645 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.4755, allocations: 4 kB / 339.5 MB, free: 4.641 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 (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.0002639/0.4758, allocations: 188.5 kB / 339.7 MB, free: 4.449 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.373e-05/0.4759, allocations: 31.66 kB / 339.7 MB, free: 4.418 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.886e-05/0.4759, allocations: 25.89 kB / 339.7 MB, free: 4.395 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.4759, allocations: 4 kB / 339.7 MB, free: 4.391 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.476, allocations: 0 / 339.7 MB, free: 4.391 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.476, allocations: 0 / 339.7 MB, free: 4.391 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004733/0.4764, allocations: 289.4 kB / 340 MB, free: 4.059 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4764, allocations: 0 / 340 MB, free: 4.059 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001317/0.4766, allocations: 31.84 kB / 340 MB, free: 4.027 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002634/0.4769, allocations: 76.8 kB / 340.1 MB, free: 3.949 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.4769, allocations: 4 kB / 340.1 MB, free: 3.945 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002261/0.4792, allocations: 1.636 MB / 341.7 MB, free: 2.176 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4792, allocations: 0 / 341.7 MB, free: 2.176 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.4803, allocations: 357.5 kB / 342.1 MB, free: 1.805 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.4804, allocations: 104.8 kB / 342.2 MB, free: 1.684 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.664e-05/0.4804, allocations: 3.938 kB / 342.2 MB, free: 1.68 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000241/0.4807, allocations: 35.95 kB / 342.2 MB, free: 1.645 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.4808, allocations: 19.97 kB / 342.3 MB, free: 1.625 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.4808, allocations: 8 kB / 342.3 MB, free: 1.617 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0002203/0.481, allocations: 190 kB / 342.4 MB, free: 1.43 MB / 270.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.481, allocations: 0 / 342.4 MB, free: 1.43 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0006102/0.4817, allocations: 119.8 kB / 342.6 MB, free: 1.312 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 (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.0001889/0.4819, allocations: 107.2 kB / 342.7 MB, free: 1.199 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001735/0.4836, allocations: 0.6844 MB / 343.4 MB, free: 476 kB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.4836, allocations: 0 / 343.4 MB, free: 476 kB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005254/0.4841, allocations: 234.5 kB / 343.6 MB, free: 228 kB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/0.4846, allocations: 49.52 kB / 343.6 MB, free: 180 kB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001407/0.486, allocations: 0.5264 MB / 344.2 MB, free: 15.62 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005511/0.4866, allocations: 0.7483 MB / 344.9 MB, free: 14.84 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001576/0.4868, allocations: 26.28 kB / 344.9 MB, free: 14.82 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.418e-05/0.4868, allocations: 19.44 kB / 345 MB, free: 14.8 MB / 286.1 MB Notification: Performance of SimCode: time 1.213e-06/0.4868, allocations: 0 / 345 MB, free: 14.8 MB / 286.1 MB Notification: Performance of Templates: time 0.009747/0.4966, allocations: 3.852 MB / 348.8 MB, free: 10.96 MB / 286.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)