Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001543/0.001543, allocations: 114.3 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001911/0.001911, allocations: 206.8 kB / 19.41 MB, free: 3.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.383/1.383, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 59.89 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2214/0.2226, allocations: 50.55 MB / 410 MB, free: 1.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.003934/0.2266, allocations: 2.781 MB / 412.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.2279, allocations: 0.6972 MB / 413.5 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001756/0.2281, allocations: 4 kB / 413.5 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001646/0.2283, allocations: 47.52 kB / 413.5 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002291/0.2286, allocations: 87.25 kB / 413.6 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003025/0.2289, allocations: 103.8 kB / 413.7 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004391/0.2293, allocations: 354.5 kB / 414 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.2295, allocations: 88.69 kB / 414.1 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001961/0.2297, allocations: 135.5 kB / 414.3 MB, free: 13.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001931/0.2299, allocations: 151.3 kB / 414.4 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.675e-05/0.23, allocations: 32 kB / 414.4 MB, free: 13.23 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.169e-05/0.23, allocations: 28 kB / 414.5 MB, free: 13.21 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.473e-05/0.2301, allocations: 59.77 kB / 414.5 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.2303, allocations: 155.2 kB / 414.7 MB, free: 13 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003618/0.2306, allocations: 314.7 kB / 415 MB, free: 12.69 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2307, allocations: 7.938 kB / 415 MB, free: 12.68 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.2307, allocations: 0 / 415 MB, free: 12.68 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.2307, allocations: 0 / 415 MB, free: 12.68 MB / 334.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.001217/0.2319, allocations: 0.6494 MB / 415.6 MB, free: 11.98 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.2319, allocations: 12.03 kB / 415.7 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.874e-05/0.232, allocations: 28.75 kB / 415.7 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003602/0.2324, allocations: 279.8 kB / 416 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.2324, allocations: 16.81 kB / 416 MB, free: 11.61 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.354e-05/0.2325, allocations: 20.38 kB / 416 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006221/0.2331, allocations: 282 kB / 416.3 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.2331, allocations: 0 / 416.3 MB, free: 11.3 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.62e-05/0.2331, allocations: 12 kB / 416.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.2332, allocations: 4 kB / 416.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007242/0.2339, allocations: 245.6 kB / 416.5 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001497/0.2354, allocations: 0.9366 MB / 417.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007827/0.2362, allocations: 246.5 kB / 417.7 MB, free: 9.789 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003182/0.2365, allocations: 100.8 kB / 417.8 MB, free: 9.688 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.2365, allocations: 7.938 kB / 417.8 MB, free: 9.68 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004363/0.237, allocations: 182 kB / 418 MB, free: 9.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.237, allocations: 3.938 kB / 418 MB, free: 9.477 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.002238/0.2392, allocations: 0.6586 MB / 418.6 MB, free: 8.793 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.419e-05/0.2393, allocations: 102.8 kB / 418.7 MB, free: 8.668 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.2396, allocations: 262.6 kB / 419 MB, free: 8.406 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.2396, allocations: 29.7 kB / 419 MB, free: 8.371 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.2397, allocations: 184.1 kB / 419.2 MB, free: 8.188 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/0.2398, allocations: 43.67 kB / 419.3 MB, free: 8.145 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.58e-05/0.2399, allocations: 45.66 kB / 419.3 MB, free: 8.094 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.24, allocations: 342.8 kB / 419.6 MB, free: 7.75 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003321/0.2403, allocations: 91.92 kB / 419.7 MB, free: 7.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003686/0.2407, allocations: 168.5 kB / 419.9 MB, free: 7.465 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006557/0.2414, allocations: 276.3 kB / 420.2 MB, free: 7.164 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2414, allocations: 0 / 420.2 MB, free: 7.164 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001148/0.2425, allocations: 439 kB / 420.6 MB, free: 6.723 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.59e-05/0.2426, allocations: 37.69 kB / 420.6 MB, free: 6.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.2426, allocations: 0 / 420.6 MB, free: 6.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000355/0.2429, allocations: 84.81 kB / 420.7 MB, free: 6.594 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.2432, allocations: 39.95 kB / 420.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002509/0.2457, allocations: 1.947 MB / 422.7 MB, free: 4.465 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002982/0.246, allocations: 51.86 kB / 422.7 MB, free: 4.414 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.437e-05/0.246, allocations: 11.98 kB / 422.8 MB, free: 4.402 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (19): * Single equations (assignments): 17 * 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.0001297/0.2462, allocations: 133.8 kB / 422.9 MB, free: 4.262 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.609e-05/0.2462, allocations: 23.86 kB / 422.9 MB, free: 4.238 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.048e-05/0.2463, allocations: 29.77 kB / 422.9 MB, free: 4.207 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.2463, allocations: 4 kB / 422.9 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2463, allocations: 0 / 422.9 MB, free: 4.203 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.891e-05/0.2463, allocations: 105 kB / 423 MB, free: 4.082 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/0.2464, allocations: 0 / 423 MB, free: 4.082 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002462/0.2466, allocations: 31.97 kB / 423.1 MB, free: 4.051 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.907e-05/0.2467, allocations: 19.97 kB / 423.1 MB, free: 4.031 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00129/0.248, allocations: 441.5 kB / 423.5 MB, free: 3.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001031/0.2491, allocations: 0.4945 MB / 424 MB, free: 3.078 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003093/0.2494, allocations: 91.98 kB / 424.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001695/0.2496, allocations: 190 kB / 424.3 MB, free: 2.805 MB / 334.1 MB Notification: Performance of Backend: time 3.21e-07/0.2496, allocations: 3.938 kB / 424.3 MB, free: 2.801 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009438/0.2505, allocations: 412.2 kB / 424.7 MB, free: 2.367 MB / 334.1 MB Notification: Performance of SimCode: time 0.0009135/0.2514, allocations: 0.9154 MB / 425.6 MB, free: 1.402 MB / 334.1 MB Notification: Performance of Templates: time 0.007637/0.2591, allocations: 3.942 MB / 429.6 MB, free: 13.5 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1)