Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.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.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger") [: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.001092/0.001092, allocations: 184.3 kB / 8.135 MB, free: 2.211 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.22/1.22, allocations: 194.2 MB / 202.8 MB, free: 8.641 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.001827/0.001827, allocations: 121.8 kB / 247.7 MB, free: 6.398 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 8.937e-06/9.047e-06, allocations: 4 kB / 297.6 MB, free: 8.016 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0943/0.09432, allocations: 44.49 MB / 342.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.206/0.3004, allocations: 73.63 MB / 415.7 MB, free: 21.42 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002195/0.3007, allocations: 78.42 kB / 415.8 MB, free: 21.38 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.01406/0.3148, allocations: 4.929 MB / 420.7 MB, free: 17.3 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.3148, allocations: 4 kB / 420.7 MB, free: 17.29 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.0007509/0.3156, allocations: 0.5464 MB / 421.3 MB, free: 16.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.3156, allocations: 8.031 kB / 421.3 MB, free: 16.7 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.199e-05/0.3157, allocations: 31.7 kB / 421.3 MB, free: 16.67 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.316, allocations: 267 kB / 421.6 MB, free: 16.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.316, allocations: 4 kB / 421.6 MB, free: 16.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.166e-05/0.3161, allocations: 12 kB / 421.6 MB, free: 16.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002576/0.3163, allocations: 150.7 kB / 421.7 MB, free: 16.29 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.3166, allocations: 161 kB / 421.9 MB, free: 16.17 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.784e-05/0.3166, allocations: 0 / 421.9 MB, free: 16.17 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.3167, allocations: 0 / 421.9 MB, free: 16.17 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.967e-06/0.3167, allocations: 8 kB / 421.9 MB, free: 16.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001339/0.318, allocations: 0.8496 MB / 422.7 MB, free: 15.39 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/0.3183, allocations: 120.4 kB / 422.9 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.744e-05/0.3184, allocations: 54.11 kB / 422.9 MB, free: 15.26 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.3184, allocations: 0 / 422.9 MB, free: 15.26 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001402/0.3186, allocations: 118 kB / 423 MB, free: 15.14 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.412e-06/0.3186, allocations: 0 / 423 MB, free: 15.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006021/0.3192, allocations: 209.4 kB / 423.2 MB, free: 14.96 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.3192, allocations: 106.8 kB / 423.3 MB, free: 14.83 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.3194, allocations: 215.1 kB / 423.5 MB, free: 14.65 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.3194, allocations: 29.69 kB / 423.6 MB, free: 14.62 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.237e-05/0.3195, allocations: 161.6 kB / 423.7 MB, free: 14.47 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.556e-05/0.3195, allocations: 42.08 kB / 423.8 MB, free: 14.43 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.082e-05/0.3195, allocations: 0 / 423.8 MB, free: 14.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.16e-05/0.3196, allocations: 332.5 kB / 424.1 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.581e-05/0.3197, allocations: 44.66 kB / 424.1 MB, free: 14.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001113/0.3198, allocations: 128.8 kB / 424.3 MB, free: 13.95 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.74e-05/0.3199, allocations: 61.25 kB / 424.3 MB, free: 13.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3199, allocations: 4.031 kB / 424.3 MB, free: 13.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006218/0.3206, allocations: 265.7 kB / 424.6 MB, free: 13.69 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.3206, allocations: 8 kB / 424.6 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.3206, allocations: 0 / 424.6 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000477/0.3211, allocations: 103.6 kB / 424.7 MB, free: 13.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002132/0.3213, allocations: 59.83 kB / 424.8 MB, free: 13.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001318/0.3226, allocations: 1.515 MB / 426.3 MB, free: 11.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000314/0.323, allocations: 55.72 kB / 426.3 MB, free: 11.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.323, allocations: 4 kB / 426.3 MB, free: 11.93 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: 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 () * 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.0001259/0.3231, allocations: 113 kB / 426.4 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.598e-05/0.3232, allocations: 23.28 kB / 426.5 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.398e-05/0.3233, allocations: 22.83 kB / 426.5 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.3233, allocations: 0 / 426.5 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.3233, allocations: 0 / 426.5 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3233, allocations: 3.938 kB / 426.5 MB, free: 11.78 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.3235, allocations: 253.7 kB / 426.7 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3235, allocations: 0 / 426.7 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.3237, allocations: 37.09 kB / 426.8 MB, free: 11.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000395/0.3241, allocations: 99.91 kB / 426.9 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.3241, allocations: 2 kB / 426.9 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001254/0.3254, allocations: 1.512 MB / 428.4 MB, free: 9.875 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.3254, allocations: 3.938 kB / 428.4 MB, free: 9.871 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004988/0.3259, allocations: 240.9 kB / 428.6 MB, free: 9.648 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.433e-05/0.3259, allocations: 96.81 kB / 428.7 MB, free: 9.535 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.052e-05/0.326, allocations: 0 / 428.7 MB, free: 9.535 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002415/0.3262, allocations: 35.97 kB / 428.7 MB, free: 9.5 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.526e-05/0.3263, allocations: 19.91 kB / 428.8 MB, free: 9.484 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.3263, allocations: 3.812 kB / 428.8 MB, free: 9.484 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0001147/0.3265, allocations: 173.1 kB / 428.9 MB, free: 9.344 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003946/0.3269, allocations: 65.72 kB / 429 MB, free: 9.281 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.0001134/0.327, allocations: 99.78 kB / 429.1 MB, free: 9.172 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003837/0.3274, allocations: 269.9 kB / 429.4 MB, free: 8.938 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3274, allocations: 0 / 429.4 MB, free: 8.938 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001927/0.3276, allocations: 173.9 kB / 429.5 MB, free: 8.781 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.3278, allocations: 27.45 kB / 429.6 MB, free: 8.762 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.3294, allocations: 477.4 kB / 430 MB, free: 8.293 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002019/0.3297, allocations: 0.7653 MB / 430.8 MB, free: 7.508 MB / 314.7 MB Notification: Performance of SimCode: time 2.91e-07/0.3297, allocations: 2.625 kB / 430.8 MB, free: 7.508 MB / 314.7 MB Notification: Performance of Templates: time 0.005824/0.3355, allocations: 3.076 MB / 433.9 MB, free: 4.504 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.InvertingSchmittTrigger.pipe 2>&1)