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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 105.6 kB / 17.06 MB, free: 6.027 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.001203/0.001203, allocations: 195 kB / 18 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.566/1.566, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.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.001329/0.001329, allocations: 55.92 kB / 327.9 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1188, allocations: 46.61 MB / 374.5 MB, free: 4.586 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003256/0.122, allocations: 2.128 MB / 376.6 MB, free: 2.445 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009588/0.123, allocations: 0.5851 MB / 377.2 MB, free: 1.852 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001002/0.1231, allocations: 0 / 377.2 MB, free: 1.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001406/0.1233, allocations: 31.66 kB / 377.2 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.519e-05/0.1234, allocations: 51.55 kB / 377.3 MB, free: 1.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.1236, allocations: 59.86 kB / 377.3 MB, free: 1.711 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002621/0.1239, allocations: 234.9 kB / 377.6 MB, free: 1.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001919/0.1241, allocations: 85.62 kB / 377.6 MB, free: 1.398 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.1242, allocations: 79.78 kB / 377.7 MB, free: 1.32 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.1243, allocations: 107.5 kB / 377.8 MB, free: 1.215 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.494e-05/0.1244, allocations: 20 kB / 377.8 MB, free: 1.195 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.594e-05/0.1244, allocations: 20 kB / 377.9 MB, free: 1.176 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.64e-05/0.1245, allocations: 51.84 kB / 377.9 MB, free: 1.125 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.147e-05/0.1246, allocations: 99.53 kB / 378 MB, free: 1.027 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002426/0.1248, allocations: 231.2 kB / 378.2 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.1248, allocations: 0 / 378.2 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1248, allocations: 0 / 378.2 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1249, allocations: 0 / 378.2 MB, free: 0.8008 MB / 318.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.0007919/0.1256, allocations: 0.4949 MB / 378.7 MB, free: 264 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.1257, allocations: 12.03 kB / 378.7 MB, free: 252 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.198e-05/0.1258, allocations: 16.75 kB / 378.8 MB, free: 236 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2538/0.3796, allocations: 216.6 kB / 379 MB, free: 13.69 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.899e-05/0.3797, allocations: 14.22 kB / 379 MB, free: 13.69 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.069e-05/0.3798, allocations: 19.64 kB / 379 MB, free: 13.69 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005298/0.3803, allocations: 178.1 kB / 379.2 MB, free: 13.65 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.3803, allocations: 0 / 379.2 MB, free: 13.65 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.137e-05/0.3804, allocations: 10.09 kB / 379.2 MB, free: 13.65 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.3804, allocations: 4.125 kB / 379.2 MB, free: 13.65 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000357/0.3808, allocations: 149.9 kB / 379.3 MB, free: 13.64 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.3821, allocations: 0.7344 MB / 380.1 MB, free: 13.16 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004317/0.3826, allocations: 162.5 kB / 380.2 MB, free: 13.09 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001878/0.3828, allocations: 93.02 kB / 380.3 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.044e-05/0.3828, allocations: 1.375 kB / 380.3 MB, free: 13.06 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.3828, allocations: 35.94 kB / 380.4 MB, free: 13.02 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.034e-06/0.3828, allocations: 4.734 kB / 380.4 MB, free: 13.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005072/0.3834, allocations: 184.9 kB / 380.5 MB, free: 12.94 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.3834, allocations: 52.78 kB / 380.6 MB, free: 12.88 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001439/0.3835, allocations: 153.1 kB / 380.7 MB, free: 12.76 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.519e-05/0.3836, allocations: 25.7 kB / 380.8 MB, free: 12.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.488e-05/0.3837, allocations: 138.8 kB / 380.9 MB, free: 12.61 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.957e-05/0.3837, allocations: 47.47 kB / 381 MB, free: 12.58 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.423e-05/0.3838, allocations: 29.45 kB / 381 MB, free: 12.55 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.273e-05/0.3839, allocations: 330.9 kB / 381.3 MB, free: 12.23 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.384, allocations: 53.59 kB / 381.4 MB, free: 12.21 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001407/0.3842, allocations: 70.27 kB / 381.4 MB, free: 12.18 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003037/0.3845, allocations: 125 kB / 381.5 MB, free: 12.12 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3845, allocations: 1.375 kB / 381.5 MB, free: 12.12 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000391/0.3849, allocations: 179.8 kB / 381.7 MB, free: 12.04 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.3849, allocations: 4.125 kB / 381.7 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3849, allocations: 1.891 kB / 381.7 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.3849, allocations: 1.375 kB / 381.7 MB, free: 12.04 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/0.3852, allocations: 46.17 kB / 381.8 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.3852, allocations: 4.766 kB / 381.8 MB, free: 12.03 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.3853, allocations: 19.44 kB / 381.8 MB, free: 12.02 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.36e-05/0.3853, allocations: 7.719 kB / 381.8 MB, free: 12.02 MB / 318.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.794e-05/0.3854, allocations: 126.8 kB / 381.9 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.007e-05/0.3855, allocations: 10.59 kB / 381.9 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.104e-05/0.3855, allocations: 19.58 kB / 382 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.3855, allocations: 2.438 kB / 382 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.3856, allocations: 1.375 kB / 382 MB, free: 11.88 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.3856, allocations: 4.641 kB / 382 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003768/0.3859, allocations: 269.7 kB / 382.2 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.386, allocations: 0 / 382.2 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002419/0.3862, allocations: 35.2 kB / 382.3 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.3862, allocations: 1.812 kB / 382.3 MB, free: 11.64 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.3862, allocations: 13.25 kB / 382.3 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3863, allocations: 0.7188 kB / 382.3 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3863, allocations: 1.344 kB / 382.3 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005525/0.3868, allocations: 302.5 kB / 382.6 MB, free: 11.43 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.778e-05/0.3869, allocations: 93.14 kB / 382.7 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.3869, allocations: 5.953 kB / 382.7 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.3871, allocations: 15.3 kB / 382.7 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.097e-05/0.3871, allocations: 9.953 kB / 382.7 MB, free: 11.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.3872, allocations: 8.172 kB / 382.7 MB, free: 11.32 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.455e-05/0.3872, allocations: 114.8 kB / 382.8 MB, free: 11.23 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3873, allocations: 0 / 382.8 MB, free: 11.23 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002782/0.3875, allocations: 47.88 kB / 382.9 MB, free: 11.22 MB / 318.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001342/0.3877, allocations: 108.4 kB / 383 MB, free: 11.12 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003708/0.3881, allocations: 126.8 kB / 383.1 MB, free: 11.09 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3881, allocations: 0 / 383.1 MB, free: 11.09 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.3882, allocations: 60.66 kB / 383.2 MB, free: 11.07 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.3885, allocations: 27.88 kB / 383.2 MB, free: 11.06 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009512/0.3895, allocations: 0.5194 MB / 383.7 MB, free: 10.72 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.3897, allocations: 0.7243 MB / 384.4 MB, free: 10.02 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.655e-05/0.3898, allocations: 14.14 kB / 384.4 MB, free: 10.02 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.606e-05/0.3899, allocations: 14.19 kB / 384.5 MB, free: 10.01 MB / 318.1 MB Notification: Performance of SimCode: time 2e-07/0.3899, allocations: 1.031 kB / 384.5 MB, free: 10.01 MB / 318.1 MB Notification: Performance of Templates: time 0.005511/0.3954, allocations: 1.686 MB / 386.1 MB, free: 9.883 MB / 318.1 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)