Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ChuaCircuit") translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.1+maint.om/package.mo): time 0.003154/0.003154, allocations: 171.8 kB / 7.446 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.272/1.272, allocations: 170.6 MB / 178.4 MB, free: 15.45 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001666/0.001666, allocations: 111.9 kB / 217.7 MB, free: 8.223 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.112e-05/1.115e-05, allocations: 0 / 261.7 MB, free: 26.65 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1006, allocations: 38.76 MB / 300.5 MB, free: 3.895 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3093/0.41, allocations: 66.25 MB / 366.7 MB, free: 2.25 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002347/0.4103, allocations: 68.64 kB / 366.8 MB, free: 2.215 MB / 250.7 MB Notification: Performance of FrontEnd: time 0.007784/0.4181, allocations: 2.852 MB / 369.7 MB, free: 15.86 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.569e-05/0.4181, allocations: 4 kB / 369.7 MB, free: 15.85 MB / 266.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.0007294/0.4189, allocations: 474.8 kB / 370.1 MB, free: 15.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.4189, allocations: 8.031 kB / 370.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.709e-05/0.419, allocations: 23.72 kB / 370.2 MB, free: 15.33 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.4194, allocations: 216.2 kB / 370.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.4194, allocations: 4 kB / 370.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.623e-05/0.4194, allocations: 12 kB / 370.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002488/0.4197, allocations: 112 kB / 370.5 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/0.42, allocations: 135.7 kB / 370.6 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.42, allocations: 0 / 370.6 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/0.42, allocations: 3.984 kB / 370.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.142e-05/0.4201, allocations: 8 kB / 370.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001498/0.4216, allocations: 0.7197 MB / 371.4 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.4218, allocations: 82.52 kB / 371.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.4219, allocations: 79.05 kB / 371.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.1e-05/0.422, allocations: 7.938 kB / 371.5 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.422, allocations: 34.56 kB / 371.6 MB, free: 14.06 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.422, allocations: 0 / 371.6 MB, free: 14.06 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002927/0.4223, allocations: 114.6 kB / 371.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.4224, allocations: 55.41 kB / 371.7 MB, free: 13.9 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.4225, allocations: 130.6 kB / 371.9 MB, free: 13.77 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.493e-05/0.4225, allocations: 25.7 kB / 371.9 MB, free: 13.74 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.11e-05/0.4226, allocations: 130.6 kB / 372 MB, free: 13.61 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.73e-05/0.4227, allocations: 42.11 kB / 372 MB, free: 13.58 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.206e-06/0.4227, allocations: 4 kB / 372 MB, free: 13.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.4228, allocations: 329.9 kB / 372.4 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.474e-05/0.4229, allocations: 34.62 kB / 372.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.109e-05/0.423, allocations: 56.61 kB / 372.5 MB, free: 13.19 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.675e-05/0.4231, allocations: 58.38 kB / 372.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4231, allocations: 0 / 372.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002338/0.4234, allocations: 131.6 kB / 372.6 MB, free: 13.04 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.4234, allocations: 8.031 kB / 372.7 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.4234, allocations: 4 kB / 372.7 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.4234, allocations: 0 / 372.7 MB, free: 13.03 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002518/0.4237, allocations: 53.41 kB / 372.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.4237, allocations: 3.906 kB / 372.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.4238, allocations: 15.92 kB / 372.7 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.5e-05/0.4238, allocations: 11.91 kB / 372.7 MB, free: 12.95 MB / 266.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 9.473e-05/0.4239, allocations: 104.9 kB / 372.8 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.402e-05/0.424, allocations: 11.91 kB / 372.9 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.142e-05/0.424, allocations: 11.44 kB / 372.9 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.4241, allocations: 4 kB / 372.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.4241, allocations: 3.906 kB / 372.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.4241, allocations: 3.984 kB / 372.9 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002783/0.4244, allocations: 225.1 kB / 373.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.4244, allocations: 0 / 373.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002353/0.4246, allocations: 51.72 kB / 373.1 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-06/0.4246, allocations: 3.906 kB / 373.2 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.4247, allocations: 0 / 373.2 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.4247, allocations: 0 / 373.2 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.4247, allocations: 0 / 373.2 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003215/0.425, allocations: 256.5 kB / 373.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.642e-05/0.4251, allocations: 93 kB / 373.5 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.023e-05/0.4251, allocations: 0.875 kB / 373.5 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.4253, allocations: 15.88 kB / 373.5 MB, free: 12.2 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.846e-05/0.4253, allocations: 7.984 kB / 373.5 MB, free: 12.19 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.4253, allocations: 7.844 kB / 373.5 MB, free: 12.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 7.23e-05/0.4254, allocations: 105.8 kB / 373.6 MB, free: 12.09 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002844/0.4257, allocations: 51.97 kB / 373.7 MB, free: 12.04 MB / 266.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.000169/0.4259, allocations: 103.2 kB / 373.8 MB, free: 11.92 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001879/0.4261, allocations: 96.12 kB / 373.9 MB, free: 11.86 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.4261, allocations: 0 / 373.9 MB, free: 11.86 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.525e-05/0.4262, allocations: 53.56 kB / 373.9 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002591/0.4264, allocations: 23.53 kB / 373.9 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008379/0.4273, allocations: 375.1 kB / 374.3 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004043/0.4277, allocations: 0.7469 MB / 375.1 MB, free: 10.65 MB / 266.7 MB Notification: Performance of SimCode: time 2.7e-07/0.4277, allocations: 0 / 375.1 MB, free: 10.65 MB / 266.7 MB Notification: Performance of Templates: time 0.004576/0.4323, allocations: 1.573 MB / 376.6 MB, free: 9.09 MB / 266.7 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1)