Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Electrical.Analog.Examples.ChuaCircuit") translateModel(Modelica.Electrical.Analog.Examples.ChuaCircuit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100000,variableFilter="",fileNamePrefix="Modelica_3.2.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.008319/0.008319, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.0018/0.0018, allocations: 196.8 kB / 16.67 MB, free: 5.926 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.602/1.602, allocations: 205.1 MB / 222.5 MB, free: 4.484 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.00133/0.00133, allocations: 50.75 kB / 326.6 MB, free: 14.41 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1179, allocations: 46.62 MB / 373.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003451/0.1214, allocations: 2.109 MB / 375.3 MB, free: 15.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009488/0.1224, allocations: 0.5811 MB / 375.9 MB, free: 14.59 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.466e-05/0.1225, allocations: 0 / 375.9 MB, free: 14.59 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000154/0.1227, allocations: 27.72 kB / 375.9 MB, free: 14.56 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001086/0.1228, allocations: 59.48 kB / 375.9 MB, free: 14.5 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001949/0.123, allocations: 63.86 kB / 376 MB, free: 14.44 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002854/0.1233, allocations: 230.9 kB / 376.2 MB, free: 14.21 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001962/0.1235, allocations: 85.62 kB / 376.3 MB, free: 14.13 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.1236, allocations: 83.72 kB / 376.4 MB, free: 14.05 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.1238, allocations: 103.6 kB / 376.5 MB, free: 13.95 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.834e-05/0.1238, allocations: 20 kB / 376.5 MB, free: 13.93 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.242e-05/0.1238, allocations: 20 kB / 376.5 MB, free: 13.91 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.459e-05/0.1239, allocations: 47.84 kB / 376.6 MB, free: 13.86 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.445e-05/0.124, allocations: 99.53 kB / 376.7 MB, free: 13.76 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002579/0.1243, allocations: 235.2 kB / 376.9 MB, free: 13.53 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.1243, allocations: 0 / 376.9 MB, free: 13.53 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1243, allocations: 0 / 376.9 MB, free: 13.53 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1243, allocations: 4 kB / 376.9 MB, free: 13.53 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.0007942/0.1251, allocations: 494.8 kB / 377.4 MB, free: 13 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.1252, allocations: 12.03 kB / 377.4 MB, free: 12.98 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.565e-05/0.1252, allocations: 20.69 kB / 377.4 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/0.1255, allocations: 220 kB / 377.7 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/0.1256, allocations: 16.36 kB / 377.7 MB, free: 12.7 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.191e-05/0.1256, allocations: 20.38 kB / 377.7 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003501/0.126, allocations: 181.8 kB / 377.9 MB, free: 12.49 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.126, allocations: 3.984 kB / 377.9 MB, free: 12.49 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.416e-05/0.126, allocations: 12 kB / 377.9 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.1261, allocations: 4 kB / 377.9 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000301/0.1264, allocations: 143.8 kB / 378 MB, free: 12.33 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.1276, allocations: 0.739 MB / 378.8 MB, free: 11.52 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003652/0.1279, allocations: 158.6 kB / 378.9 MB, free: 11.36 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001809/0.1281, allocations: 88.83 kB / 379 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/0.1281, allocations: 4 kB / 379 MB, free: 11.27 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.1282, allocations: 30.81 kB / 379 MB, free: 11.23 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.1282, allocations: 0 / 379 MB, free: 11.23 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004853/0.1287, allocations: 197.8 kB / 379.2 MB, free: 11.03 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.1287, allocations: 55.34 kB / 379.3 MB, free: 10.96 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.1289, allocations: 149.8 kB / 379.4 MB, free: 10.8 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.1289, allocations: 29.7 kB / 379.5 MB, free: 10.77 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.613e-05/0.129, allocations: 132.1 kB / 379.6 MB, free: 10.64 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.833e-05/0.1291, allocations: 55.28 kB / 379.6 MB, free: 10.58 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.88e-05/0.1291, allocations: 29.72 kB / 379.7 MB, free: 10.55 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.1293, allocations: 326.8 kB / 380 MB, free: 10.22 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001232/0.1294, allocations: 51.97 kB / 380 MB, free: 10.17 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.1296, allocations: 69.69 kB / 380.1 MB, free: 10.09 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002475/0.1298, allocations: 126.6 kB / 380.2 MB, free: 9.965 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.1298, allocations: 4 kB / 380.2 MB, free: 9.961 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003479/0.1302, allocations: 181.3 kB / 380.4 MB, free: 9.777 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.1302, allocations: 4 kB / 380.4 MB, free: 9.773 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1302, allocations: 0 / 380.4 MB, free: 9.773 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.1303, allocations: 7.938 kB / 380.4 MB, free: 9.766 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.1305, allocations: 39.97 kB / 380.5 MB, free: 9.727 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.1305, allocations: 0 / 380.5 MB, free: 9.727 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.9e-05/0.1306, allocations: 15.84 kB / 380.5 MB, free: 9.711 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.1306, allocations: 8.031 kB / 380.5 MB, free: 9.703 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 0.0001242/0.1308, allocations: 133.8 kB / 380.6 MB, free: 9.562 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.904e-05/0.1308, allocations: 15.81 kB / 380.6 MB, free: 9.547 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.964e-05/0.1308, allocations: 16.78 kB / 380.7 MB, free: 9.531 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1309, allocations: 4 kB / 380.7 MB, free: 9.527 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.1309, allocations: 0 / 380.7 MB, free: 9.527 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1309, allocations: 3.938 kB / 380.7 MB, free: 9.523 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003501/0.1312, allocations: 265.5 kB / 380.9 MB, free: 9.215 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.1312, allocations: 0 / 380.9 MB, free: 9.215 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002021/0.1315, allocations: 39.97 kB / 381 MB, free: 9.176 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.1315, allocations: 4 kB / 381 MB, free: 9.172 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.1315, allocations: 3.938 kB / 381 MB, free: 9.168 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1315, allocations: 0 / 381 MB, free: 9.168 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1315, allocations: 0 / 381 MB, free: 9.168 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004839/0.132, allocations: 311.2 kB / 381.3 MB, free: 8.848 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.681e-05/0.1321, allocations: 92.95 kB / 381.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.1321, allocations: 3.938 kB / 381.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.1323, allocations: 16.03 kB / 381.4 MB, free: 8.719 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/0.1323, allocations: 7.984 kB / 381.4 MB, free: 8.711 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.1323, allocations: 4 kB / 381.4 MB, free: 8.707 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.871e-05/0.1324, allocations: 111.3 kB / 381.5 MB, free: 8.598 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1324, allocations: 0 / 381.5 MB, free: 8.598 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002848/0.1327, allocations: 47.84 kB / 381.5 MB, free: 8.551 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.0001594/0.1329, allocations: 115.2 kB / 381.7 MB, free: 8.43 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003198/0.1332, allocations: 120 kB / 381.8 MB, free: 8.312 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.1332, allocations: 0 / 381.8 MB, free: 8.312 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001362/0.1334, allocations: 71.84 kB / 381.8 MB, free: 8.242 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.1337, allocations: 24.03 kB / 381.9 MB, free: 8.219 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.1348, allocations: 0.5177 MB / 382.4 MB, free: 7.672 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.1351, allocations: 0.724 MB / 383.1 MB, free: 6.922 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.102e-05/0.1352, allocations: 9.422 kB / 383.1 MB, free: 6.91 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.642e-05/0.1352, allocations: 15.44 kB / 383.1 MB, free: 6.895 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1352, allocations: 0 / 383.1 MB, free: 6.895 MB / 318.1 MB Notification: Performance of Templates: time 0.004605/0.1399, allocations: 1.683 MB / 384.8 MB, free: 5.211 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ChuaCircuit.makefile (rm -f Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & ./Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ChuaCircuit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1)