Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ChuaCircuit.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.ChuaCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ChuaCircuit") translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ChuaCircuit") [: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.001039/0.001039, allocations: 190.2 kB / 8.132 MB, free: 2.199 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.209/1.209, allocations: 194.2 MB / 202.8 MB, free: 8.727 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.001878/0.001878, allocations: 111.8 kB / 247.7 MB, free: 6.371 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 8.656e-06/8.776e-06, allocations: 4 kB / 297.6 MB, free: 8 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07803/0.07805, allocations: 44.5 MB / 342.1 MB, free: 11.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2098/0.2879, allocations: 71.39 MB / 413.4 MB, free: 23.62 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001977/0.2881, allocations: 65.41 kB / 413.5 MB, free: 23.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.007355/0.2955, allocations: 2.796 MB / 416.3 MB, free: 21.33 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.123e-05/0.2955, allocations: 0 / 416.3 MB, free: 21.33 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0004805/0.296, allocations: 461.6 kB / 416.8 MB, free: 20.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.2961, allocations: 12.72 kB / 416.8 MB, free: 20.83 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.958e-05/0.2961, allocations: 26.59 kB / 416.8 MB, free: 20.81 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000194/0.2963, allocations: 219.8 kB / 417 MB, free: 20.57 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.2963, allocations: 8 kB / 417 MB, free: 20.56 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.954e-05/0.2964, allocations: 8 kB / 417 MB, free: 20.55 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001982/0.2966, allocations: 109.5 kB / 417.1 MB, free: 20.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/0.2968, allocations: 139.1 kB / 417.3 MB, free: 20.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.2969, allocations: 3.984 kB / 417.3 MB, free: 20.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.139e-05/0.2969, allocations: 1.406 kB / 417.3 MB, free: 20.38 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.2969, allocations: 6.406 kB / 417.3 MB, free: 20.37 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001023/0.2979, allocations: 0.7189 MB / 418 MB, free: 19.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.2981, allocations: 91.64 kB / 418.1 MB, free: 19.64 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.2982, allocations: 76.23 kB / 418.2 MB, free: 19.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.2983, allocations: 0 / 418.2 MB, free: 19.59 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.2983, allocations: 38 kB / 418.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.173e-06/0.2983, allocations: 0 / 418.2 MB, free: 19.54 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002401/0.2985, allocations: 114.8 kB / 418.3 MB, free: 19.45 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.002e-05/0.2986, allocations: 51.95 kB / 418.4 MB, free: 19.38 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.124e-05/0.2987, allocations: 136.2 kB / 418.5 MB, free: 19.26 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.453e-05/0.2987, allocations: 25.7 kB / 418.5 MB, free: 19.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.266e-05/0.2987, allocations: 134.5 kB / 418.6 MB, free: 19.1 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.2988, allocations: 49.98 kB / 418.7 MB, free: 19.06 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/0.2988, allocations: 7.875 kB / 418.7 MB, free: 19.05 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.798e-05/0.2988, allocations: 321.9 kB / 419 MB, free: 18.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.122e-05/0.2989, allocations: 37.31 kB / 419.1 MB, free: 18.71 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.885e-05/0.299, allocations: 56.98 kB / 419.1 MB, free: 18.67 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.096e-05/0.2991, allocations: 47.14 kB / 419.2 MB, free: 18.64 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.2991, allocations: 0 / 419.2 MB, free: 18.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001943/0.2993, allocations: 147.4 kB / 419.3 MB, free: 18.53 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.2993, allocations: 4 kB / 419.3 MB, free: 18.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.2993, allocations: 0 / 419.3 MB, free: 18.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.2993, allocations: 4 kB / 419.3 MB, free: 18.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002374/0.2996, allocations: 43.91 kB / 419.4 MB, free: 18.48 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.2996, allocations: 8.031 kB / 419.4 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/0.2997, allocations: 15.83 kB / 419.4 MB, free: 18.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.2997, allocations: 4 kB / 419.4 MB, free: 18.45 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.561e-05/0.2998, allocations: 112.7 kB / 419.5 MB, free: 18.33 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.907e-05/0.2998, allocations: 11.81 kB / 419.5 MB, free: 18.32 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.591e-05/0.2999, allocations: 15.81 kB / 419.5 MB, free: 18.31 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.2999, allocations: 0 / 419.5 MB, free: 18.31 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2999, allocations: 4 kB / 419.5 MB, free: 18.31 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.2999, allocations: 0 / 419.5 MB, free: 18.31 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001938/0.3001, allocations: 230.8 kB / 419.7 MB, free: 18.08 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3001, allocations: 0 / 419.7 MB, free: 18.08 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002238/0.3003, allocations: 42.47 kB / 419.8 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3003, allocations: 4 kB / 419.8 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.3004, allocations: 0 / 419.8 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3004, allocations: 0 / 419.8 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3004, allocations: 0 / 419.8 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002435/0.3006, allocations: 269.5 kB / 420.1 MB, free: 17.8 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.881e-05/0.3007, allocations: 81.02 kB / 420.1 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.941e-05/0.3007, allocations: 11.89 kB / 420.1 MB, free: 17.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001737/0.3009, allocations: 8 kB / 420.2 MB, free: 17.69 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4e-05/0.3009, allocations: 13.86 kB / 420.2 MB, free: 17.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.3009, allocations: 4 kB / 420.2 MB, free: 17.67 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.677e-05/0.301, allocations: 109.2 kB / 420.3 MB, free: 17.57 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00027/0.3013, allocations: 43.97 kB / 420.3 MB, free: 17.53 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (L.i,C1.v,C2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001078/0.3014, allocations: 103.1 kB / 420.4 MB, free: 17.43 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000161/0.3015, allocations: 98.48 kB / 420.5 MB, free: 17.36 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3016, allocations: 4 kB / 420.5 MB, free: 17.36 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.125e-05/0.3016, allocations: 51.06 kB / 420.6 MB, free: 17.32 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.3019, allocations: 18.11 kB / 420.6 MB, free: 17.31 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007256/0.3026, allocations: 379.5 kB / 421 MB, free: 16.94 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/0.3028, allocations: 0.743 MB / 421.7 MB, free: 16.17 MB / 314.7 MB Notification: Performance of SimCode: time 2.61e-07/0.3028, allocations: 0 / 421.7 MB, free: 16.17 MB / 314.7 MB Notification: Performance of Templates: time 0.003632/0.3064, allocations: 1.569 MB / 423.3 MB, free: 14.66 MB / 314.7 MB make -j1 -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile (rm -f Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1)