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.001165/0.001165, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.001223/0.001223, allocations: 177.3 kB / 15.94 MB, free: 228 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.974/1.974, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.0005001/0.0005004, allocations: 16 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2876, allocations: 47.58 MB / 326.5 MB, free: 1.449 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger): time 0.00291/0.2906, allocations: 2.214 MB / 328.7 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001301/0.2919, allocations: 0.7028 MB / 329.4 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/0.2921, allocations: 3.594 kB / 329.4 MB, free: 15.14 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.724e-05/0.2922, allocations: 31.12 kB / 329.4 MB, free: 15.12 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002731/0.2924, allocations: 102.5 kB / 329.5 MB, free: 15.03 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003185/0.2928, allocations: 71.14 kB / 329.6 MB, free: 14.97 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004206/0.2932, allocations: 228.4 kB / 329.8 MB, free: 14.82 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002304/0.2934, allocations: 68.95 kB / 329.9 MB, free: 14.79 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001895/0.2936, allocations: 111.4 kB / 330 MB, free: 14.72 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000214/0.2939, allocations: 128.9 kB / 330.1 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.791e-05/0.2939, allocations: 14.06 kB / 330.1 MB, free: 14.64 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.889e-05/0.294, allocations: 19.66 kB / 330.1 MB, free: 14.63 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.958e-05/0.294, allocations: 54.31 kB / 330.2 MB, free: 14.59 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.744e-05/0.2941, allocations: 70.05 kB / 330.3 MB, free: 14.54 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002863/0.2944, allocations: 239.4 kB / 330.5 MB, free: 14.36 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.2944, allocations: 5.312 kB / 330.5 MB, free: 14.35 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.2944, allocations: 0 / 330.5 MB, free: 14.35 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.2945, allocations: 0 / 330.5 MB, free: 14.35 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.001316/0.2958, allocations: 0.6093 MB / 331.1 MB, free: 13.81 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/0.2958, allocations: 9.344 kB / 331.1 MB, free: 13.81 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.556e-05/0.296, allocations: 30.25 kB / 331.1 MB, free: 13.8 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004776/0.2964, allocations: 275.8 kB / 331.4 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.452e-05/0.2965, allocations: 12.75 kB / 331.4 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.285e-05/0.2966, allocations: 25.38 kB / 331.4 MB, free: 13.5 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007216/0.2973, allocations: 260.6 kB / 331.7 MB, free: 13.35 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.449e-05/0.2973, allocations: 0 / 331.7 MB, free: 13.35 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.451e-05/0.2974, allocations: 10.69 kB / 331.7 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.2974, allocations: 4.219 kB / 331.7 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008846/0.2983, allocations: 275.5 kB / 332 MB, free: 13.23 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001972/0.3002, allocations: 0.8963 MB / 332.9 MB, free: 12.48 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009126/0.3012, allocations: 271.2 kB / 333.1 MB, free: 12.36 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.649e-05/0.3012, allocations: 5.547 kB / 333.2 MB, free: 12.36 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005848/0.3018, allocations: 191.8 kB / 333.3 MB, free: 12.22 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.744e-06/0.3018, allocations: 0 / 333.3 MB, free: 12.22 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.002599/0.3044, allocations: 0.7496 MB / 334.1 MB, free: 11.62 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.966e-05/0.3045, allocations: 110.8 kB / 334.2 MB, free: 11.49 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004204/0.3049, allocations: 274.5 kB / 334.5 MB, free: 11.21 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.002e-05/0.305, allocations: 29.7 kB / 334.5 MB, free: 11.18 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.3052, allocations: 179.8 kB / 334.7 MB, free: 11 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.018e-05/0.3052, allocations: 43.44 kB / 334.7 MB, free: 10.95 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.271e-05/0.3052, allocations: 4 kB / 334.7 MB, free: 10.95 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001873/0.3054, allocations: 338.8 kB / 335 MB, free: 10.61 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003733/0.3058, allocations: 111.9 kB / 335.2 MB, free: 10.5 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004144/0.3062, allocations: 185.4 kB / 335.3 MB, free: 10.29 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003759/0.3066, allocations: 149.6 kB / 335.5 MB, free: 10.13 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.3066, allocations: 0 / 335.5 MB, free: 10.13 MB / 270.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.001267/0.3079, allocations: 490.5 kB / 336 MB, free: 9.641 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004579/0.3084, allocations: 0.8152 MB / 336.8 MB, free: 8.758 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/0.3084, allocations: 4 kB / 336.8 MB, free: 8.754 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000461/0.3089, allocations: 92.67 kB / 336.9 MB, free: 8.66 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002163/0.3091, allocations: 43.97 kB / 336.9 MB, free: 8.617 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003156/0.3123, allocations: 1.897 MB / 338.8 MB, free: 6.578 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000379/0.3127, allocations: 63.72 kB / 338.9 MB, free: 6.516 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/0.3127, allocations: 8 kB / 338.9 MB, free: 6.508 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.3127, allocations: 4 kB / 338.9 MB, free: 6.504 MB / 270.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006874/0.3134, allocations: 310.4 kB / 339.2 MB, free: 6.191 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.3134, allocations: 0 / 339.2 MB, free: 6.191 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.591e-05/0.3135, allocations: 28.78 kB / 339.2 MB, free: 6.16 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001928/0.3137, allocations: 51.91 kB / 339.3 MB, free: 6.109 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/0.3147, allocations: 1.32 MB / 340.6 MB, free: 4.656 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002966/0.315, allocations: 47.88 kB / 340.6 MB, free: 4.609 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.3151, allocations: 8 kB / 340.6 MB, free: 4.602 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.0002385/0.3153, allocations: 217 kB / 340.9 MB, free: 4.379 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.222e-05/0.3154, allocations: 23.72 kB / 340.9 MB, free: 4.355 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.396e-05/0.3154, allocations: 25.83 kB / 340.9 MB, free: 4.336 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.3154, allocations: 3.953 kB / 340.9 MB, free: 4.332 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.3154, allocations: 0 / 340.9 MB, free: 4.332 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3154, allocations: 0 / 340.9 MB, free: 4.332 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002994/0.3157, allocations: 301.4 kB / 341.2 MB, free: 3.988 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.3158, allocations: 0 / 341.2 MB, free: 3.988 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.3159, allocations: 27.97 kB / 341.2 MB, free: 3.961 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003301/0.3162, allocations: 84.8 kB / 341.3 MB, free: 3.875 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/0.3163, allocations: 4 kB / 341.3 MB, free: 3.871 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002412/0.3187, allocations: 1.787 MB / 343.1 MB, free: 1.949 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3187, allocations: 0 / 343.1 MB, free: 1.949 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.3198, allocations: 401.5 kB / 343.5 MB, free: 1.535 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.951e-05/0.3199, allocations: 104.9 kB / 343.6 MB, free: 1.414 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.594e-05/0.3199, allocations: 4 kB / 343.6 MB, free: 1.41 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002492/0.3202, allocations: 43.95 kB / 343.6 MB, free: 1.367 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.103e-05/0.3203, allocations: 23.95 kB / 343.7 MB, free: 1.344 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.3203, allocations: 4 kB / 343.7 MB, free: 1.34 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001937/0.3205, allocations: 186 kB / 343.9 MB, free: 1.156 MB / 270.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.3205, allocations: 4 kB / 343.9 MB, free: 1.152 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005579/0.3211, allocations: 119.8 kB / 344 MB, free: 1.035 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.0001651/0.3212, allocations: 107.2 kB / 344.1 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001769/0.323, allocations: 0.8048 MB / 344.9 MB, free: 68 kB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.323, allocations: 0 / 344.9 MB, free: 68 kB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004945/0.3235, allocations: 250.9 kB / 345.1 MB, free: 15.81 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.3239, allocations: 52.42 kB / 345.2 MB, free: 15.76 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003102/0.327, allocations: 1.041 MB / 346.2 MB, free: 14.69 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.3274, allocations: 0.756 MB / 347 MB, free: 13.91 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001355/0.3275, allocations: 22.3 kB / 347 MB, free: 13.89 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.941e-05/0.3276, allocations: 23.42 kB / 347 MB, free: 13.87 MB / 286.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3276, allocations: 4 kB / 347 MB, free: 13.86 MB / 286.1 MB Notification: Performance of Templates: time 0.008222/0.3358, allocations: 3.647 MB / 350.7 MB, free: 10.22 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: