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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.ChuaCircuit") translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Electrical.Analog.Examples.ChuaCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009697/0.0009698, allocations: 91.84 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.557/1.557, allocations: 205.4 MB / 222.1 MB, free: 5.637 MB / 174.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004667/0.0004668, allocations: 14.81 kB / 278.9 MB, free: 12.81 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2863/0.2868, allocations: 47.58 MB / 326.5 MB, free: 1.559 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.00205/0.2889, allocations: 1.764 MB / 328.2 MB, free: 164 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.000949/0.2899, allocations: 0.5431 MB / 328.8 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.29, allocations: 3.625 kB / 328.8 MB, free: 15.72 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.2901, allocations: 19.22 kB / 328.8 MB, free: 15.7 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.2902, allocations: 50.3 kB / 328.8 MB, free: 15.66 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001839/0.2904, allocations: 49.48 kB / 328.9 MB, free: 15.62 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002628/0.2907, allocations: 211.7 kB / 329.1 MB, free: 15.49 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001969/0.2909, allocations: 55.22 kB / 329.2 MB, free: 15.46 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001149/0.291, allocations: 73.83 kB / 329.2 MB, free: 15.42 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.2912, allocations: 87.02 kB / 329.3 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.303e-05/0.2912, allocations: 11.59 kB / 329.3 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.548e-05/0.2912, allocations: 10.81 kB / 329.3 MB, free: 15.36 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.329e-05/0.2913, allocations: 29.38 kB / 329.4 MB, free: 15.34 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.412e-05/0.2913, allocations: 59.17 kB / 329.4 MB, free: 15.29 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001884/0.2915, allocations: 169.4 kB / 329.6 MB, free: 15.16 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2915, allocations: 4 kB / 329.6 MB, free: 15.16 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.2916, allocations: 0 / 329.6 MB, free: 15.16 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.2916, allocations: 1.281 kB / 329.6 MB, free: 15.16 MB / 270.1 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.0007171/0.2923, allocations: 474.5 kB / 330.1 MB, free: 14.72 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/0.2923, allocations: 13.56 kB / 330.1 MB, free: 14.71 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.65e-05/0.2924, allocations: 17.78 kB / 330.1 MB, free: 14.71 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/0.2927, allocations: 216.1 kB / 330.3 MB, free: 14.47 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.557e-05/0.2927, allocations: 16.3 kB / 330.3 MB, free: 14.46 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.493e-05/0.2927, allocations: 18.5 kB / 330.3 MB, free: 14.45 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004076/0.2932, allocations: 182.1 kB / 330.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.2932, allocations: 0 / 330.5 MB, free: 14.34 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.408e-05/0.2932, allocations: 10.88 kB / 330.5 MB, free: 14.33 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.2932, allocations: 7.969 kB / 330.5 MB, free: 14.33 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003267/0.2936, allocations: 144.6 kB / 330.7 MB, free: 14.27 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/0.2948, allocations: 0.7526 MB / 331.4 MB, free: 13.62 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004144/0.2952, allocations: 173.9 kB / 331.6 MB, free: 13.52 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002127/0.2954, allocations: 98.66 kB / 331.7 MB, free: 13.48 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.2955, allocations: 2.281 kB / 331.7 MB, free: 13.48 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/0.2955, allocations: 35.84 kB / 331.7 MB, free: 13.43 MB / 270.1 MB Notification: Performance of pre-optimization done (n=13): time 1.253e-06/0.2955, allocations: 0 / 331.7 MB, free: 13.43 MB / 270.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005001/0.296, allocations: 199 kB / 331.9 MB, free: 13.33 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/0.2961, allocations: 56.88 kB / 332 MB, free: 13.26 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.2962, allocations: 148.8 kB / 332.1 MB, free: 13.14 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.2962, allocations: 31.17 kB / 332.2 MB, free: 13.1 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.368e-05/0.2963, allocations: 140.2 kB / 332.3 MB, free: 12.97 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.086e-05/0.2964, allocations: 45.23 kB / 332.3 MB, free: 12.93 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.367e-06/0.2964, allocations: 7.938 kB / 332.3 MB, free: 12.92 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.2965, allocations: 326.8 kB / 332.7 MB, free: 12.6 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.2967, allocations: 57.19 kB / 332.7 MB, free: 12.57 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.2968, allocations: 72.97 kB / 332.8 MB, free: 12.53 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.297, allocations: 56.98 kB / 332.8 MB, free: 12.5 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.297, allocations: 0 / 332.8 MB, free: 12.5 MB / 270.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003579/0.2973, allocations: 192.7 kB / 333 MB, free: 12.4 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.2974, allocations: 5.062 kB / 333 MB, free: 12.4 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.2974, allocations: 0.9688 kB / 333 MB, free: 12.4 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.2974, allocations: 5.141 kB / 333 MB, free: 12.39 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/0.2976, allocations: 42.94 kB / 333.1 MB, free: 12.39 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.2976, allocations: 9.297 kB / 333.1 MB, free: 12.38 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.59e-05/0.2977, allocations: 22.69 kB / 333.1 MB, free: 12.36 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.2978, allocations: 3.844 kB / 333.1 MB, free: 12.36 MB / 270.1 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 0.0001053/0.2979, allocations: 128.8 kB / 333.2 MB, free: 12.23 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.809e-05/0.2979, allocations: 14.19 kB / 333.3 MB, free: 12.23 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.076e-05/0.298, allocations: 18.98 kB / 333.3 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.298, allocations: 6.047 kB / 333.3 MB, free: 12.21 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.298, allocations: 4 kB / 333.3 MB, free: 12.2 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.298, allocations: 1.188 kB / 333.3 MB, free: 12.2 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002843/0.2983, allocations: 261.5 kB / 333.5 MB, free: 11.94 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2983, allocations: 0 / 333.5 MB, free: 11.94 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/0.2985, allocations: 39.47 kB / 333.6 MB, free: 11.93 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.2985, allocations: 0 / 333.6 MB, free: 11.93 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.2985, allocations: 5.125 kB / 333.6 MB, free: 11.93 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.2985, allocations: 1.219 kB / 333.6 MB, free: 11.93 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.2985, allocations: 3.953 kB / 333.6 MB, free: 11.93 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004938/0.299, allocations: 322.1 kB / 333.9 MB, free: 11.7 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.064e-05/0.2991, allocations: 88.58 kB / 334 MB, free: 11.6 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.682e-05/0.2991, allocations: 1.219 kB / 334 MB, free: 11.6 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.2993, allocations: 23.05 kB / 334 MB, free: 11.59 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.124e-05/0.2993, allocations: 3.281 kB / 334 MB, free: 11.59 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.2994, allocations: 11.12 kB / 334 MB, free: 11.58 MB / 270.1 MB Notification: Performance of sorting global known variables: time 8.393e-05/0.2995, allocations: 115.5 kB / 334.1 MB, free: 11.48 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2995, allocations: 0 / 334.1 MB, free: 11.48 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002785/0.2997, allocations: 47.75 kB / 334.2 MB, free: 11.47 MB / 270.1 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.0001354/0.2999, allocations: 111.5 kB / 334.3 MB, free: 11.37 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0003169/0.3002, allocations: 128.6 kB / 334.4 MB, free: 11.3 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3002, allocations: 0 / 334.4 MB, free: 11.3 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001263/0.3004, allocations: 72.59 kB / 334.5 MB, free: 11.23 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.3007, allocations: 23.98 kB / 334.5 MB, free: 11.21 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.3018, allocations: 0.6227 MB / 335.1 MB, free: 10.57 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.3021, allocations: 0.7282 MB / 335.9 MB, free: 9.812 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.161e-05/0.3022, allocations: 9.422 kB / 335.9 MB, free: 9.805 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.36e-05/0.3022, allocations: 15.44 kB / 335.9 MB, free: 9.789 MB / 270.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3022, allocations: 0 / 335.9 MB, free: 9.789 MB / 270.1 MB Notification: Performance of Templates: time 0.003883/0.3061, allocations: 1.454 MB / 337.3 MB, free: 8.336 MB / 270.1 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)