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.001384/0.001384, allocations: 185.8 kB / 8.352 MB, free: 0.7266 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.527/1.527, allocations: 194.3 MB / 203.1 MB, free: 13.03 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.001638/0.001638, allocations: 112.1 kB / 248.1 MB, free: 24 kB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.107e-05/2.116e-05, allocations: 4 kB / 298.1 MB, free: 35.5 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07464/0.07468, allocations: 44.51 MB / 342.6 MB, free: 6.98 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2971/0.3718, allocations: 71.45 MB / 414 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001707/0.3721, allocations: 73.23 kB / 414.1 MB, free: 10.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007139/0.3792, allocations: 3.083 MB / 417.2 MB, free: 10.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3793, allocations: 4 kB / 417.2 MB, free: 10.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.048e-05/0.3793, allocations: 3.875 kB / 417.2 MB, free: 10.32 MB / 298.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.0004499/0.3797, allocations: 447.5 kB / 417.6 MB, free: 9.938 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.3798, allocations: 11.53 kB / 417.6 MB, free: 9.934 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.926e-05/0.3798, allocations: 26.62 kB / 417.7 MB, free: 9.922 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.38, allocations: 219 kB / 417.9 MB, free: 9.707 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.38, allocations: 3.844 kB / 417.9 MB, free: 9.707 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.884e-05/0.3801, allocations: 11.72 kB / 417.9 MB, free: 9.707 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001756/0.3802, allocations: 115.9 kB / 418 MB, free: 9.699 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.3805, allocations: 137.2 kB / 418.1 MB, free: 9.668 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3805, allocations: 0 / 418.1 MB, free: 9.668 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.3805, allocations: 0 / 418.1 MB, free: 9.668 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.3805, allocations: 3.938 kB / 418.1 MB, free: 9.668 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009189/0.3814, allocations: 0.719 MB / 418.9 MB, free: 9.281 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/0.3816, allocations: 128.8 kB / 419 MB, free: 9.254 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.697e-05/0.3817, allocations: 77.52 kB / 419.1 MB, free: 9.246 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.3818, allocations: 0 / 419.1 MB, free: 9.246 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.3818, allocations: 42.31 kB / 419.1 MB, free: 9.203 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.042e-06/0.3818, allocations: 4 kB / 419.1 MB, free: 9.199 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002006/0.382, allocations: 116 kB / 419.2 MB, free: 9.152 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.72e-05/0.382, allocations: 58.72 kB / 419.3 MB, free: 9.09 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.997e-05/0.3821, allocations: 129.8 kB / 419.4 MB, free: 8.992 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.3821, allocations: 25.7 kB / 419.4 MB, free: 8.961 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.547e-05/0.3822, allocations: 134.7 kB / 419.6 MB, free: 8.852 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.3822, allocations: 49.62 kB / 419.6 MB, free: 8.82 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-06/0.3822, allocations: 3.938 kB / 419.6 MB, free: 8.816 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.612e-05/0.3823, allocations: 327.4 kB / 419.9 MB, free: 8.5 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.296e-05/0.3823, allocations: 36.28 kB / 420 MB, free: 8.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.101e-05/0.3824, allocations: 55.12 kB / 420 MB, free: 8.484 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.235e-05/0.3825, allocations: 44.25 kB / 420.1 MB, free: 8.484 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3825, allocations: 3.938 kB / 420.1 MB, free: 8.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001629/0.3827, allocations: 142.7 kB / 420.2 MB, free: 8.438 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.3827, allocations: 3.844 kB / 420.2 MB, free: 8.438 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3827, allocations: 0 / 420.2 MB, free: 8.438 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.3827, allocations: 7.875 kB / 420.2 MB, free: 8.434 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.3829, allocations: 49.25 kB / 420.3 MB, free: 8.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.3829, allocations: 0 / 420.3 MB, free: 8.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.574e-05/0.383, allocations: 18.59 kB / 420.3 MB, free: 8.422 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.383, allocations: 3.844 kB / 420.3 MB, free: 8.422 MB / 298.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 4.728e-05/0.3831, allocations: 108.7 kB / 420.4 MB, free: 8.309 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.139e-05/0.3831, allocations: 15.73 kB / 420.4 MB, free: 8.301 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.405e-05/0.3832, allocations: 19.73 kB / 420.4 MB, free: 8.289 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3832, allocations: 3.969 kB / 420.4 MB, free: 8.289 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.3832, allocations: 0 / 420.4 MB, free: 8.289 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.3832, allocations: 0 / 420.4 MB, free: 8.289 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.3834, allocations: 224.9 kB / 420.7 MB, free: 8.125 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3834, allocations: 0 / 420.7 MB, free: 8.125 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/0.3836, allocations: 50.61 kB / 420.7 MB, free: 8.117 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.3836, allocations: 0 / 420.7 MB, free: 8.117 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.3836, allocations: 3.844 kB / 420.7 MB, free: 8.117 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3836, allocations: 3.953 kB / 420.7 MB, free: 8.113 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3836, allocations: 4 kB / 420.7 MB, free: 8.109 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.3839, allocations: 254.6 kB / 421 MB, free: 7.977 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.096e-05/0.3839, allocations: 84.89 kB / 421 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.44e-05/0.384, allocations: 2.719 kB / 421.1 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.3841, allocations: 14.66 kB / 421.1 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.227e-05/0.3842, allocations: 14.89 kB / 421.1 MB, free: 7.871 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.646e-06/0.3842, allocations: 7.75 kB / 421.1 MB, free: 7.867 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.762e-05/0.3842, allocations: 105.1 kB / 421.2 MB, free: 7.793 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3842, allocations: 0 / 421.2 MB, free: 7.793 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002571/0.3845, allocations: 46.75 kB / 421.2 MB, free: 7.781 MB / 298.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.000104/0.3846, allocations: 98.62 kB / 421.3 MB, free: 7.695 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001532/0.3848, allocations: 103 kB / 421.4 MB, free: 7.688 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3848, allocations: 4.062 kB / 421.4 MB, free: 7.684 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.512e-05/0.3848, allocations: 50.19 kB / 421.5 MB, free: 7.68 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.3851, allocations: 18.64 kB / 421.5 MB, free: 7.676 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006874/0.3858, allocations: 390.7 kB / 421.9 MB, free: 7.418 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.3859, allocations: 0.7313 MB / 422.6 MB, free: 6.719 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 6.852e-05/0.386, allocations: 16.06 kB / 422.6 MB, free: 6.715 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.474e-05/0.386, allocations: 11.34 kB / 422.6 MB, free: 6.707 MB / 298.7 MB Notification: Performance of SimCode: time 5.01e-07/0.386, allocations: 0 / 422.6 MB, free: 6.707 MB / 298.7 MB Notification: Performance of Templates: time 0.002922/0.389, allocations: 1.272 MB / 423.9 MB, free: 6.613 MB / 298.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)