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.749/0.749, allocations: 110.9 MB / 125.9 MB, free: 6.219 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 1.0.0/package.mo): time 0.001671/0.001671, allocations: 147.2 kB / 151.9 MB, free: 5 MB / 122.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000251/0.0002511, allocations: 8 kB / 184.9 MB, free: 3.934 MB / 154.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1288, allocations: 25.15 MB / 210 MB, free: 29.73 MB / 170.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.04311/0.1719, allocations: 34.63 MB / 244.7 MB, free: 15.21 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002185/0.1722, allocations: 59.97 kB / 244.7 MB, free: 15.15 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007828/0.18, allocations: 2.989 MB / 247.7 MB, free: 12.18 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1801, allocations: 0 / 247.7 MB, free: 12.18 MB / 186.7 MB Notification: Performance of Transformations before backend: time 1.538e-05/0.1801, allocations: 4 kB / 247.7 MB, free: 12.17 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.000675/0.1808, allocations: 470.5 kB / 248.2 MB, free: 11.67 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.1808, allocations: 8.031 kB / 248.2 MB, free: 11.66 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.424e-05/0.1809, allocations: 25.03 kB / 248.2 MB, free: 11.64 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002557/0.1812, allocations: 203.6 kB / 248.4 MB, free: 11.4 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.1812, allocations: 16 kB / 248.4 MB, free: 11.38 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.65e-05/0.1813, allocations: 19.98 kB / 248.5 MB, free: 11.36 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003675/0.1817, allocations: 182.6 kB / 248.6 MB, free: 11.18 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.1817, allocations: 0 / 248.6 MB, free: 11.18 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.312e-05/0.1817, allocations: 7.953 kB / 248.6 MB, free: 11.17 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.1817, allocations: 8 kB / 248.6 MB, free: 11.16 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000315/0.182, allocations: 147.9 kB / 248.8 MB, free: 11.02 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.1832, allocations: 0.7631 MB / 249.6 MB, free: 10.19 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003891/0.1836, allocations: 178.5 kB / 249.7 MB, free: 10 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.1837, allocations: 3.938 kB / 249.7 MB, free: 10 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.1837, allocations: 40 kB / 249.8 MB, free: 9.957 MB / 186.7 MB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.1837, allocations: 0 / 249.8 MB, free: 9.957 MB / 186.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004713/0.1842, allocations: 202.1 kB / 250 MB, free: 9.754 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.414e-05/0.1842, allocations: 51.41 kB / 250 MB, free: 9.691 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.1844, allocations: 137.5 kB / 250.2 MB, free: 9.547 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.1844, allocations: 25.7 kB / 250.2 MB, free: 9.516 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.2e-05/0.1845, allocations: 140.1 kB / 250.3 MB, free: 9.375 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.593e-05/0.1845, allocations: 43.36 kB / 250.4 MB, free: 9.332 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.332e-06/0.1846, allocations: 4 kB / 250.4 MB, free: 9.328 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.1847, allocations: 326.8 kB / 250.7 MB, free: 9 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.1848, allocations: 47.97 kB / 250.7 MB, free: 8.953 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000148/0.185, allocations: 76.22 kB / 250.8 MB, free: 8.875 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001349/0.1851, allocations: 63.89 kB / 250.9 MB, free: 8.812 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.1851, allocations: 0 / 250.9 MB, free: 8.812 MB / 186.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003177/0.1855, allocations: 179.3 kB / 251 MB, free: 8.633 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.1855, allocations: 4 kB / 251 MB, free: 8.629 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.1855, allocations: 8.016 kB / 251.1 MB, free: 8.621 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.1855, allocations: 4 kB / 251.1 MB, free: 8.617 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.1857, allocations: 39.92 kB / 251.1 MB, free: 8.578 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.665e-06/0.1858, allocations: 0 / 251.1 MB, free: 8.578 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.971e-05/0.1859, allocations: 23.83 kB / 251.1 MB, free: 8.555 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.1859, allocations: 4 kB / 251.1 MB, free: 8.551 MB / 186.7 MB Warning: Assuming fixed start value for the following 3 variables: C2.v:VARIABLE(unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real C1.v:VARIABLE(start = 4.0 unit = "V" fixed = true ) "Voltage drop between the two pins (= p.v - n.v)" type: Real L.i:VARIABLE(unit = "A" fixed = true ) "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 () * Number of clocked 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.0001938/0.1861, allocations: 145.3 kB / 251.3 MB, free: 8.402 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.402e-05/0.1861, allocations: 11.66 kB / 251.3 MB, free: 8.395 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.428e-05/0.1862, allocations: 20.83 kB / 251.3 MB, free: 8.379 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.1862, allocations: 0 / 251.3 MB, free: 8.379 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.1862, allocations: 0 / 251.3 MB, free: 8.379 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1862, allocations: 0 / 251.3 MB, free: 8.379 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002756/0.1865, allocations: 273.4 kB / 251.6 MB, free: 8.062 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1865, allocations: 0 / 251.6 MB, free: 8.062 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000227/0.1867, allocations: 43.91 kB / 251.6 MB, free: 8.02 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.501e-06/0.1867, allocations: 4 kB / 251.6 MB, free: 8.016 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.1868, allocations: 7.938 kB / 251.6 MB, free: 8.008 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1868, allocations: 0 / 251.6 MB, free: 8.008 MB / 186.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.1868, allocations: 0 / 251.6 MB, free: 8.008 MB / 186.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004666/0.1872, allocations: 311.5 kB / 251.9 MB, free: 7.691 MB / 186.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.086e-05/0.1873, allocations: 100.8 kB / 252 MB, free: 7.574 MB / 186.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.1874, allocations: 0 / 252 MB, free: 7.574 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.1875, allocations: 19.98 kB / 252 MB, free: 7.555 MB / 186.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.399e-05/0.1876, allocations: 11.94 kB / 252.1 MB, free: 7.543 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.275e-06/0.1876, allocations: 0 / 252.1 MB, free: 7.543 MB / 186.7 MB Notification: Performance of sorting global known variables: time 8.631e-05/0.1877, allocations: 117.5 kB / 252.2 MB, free: 7.43 MB / 186.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1877, allocations: 0 / 252.2 MB, free: 7.43 MB / 186.7 MB Notification: Performance of remove unused functions: time 0.0002588/0.1879, allocations: 47.84 kB / 252.2 MB, free: 7.383 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 () * Number of clocked 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.0001516/0.1881, allocations: 111.2 kB / 252.3 MB, free: 7.262 MB / 186.7 MB Notification: Performance of simCode: created initialization part: time 0.0003096/0.1884, allocations: 131.9 kB / 252.5 MB, free: 7.133 MB / 186.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.1884, allocations: 0 / 252.5 MB, free: 7.133 MB / 186.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.1886, allocations: 67.91 kB / 252.5 MB, free: 7.066 MB / 186.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.1889, allocations: 37.23 kB / 252.6 MB, free: 7.031 MB / 186.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009284/0.1898, allocations: 0.6228 MB / 253.2 MB, free: 6.395 MB / 186.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002673/0.1901, allocations: 0.7282 MB / 253.9 MB, free: 5.641 MB / 186.7 MB Notification: Performance of simCode: alias equations: time 7.391e-05/0.1902, allocations: 9.438 kB / 253.9 MB, free: 5.625 MB / 186.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.683e-05/0.1902, allocations: 15.44 kB / 253.9 MB, free: 5.613 MB / 186.7 MB Notification: Performance of SimCode: time 1.844e-06/0.1903, allocations: 0 / 253.9 MB, free: 5.613 MB / 186.7 MB Notification: Performance of Templates: time 0.004122/0.1944, allocations: 1.542 MB / 255.5 MB, free: 4.102 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)