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.001134/0.001134, allocations: 114.3 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001227/0.001228, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.389/1.389, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 71.88 kB / 359.4 MB, free: 12.85 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2938/0.2952, allocations: 50.55 MB / 410 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger): time 0.003901/0.2991, allocations: 2.762 MB / 412.7 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.3005, allocations: 0.7089 MB / 413.5 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001443/0.3006, allocations: 8 kB / 413.5 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00016/0.3008, allocations: 43.56 kB / 413.5 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001809/0.301, allocations: 87.2 kB / 413.6 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.3013, allocations: 95.81 kB / 413.7 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003812/0.3017, allocations: 358.5 kB / 414 MB, free: 13.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.3019, allocations: 88.64 kB / 414.1 MB, free: 13.38 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.3021, allocations: 135.5 kB / 414.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001777/0.3023, allocations: 151.3 kB / 414.4 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.531e-05/0.3023, allocations: 28 kB / 414.4 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.356e-05/0.3024, allocations: 32 kB / 414.5 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.563e-05/0.3025, allocations: 59.77 kB / 414.5 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.3026, allocations: 151.2 kB / 414.7 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003431/0.303, allocations: 324 kB / 415 MB, free: 12.52 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.303, allocations: 3.938 kB / 415 MB, free: 12.52 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.303, allocations: 0 / 415 MB, free: 12.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.303, allocations: 4 kB / 415 MB, free: 12.52 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.001271/0.3043, allocations: 0.634 MB / 415.6 MB, free: 11.83 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.3043, allocations: 8.031 kB / 415.6 MB, free: 11.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.794e-05/0.3044, allocations: 32.56 kB / 415.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003809/0.3048, allocations: 275.7 kB / 415.9 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.3048, allocations: 12.81 kB / 415.9 MB, free: 11.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.768e-05/0.3049, allocations: 20.38 kB / 416 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006173/0.3055, allocations: 286 kB / 416.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.3055, allocations: 0 / 416.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.695e-05/0.3056, allocations: 4 kB / 416.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.3056, allocations: 8 kB / 416.3 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006869/0.3063, allocations: 245.6 kB / 416.5 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001561/0.3078, allocations: 0.9441 MB / 417.4 MB, free: 9.891 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008762/0.3087, allocations: 246.5 kB / 417.7 MB, free: 9.641 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003267/0.3091, allocations: 100.8 kB / 417.8 MB, free: 9.539 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.3091, allocations: 4 kB / 417.8 MB, free: 9.535 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004773/0.3096, allocations: 186 kB / 418 MB, free: 9.332 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.532e-06/0.3096, allocations: 3.938 kB / 418 MB, free: 9.328 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.00222/0.3118, allocations: 0.6434 MB / 418.6 MB, free: 8.656 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.789e-05/0.3119, allocations: 110.8 kB / 418.7 MB, free: 8.523 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002631/0.3122, allocations: 262.6 kB / 419 MB, free: 8.262 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.3122, allocations: 25.7 kB / 419 MB, free: 8.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.3123, allocations: 183.8 kB / 419.2 MB, free: 8.047 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.3124, allocations: 39.45 kB / 419.2 MB, free: 8.008 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.02e-05/0.3125, allocations: 49.61 kB / 419.3 MB, free: 7.953 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000121/0.3126, allocations: 334.8 kB / 419.6 MB, free: 7.617 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003125/0.3129, allocations: 103.9 kB / 419.7 MB, free: 7.516 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003359/0.3133, allocations: 164.5 kB / 419.9 MB, free: 7.324 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006051/0.3139, allocations: 275.3 kB / 420.1 MB, free: 7.027 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3139, allocations: 0 / 420.1 MB, free: 7.027 MB / 334.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001153/0.315, allocations: 435.6 kB / 420.5 MB, free: 6.586 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.075e-05/0.3151, allocations: 37.64 kB / 420.6 MB, free: 6.543 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.3151, allocations: 0 / 420.6 MB, free: 6.543 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003655/0.3155, allocations: 80.86 kB / 420.7 MB, free: 6.461 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.3157, allocations: 39.91 kB / 420.7 MB, free: 6.422 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002679/0.3184, allocations: 1.939 MB / 422.6 MB, free: 4.34 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003191/0.3187, allocations: 63.73 kB / 422.7 MB, free: 4.277 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.3187, allocations: 4 kB / 422.7 MB, free: 4.273 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.0001699/0.3189, allocations: 145.7 kB / 422.8 MB, free: 4.121 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.515e-05/0.319, allocations: 19.72 kB / 422.9 MB, free: 4.102 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.259e-05/0.319, allocations: 33.89 kB / 422.9 MB, free: 4.066 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.319, allocations: 0 / 422.9 MB, free: 4.066 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.319, allocations: 4 kB / 422.9 MB, free: 4.062 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.234e-05/0.3191, allocations: 96.95 kB / 423 MB, free: 3.949 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.581e-05/0.3192, allocations: 11.98 kB / 423 MB, free: 3.938 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.3194, allocations: 31.95 kB / 423 MB, free: 3.906 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.456e-05/0.3195, allocations: 19.97 kB / 423.1 MB, free: 3.887 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001266/0.3208, allocations: 433.4 kB / 423.5 MB, free: 3.453 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001009/0.3218, allocations: 0.5059 MB / 424 MB, free: 2.934 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000297/0.3221, allocations: 87.98 kB / 424.1 MB, free: 2.848 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001884/0.3223, allocations: 194 kB / 424.3 MB, free: 2.66 MB / 334.1 MB Notification: Performance of Backend: time 4.71e-07/0.3223, allocations: 0 / 424.3 MB, free: 2.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001042/0.3234, allocations: 412.9 kB / 424.7 MB, free: 2.23 MB / 334.1 MB Notification: Performance of SimCode: time 0.001073/0.3244, allocations: 0.9041 MB / 425.6 MB, free: 1.277 MB / 334.1 MB Notification: Performance of Templates: time 0.007554/0.332, allocations: 3.948 MB / 429.5 MB, free: 13.36 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)