Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.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.Multivibrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") [: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.001674/0.001674, allocations: 190 kB / 8.138 MB, free: 2.215 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.274/1.274, allocations: 194.2 MB / 202.8 MB, free: 8.824 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.00169/0.00169, allocations: 128 kB / 247.8 MB, free: 6.219 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 9.799e-06/9.899e-06, allocations: 4 kB / 297.6 MB, free: 7.992 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07963/0.07965, allocations: 44.48 MB / 342.1 MB, free: 11.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2048/0.2845, allocations: 72.27 MB / 414.3 MB, free: 22.81 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001745/0.2847, allocations: 75.58 kB / 414.4 MB, free: 22.77 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.008583/0.2933, allocations: 3.333 MB / 417.7 MB, free: 20.05 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.344e-05/0.2934, allocations: 4 kB / 417.7 MB, free: 20.05 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0004718/0.2939, allocations: 488.2 kB / 418.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.2939, allocations: 12.03 kB / 418.2 MB, free: 19.53 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.911e-05/0.294, allocations: 31.62 kB / 418.3 MB, free: 19.5 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.2942, allocations: 232.4 kB / 418.5 MB, free: 19.24 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.2943, allocations: 8 kB / 418.5 MB, free: 19.23 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.267e-05/0.2943, allocations: 15.75 kB / 418.5 MB, free: 19.22 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002364/0.2945, allocations: 132 kB / 418.6 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002542/0.2948, allocations: 161.8 kB / 418.8 MB, free: 19.02 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.2948, allocations: 3.906 kB / 418.8 MB, free: 19.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.259e-05/0.2949, allocations: 4 kB / 418.8 MB, free: 19.01 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.2949, allocations: 4 kB / 418.8 MB, free: 19.01 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.2961, allocations: 0.8744 MB / 419.7 MB, free: 18.21 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003544/0.2964, allocations: 144.3 kB / 419.8 MB, free: 18.09 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/0.2966, allocations: 106.7 kB / 419.9 MB, free: 18.01 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.581e-05/0.2967, allocations: 4 kB / 419.9 MB, free: 18 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.62e-05/0.2967, allocations: 30.56 kB / 420 MB, free: 17.96 MB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 1.744e-06/0.2967, allocations: 4 kB / 420 MB, free: 17.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.000611/0.2973, allocations: 207.1 kB / 420.2 MB, free: 17.78 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.988e-05/0.2974, allocations: 55.41 kB / 420.2 MB, free: 17.71 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.2975, allocations: 173.3 kB / 420.4 MB, free: 17.56 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.2975, allocations: 25.7 kB / 420.4 MB, free: 17.53 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.193e-05/0.2976, allocations: 154.7 kB / 420.6 MB, free: 17.39 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.603e-05/0.2976, allocations: 54.78 kB / 420.6 MB, free: 17.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.925e-06/0.2976, allocations: 0 / 420.6 MB, free: 17.34 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.598e-05/0.2977, allocations: 330 kB / 420.9 MB, free: 17.02 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.352e-05/0.2977, allocations: 42.69 kB / 421 MB, free: 16.99 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.911e-05/0.2978, allocations: 90.12 kB / 421.1 MB, free: 16.9 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.247e-05/0.2979, allocations: 55.64 kB / 421.1 MB, free: 16.87 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2979, allocations: 4 kB / 421.1 MB, free: 16.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005577/0.2985, allocations: 264.4 kB / 421.4 MB, free: 16.64 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.2985, allocations: 4.781 kB / 421.4 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.2985, allocations: 4.547 kB / 421.4 MB, free: 16.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004528/0.299, allocations: 104.1 kB / 421.5 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001491/0.2991, allocations: 42.86 kB / 421.5 MB, free: 16.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001487/0.3006, allocations: 1.582 MB / 423.1 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.3008, allocations: 18.89 kB / 423.1 MB, free: 14.9 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.3008, allocations: 11.94 kB / 423.2 MB, free: 14.89 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001209/0.3009, allocations: 117.5 kB / 423.3 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.613e-05/0.301, allocations: 19.81 kB / 423.3 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.211e-05/0.301, allocations: 23.84 kB / 423.3 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.301, allocations: 0 / 423.3 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.624e-06/0.3011, allocations: 3.984 kB / 423.3 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.3011, allocations: 0 / 423.3 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007451/0.3018, allocations: 0.5271 MB / 423.8 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.3018, allocations: 0 / 423.8 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.302, allocations: 23.98 kB / 423.9 MB, free: 14.21 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000389/0.3024, allocations: 102.5 kB / 424 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.3024, allocations: 4 kB / 424 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001422/0.3038, allocations: 1.604 MB / 425.6 MB, free: 12.51 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.3038, allocations: 0 / 425.6 MB, free: 12.51 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006109/0.3044, allocations: 374.5 kB / 425.9 MB, free: 12.19 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.633e-05/0.3046, allocations: 96.25 kB / 426 MB, free: 12.08 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.8e-05/0.3046, allocations: 3.938 kB / 426 MB, free: 12.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.3048, allocations: 14.61 kB / 426.1 MB, free: 12.06 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.677e-05/0.3048, allocations: 7.984 kB / 426.1 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.3048, allocations: 4 kB / 426.1 MB, free: 12.05 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.923e-05/0.3049, allocations: 143.2 kB / 426.2 MB, free: 11.93 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003969/0.3053, allocations: 63.75 kB / 426.3 MB, free: 11.87 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002057/0.3055, allocations: 103.2 kB / 426.4 MB, free: 11.76 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003304/0.3059, allocations: 212.1 kB / 426.6 MB, free: 11.57 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3059, allocations: 4.375 kB / 426.6 MB, free: 11.57 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001807/0.3061, allocations: 168.5 kB / 426.7 MB, free: 11.41 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.3063, allocations: 17.58 kB / 426.8 MB, free: 11.4 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001295/0.3076, allocations: 465 kB / 427.2 MB, free: 10.95 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/0.3078, allocations: 0.7549 MB / 428 MB, free: 10.17 MB / 314.7 MB Notification: Performance of SimCode: time 2.8e-07/0.3078, allocations: 0 / 428 MB, free: 10.17 MB / 314.7 MB Notification: Performance of Templates: time 0.004505/0.3123, allocations: 2.323 MB / 430.3 MB, free: 7.902 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1)