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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009525/0.0009529, allocations: 179.5 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.191/1.191, allocations: 194.5 MB / 211.6 MB, free: 3.055 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.001886/0.001886, allocations: 115.4 kB / 256.9 MB, free: 4.387 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002636/0.0002637, allocations: 8 kB / 310.6 MB, free: 14.95 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07043/0.07071, allocations: 44.5 MB / 355.1 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2062/0.277, allocations: 72.21 MB / 427.3 MB, free: 17.29 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000187/0.2772, allocations: 72.08 kB / 427.3 MB, free: 17.25 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006754/0.284, allocations: 3.11 MB / 430.4 MB, free: 14.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.284, allocations: 4 kB / 430.4 MB, free: 14.65 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.284, allocations: 4 kB / 430.5 MB, free: 14.65 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.0004625/0.2845, allocations: 466.8 kB / 430.9 MB, free: 14.16 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.2845, allocations: 8.031 kB / 430.9 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.297e-05/0.2846, allocations: 28.75 kB / 430.9 MB, free: 14.13 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/0.2847, allocations: 217.3 kB / 431.2 MB, free: 13.89 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.2848, allocations: 15.23 kB / 431.2 MB, free: 13.88 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.2848, allocations: 23 kB / 431.2 MB, free: 13.87 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002857/0.2851, allocations: 180.4 kB / 431.4 MB, free: 13.74 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.2851, allocations: 0 / 431.4 MB, free: 13.74 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.2851, allocations: 3.938 kB / 431.4 MB, free: 13.74 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.2851, allocations: 6.109 kB / 431.4 MB, free: 13.73 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002441/0.2854, allocations: 150.1 kB / 431.5 MB, free: 13.63 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008733/0.2863, allocations: 0.7666 MB / 432.3 MB, free: 12.93 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003023/0.2866, allocations: 174.2 kB / 432.5 MB, free: 12.79 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.2866, allocations: 2.438 kB / 432.5 MB, free: 12.79 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.502e-05/0.2866, allocations: 30.56 kB / 432.5 MB, free: 12.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.2866, allocations: 4 kB / 432.5 MB, free: 12.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003721/0.287, allocations: 200.9 kB / 432.7 MB, free: 12.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.302e-05/0.287, allocations: 57.53 kB / 432.8 MB, free: 12.52 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.188e-05/0.2871, allocations: 139.5 kB / 432.9 MB, free: 12.39 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.2871, allocations: 29.58 kB / 432.9 MB, free: 12.36 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.32e-05/0.2872, allocations: 134.3 kB / 433 MB, free: 12.23 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.497e-05/0.2872, allocations: 50.55 kB / 433.1 MB, free: 12.19 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-06/0.2872, allocations: 0 / 433.1 MB, free: 12.19 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.58e-05/0.2873, allocations: 326.6 kB / 433.4 MB, free: 11.87 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.998e-05/0.2874, allocations: 50.16 kB / 433.5 MB, free: 11.83 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.2875, allocations: 81.89 kB / 433.5 MB, free: 11.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.2876, allocations: 61.67 kB / 433.6 MB, free: 11.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2876, allocations: 0 / 433.6 MB, free: 11.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002595/0.2879, allocations: 188 kB / 433.8 MB, free: 11.58 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.2879, allocations: 4 kB / 433.8 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.2879, allocations: 0 / 433.8 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.2879, allocations: 4 kB / 433.8 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002002/0.2882, allocations: 39.97 kB / 433.8 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.2882, allocations: 4 kB / 433.8 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.179e-05/0.2883, allocations: 15.31 kB / 433.9 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.2883, allocations: 4 kB / 433.9 MB, free: 11.52 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 () * 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 7.213e-05/0.2884, allocations: 135.1 kB / 434 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.2884, allocations: 24.78 kB / 434 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.421e-05/0.2884, allocations: 11.16 kB / 434 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.2884, allocations: 4.656 kB / 434 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2884, allocations: 0 / 434 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.2885, allocations: 0 / 434 MB, free: 11.36 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001878/0.2886, allocations: 260.4 kB / 434.3 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2887, allocations: 4 kB / 434.3 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.2889, allocations: 43.91 kB / 434.3 MB, free: 11.05 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.2889, allocations: 3.938 kB / 434.3 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.2889, allocations: 4.516 kB / 434.3 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.2889, allocations: 4 kB / 434.3 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.2889, allocations: 0 / 434.3 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003998/0.2893, allocations: 313.5 kB / 434.7 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.229e-05/0.2893, allocations: 94.3 kB / 434.7 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.2894, allocations: 3.125 kB / 434.7 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.2895, allocations: 24.78 kB / 434.8 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.27e-05/0.2896, allocations: 15.73 kB / 434.8 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.2896, allocations: 4 kB / 434.8 MB, free: 10.62 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.59e-05/0.2896, allocations: 112.6 kB / 434.9 MB, free: 10.52 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2896, allocations: 0 / 434.9 MB, free: 10.52 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002309/0.2899, allocations: 47.09 kB / 434.9 MB, free: 10.48 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 () * 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.0001097/0.29, allocations: 106.9 kB / 435 MB, free: 10.37 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002611/0.2903, allocations: 132 kB / 435.2 MB, free: 10.27 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2903, allocations: 0 / 435.2 MB, free: 10.27 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.2904, allocations: 65.53 kB / 435.2 MB, free: 10.22 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.2906, allocations: 27.75 kB / 435.3 MB, free: 10.2 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007409/0.2914, allocations: 0.6273 MB / 435.9 MB, free: 9.598 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.2915, allocations: 0.7282 MB / 436.6 MB, free: 8.844 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.211e-05/0.2916, allocations: 13.36 kB / 436.6 MB, free: 8.832 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.332e-05/0.2916, allocations: 15.44 kB / 436.7 MB, free: 8.816 MB / 314.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2916, allocations: 0 / 436.7 MB, free: 8.816 MB / 314.7 MB Notification: Performance of Templates: time 0.002942/0.2946, allocations: 1.453 MB / 438.1 MB, free: 7.426 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)