Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo", uses=false) Using package ModelicaServices with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo) Using package Modelica with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.ChuaCircuit") translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.ChuaCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.1.0+maint.om/package.mo): time 0.7833/0.7833, allocations: 110.8 MB / 123.3 MB, free: 10.78 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001907/0.001908, allocations: 147.5 kB / 149.1 MB, free: 0.9922 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 2.79e-05/2.793e-05, allocations: 4 kB / 180.2 MB, free: 17.57 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.05901/0.05905, allocations: 25.18 MB / 205.4 MB, free: 8.434 MB / 154.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.05843/0.1175, allocations: 34.53 MB / 239.9 MB, free: 5.848 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/0.1179, allocations: 71.89 kB / 240 MB, free: 5.777 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008277/0.1262, allocations: 2.98 MB / 243 MB, free: 2.789 MB / 186.7 MB Notification: Performance of FrontEnd: time 4.158e-06/0.1263, allocations: 0 / 243 MB, free: 2.789 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.267e-05/0.1263, allocations: 8 kB / 243 MB, free: 2.781 MB / 186.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.0007923/0.1271, allocations: 454 kB / 243.4 MB, free: 2.293 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.16e-05/0.1272, allocations: 12.03 kB / 243.4 MB, free: 2.281 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.393e-05/0.1273, allocations: 19.75 kB / 243.5 MB, free: 2.262 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003478/0.1276, allocations: 218.7 kB / 243.7 MB, free: 2.008 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.1277, allocations: 12 kB / 243.7 MB, free: 1.996 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.402e-05/0.1277, allocations: 20 kB / 243.7 MB, free: 1.977 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003771/0.1281, allocations: 161.6 kB / 243.9 MB, free: 1.812 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.1281, allocations: 4 kB / 243.9 MB, free: 1.809 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.734e-05/0.1282, allocations: 7.953 kB / 243.9 MB, free: 1.801 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/0.1282, allocations: 4 kB / 243.9 MB, free: 1.797 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002398/0.1284, allocations: 120 kB / 244 MB, free: 1.68 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/0.1299, allocations: 0.7624 MB / 244.8 MB, free: 0.8477 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.1302, allocations: 130.6 kB / 244.9 MB, free: 0.7109 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001677/0.1304, allocations: 85.11 kB / 245 MB, free: 0.625 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.1305, allocations: 0 / 245 MB, free: 0.625 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.051e-05/0.1305, allocations: 50.55 kB / 245 MB, free: 0.5664 MB / 186.7 MB Notification: Performance of pre-optimization done (n=13): time 1.492e-06/0.1305, allocations: 0 / 245 MB, free: 0.5664 MB / 186.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003149/0.1308, allocations: 113.5 kB / 245.1 MB, free: 460 kB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.707e-05/0.1309, allocations: 55.41 kB / 245.2 MB, free: 392 kB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.1311, allocations: 141.4 kB / 245.3 MB, free: 240 kB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.1311, allocations: 25.7 kB / 245.3 MB, free: 208 kB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.002e-05/0.1312, allocations: 136.2 kB / 245.5 MB, free: 68 kB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.16e-05/0.1312, allocations: 51.3 kB / 245.5 MB, free: 16 kB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.145e-06/0.1313, allocations: 0 / 245.5 MB, free: 16 kB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.158/0.2893, allocations: 326.8 kB / 245.8 MB, free: 41.41 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001942/0.2895, allocations: 35.19 kB / 245.9 MB, free: 41.41 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.2897, allocations: 56.78 kB / 245.9 MB, free: 41.4 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001427/0.2898, allocations: 43.45 kB / 246 MB, free: 41.4 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.2898, allocations: 1.406 kB / 246 MB, free: 41.4 MB / 186.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003842/0.2902, allocations: 157.2 kB / 246.1 MB, free: 41.37 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.2902, allocations: 8.094 kB / 246.1 MB, free: 41.37 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.2903, allocations: 1.688 kB / 246.1 MB, free: 41.37 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.528e-05/0.2903, allocations: 2.031 kB / 246.1 MB, free: 41.37 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002873/0.2906, allocations: 50.14 kB / 246.2 MB, free: 41.37 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.121e-05/0.2906, allocations: 5.406 kB / 246.2 MB, free: 41.37 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001274/0.2907, allocations: 18.23 kB / 246.2 MB, free: 41.37 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.2908, allocations: 4.719 kB / 246.2 MB, free: 41.37 MB / 186.7 MB Warning: Assuming fixed start value for the following 3 variables: C2.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C1.v:VARIABLE(start = 4.0 unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real L.i:VARIABLE(unit = "A" ) "Current flowing from pin p to pin n" type: Real 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 0.0001599/0.2909, allocations: 117.1 kB / 246.3 MB, free: 41.26 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.14e-05/0.291, allocations: 13.16 kB / 246.3 MB, free: 41.26 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.276e-05/0.2911, allocations: 18.03 kB / 246.4 MB, free: 41.25 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.383e-06/0.2911, allocations: 6.188 kB / 246.4 MB, free: 41.25 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.2911, allocations: 0 / 246.4 MB, free: 41.25 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.2911, allocations: 2.172 kB / 246.4 MB, free: 41.25 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003761/0.2915, allocations: 265.8 kB / 246.6 MB, free: 41.06 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.2915, allocations: 0 / 246.6 MB, free: 41.06 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002411/0.2917, allocations: 41.53 kB / 246.7 MB, free: 41.06 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.2917, allocations: 1.812 kB / 246.7 MB, free: 41.06 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.2918, allocations: 5.406 kB / 246.7 MB, free: 41.06 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.2918, allocations: 1.156 kB / 246.7 MB, free: 41.06 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.2918, allocations: 4.656 kB / 246.7 MB, free: 41.06 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003416/0.2921, allocations: 274.9 kB / 247 MB, free: 40.93 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.299e-05/0.2922, allocations: 88 kB / 247 MB, free: 40.83 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.2922, allocations: 5.812 kB / 247 MB, free: 40.83 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001561/0.2924, allocations: 13.77 kB / 247.1 MB, free: 40.83 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.063e-05/0.2924, allocations: 11.31 kB / 247.1 MB, free: 40.83 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.2925, allocations: 8.484 kB / 247.1 MB, free: 40.83 MB / 186.7 MB Notification: Performance of sorting global known variables: time 9.252e-05/0.2926, allocations: 111.9 kB / 247.2 MB, free: 40.75 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.322e-06/0.2926, allocations: 2.875 kB / 247.2 MB, free: 40.75 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0002963/0.2929, allocations: 51.75 kB / 247.2 MB, free: 40.75 MB / 186.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.0001454/0.293, allocations: 97.31 kB / 247.3 MB, free: 40.66 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0002397/0.2933, allocations: 109.2 kB / 247.4 MB, free: 40.66 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.2933, allocations: 3.375 kB / 247.4 MB, free: 40.66 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 9.628e-05/0.2934, allocations: 55.3 kB / 247.5 MB, free: 40.66 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.2938, allocations: 31.84 kB / 247.5 MB, free: 40.66 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008811/0.2946, allocations: 396.2 kB / 247.9 MB, free: 40.46 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.2949, allocations: 0.7279 MB / 248.6 MB, free: 39.77 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 9.611e-05/0.295, allocations: 14.77 kB / 248.7 MB, free: 39.76 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.991e-05/0.2951, allocations: 14.38 kB / 248.7 MB, free: 39.75 MB / 186.7 MB Notification: Performance of SimCode: time 4.41e-07/0.2951, allocations: 0 / 248.7 MB, free: 39.75 MB / 186.7 MB Notification: Performance of Templates: time 0.005582/0.3007, allocations: 1.536 MB / 250.2 MB, free: 39.66 MB / 186.7 MB make -j1 -f Modelica_3.1_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile (rm -f Modelica_3.1_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_3.1_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_3.1_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_3.1_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1)