Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_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.2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001512/0.001512, allocations: 190 kB / 8.136 MB, free: 2.195 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.188/1.188, allocations: 194.2 MB / 202.8 MB, free: 8.656 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00179/0.00179, allocations: 118.8 kB / 247.7 MB, free: 6.418 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 7.464e-06/7.495e-06, allocations: 0 / 297.6 MB, free: 8.035 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07853/0.07855, allocations: 44.49 MB / 342.1 MB, free: 11.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1986/0.2772, allocations: 73.63 MB / 415.7 MB, free: 21.52 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001788/0.2774, allocations: 74.39 kB / 415.8 MB, free: 21.48 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01396/0.2914, allocations: 4.918 MB / 420.7 MB, free: 17.4 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.411e-05/0.2914, allocations: 4 kB / 420.7 MB, free: 17.39 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0007167/0.2922, allocations: 0.5574 MB / 421.2 MB, free: 16.8 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.2922, allocations: 8.031 kB / 421.3 MB, free: 16.8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.371e-05/0.2923, allocations: 29.47 kB / 421.3 MB, free: 16.77 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.2926, allocations: 263.1 kB / 421.5 MB, free: 16.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.2926, allocations: 8 kB / 421.5 MB, free: 16.49 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.212e-05/0.2926, allocations: 15.94 kB / 421.6 MB, free: 16.47 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002556/0.2929, allocations: 137.1 kB / 421.7 MB, free: 16.39 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002679/0.2932, allocations: 154.7 kB / 421.8 MB, free: 16.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.2932, allocations: 0 / 421.8 MB, free: 16.27 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/0.2932, allocations: 3.984 kB / 421.9 MB, free: 16.27 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.2932, allocations: 8 kB / 421.9 MB, free: 16.26 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.2946, allocations: 0.8601 MB / 422.7 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/0.2948, allocations: 122.3 kB / 422.8 MB, free: 15.39 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.315e-05/0.2949, allocations: 49.05 kB / 422.9 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.541e-05/0.295, allocations: 4 kB / 422.9 MB, free: 15.35 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001363/0.2951, allocations: 121.3 kB / 423 MB, free: 15.23 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.2951, allocations: 0 / 423 MB, free: 15.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005903/0.2957, allocations: 200.9 kB / 423.2 MB, free: 15.06 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.2958, allocations: 114.7 kB / 423.3 MB, free: 14.92 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001682/0.2959, allocations: 203.8 kB / 423.5 MB, free: 14.75 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.296, allocations: 33.27 kB / 423.6 MB, free: 14.71 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.033e-05/0.296, allocations: 150.4 kB / 423.7 MB, free: 14.57 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.657e-05/0.2961, allocations: 42.27 kB / 423.7 MB, free: 14.54 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.193e-05/0.2961, allocations: 0 / 423.7 MB, free: 14.54 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.682e-05/0.2961, allocations: 336.3 kB / 424.1 MB, free: 14.21 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.302e-05/0.2962, allocations: 44.06 kB / 424.1 MB, free: 14.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.778e-05/0.2963, allocations: 112.1 kB / 424.2 MB, free: 14.07 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.701e-05/0.2964, allocations: 46.77 kB / 424.3 MB, free: 14.04 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2964, allocations: 4.031 kB / 424.3 MB, free: 14.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005951/0.297, allocations: 262.7 kB / 424.5 MB, free: 13.82 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.184e-05/0.297, allocations: 8 kB / 424.5 MB, free: 13.81 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.2971, allocations: 3.938 kB / 424.5 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004408/0.2975, allocations: 107 kB / 424.6 MB, free: 13.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.2977, allocations: 50.97 kB / 424.7 MB, free: 13.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001133/0.2989, allocations: 1.413 MB / 426.1 MB, free: 12.22 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002932/0.2992, allocations: 47.88 kB / 426.2 MB, free: 12.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.2992, allocations: 7.938 kB / 426.2 MB, free: 12.17 MB / 314.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: opAmp.v_in:VARIABLE(unit = "V" ) "Input voltage difference" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 () * 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 (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.0001043/0.2993, allocations: 114 kB / 426.3 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.2993, allocations: 27.72 kB / 426.3 MB, free: 12.03 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.803e-05/0.2994, allocations: 20.45 kB / 426.3 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.2994, allocations: 4 kB / 426.3 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.2994, allocations: 0 / 426.3 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.2994, allocations: 0 / 426.3 MB, free: 12.01 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.2996, allocations: 255.1 kB / 426.6 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2996, allocations: 0 / 426.6 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.2998, allocations: 31.98 kB / 426.6 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003732/0.3001, allocations: 95.72 kB / 426.7 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.3002, allocations: 0 / 426.7 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001064/0.3012, allocations: 1.43 MB / 428.1 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.3013, allocations: 0 / 428.1 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005118/0.3018, allocations: 235.9 kB / 428.4 MB, free: 9.973 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.351e-05/0.3018, allocations: 100.8 kB / 428.5 MB, free: 9.855 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.069e-05/0.3019, allocations: 0 / 428.5 MB, free: 9.855 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.3021, allocations: 39.34 kB / 428.5 MB, free: 9.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.826e-05/0.3022, allocations: 19.53 kB / 428.5 MB, free: 9.805 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.3022, allocations: 2 kB / 428.5 MB, free: 9.805 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001125/0.3023, allocations: 165 kB / 428.7 MB, free: 9.672 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000298/0.3026, allocations: 71.69 kB / 428.7 MB, free: 9.602 MB / 314.7 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) * 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.0001103/0.3027, allocations: 95.75 kB / 428.8 MB, free: 9.496 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000411/0.3032, allocations: 267.3 kB / 429.1 MB, free: 9.262 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3032, allocations: 0 / 429.1 MB, free: 9.262 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001762/0.3034, allocations: 167.8 kB / 429.3 MB, free: 9.113 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002092/0.3036, allocations: 34.48 kB / 429.3 MB, free: 9.086 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005481/0.3042, allocations: 256.4 kB / 429.5 MB, free: 8.836 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001904/0.3044, allocations: 0.767 MB / 430.3 MB, free: 8.043 MB / 314.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3044, allocations: 0 / 430.3 MB, free: 8.043 MB / 314.7 MB Notification: Performance of Templates: time 0.005382/0.3098, allocations: 3.083 MB / 433.4 MB, free: 5.035 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.SchmittTrigger.pipe 2>&1)