Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001812/0.001812, allocations: 114.9 kB / 16.63 MB, free: 6.812 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.00156/0.00156, allocations: 186 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.618/1.618, allocations: 222.9 MB / 241.2 MB, free: 13.72 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001198, allocations: 52.28 kB / 300.2 MB, free: 5.891 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1331, allocations: 49.45 MB / 349.7 MB, free: 4.434 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.004236/0.1374, allocations: 2.186 MB / 351.9 MB, free: 2.23 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.1386, allocations: 0.5338 MB / 352.4 MB, free: 1.691 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002278/0.1388, allocations: 4 kB / 352.4 MB, free: 1.688 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001928/0.139, allocations: 19.84 kB / 352.4 MB, free: 1.668 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001926/0.1393, allocations: 47.61 kB / 352.5 MB, free: 1.621 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002344/0.1395, allocations: 47.95 kB / 352.5 MB, free: 1.574 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003466/0.1399, allocations: 235 kB / 352.8 MB, free: 1.344 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002336/0.1401, allocations: 77.64 kB / 352.8 MB, free: 1.266 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001773/0.1403, allocations: 79.78 kB / 352.9 MB, free: 1.188 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.1405, allocations: 99.55 kB / 353 MB, free: 1.09 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.675e-05/0.1405, allocations: 20 kB / 353 MB, free: 1.07 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.767e-05/0.1406, allocations: 24 kB / 353 MB, free: 1.047 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.311e-05/0.1406, allocations: 47.89 kB / 353.1 MB, free: 1 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.1408, allocations: 103.5 kB / 353.2 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002828/0.1411, allocations: 231.5 kB / 353.4 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.1411, allocations: 0 / 353.4 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1411, allocations: 0 / 353.4 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.1411, allocations: 0 / 353.4 MB, free: 0.6719 MB / 286.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.0008216/0.1419, allocations: 0.4894 MB / 353.9 MB, free: 140 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.142, allocations: 12.03 kB / 353.9 MB, free: 128 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.179e-05/0.1421, allocations: 58.66 kB / 354 MB, free: 60 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.343e-05/0.1421, allocations: 24.75 kB / 354 MB, free: 36 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.1424, allocations: 212.1 kB / 354.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.1425, allocations: 16.38 kB / 354.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.07e-05/0.1425, allocations: 16.38 kB / 354.2 MB, free: 15.76 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004066/0.1429, allocations: 185.7 kB / 354.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.1429, allocations: 0 / 354.4 MB, free: 15.57 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.143, allocations: 8 kB / 354.4 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.415e-06/0.143, allocations: 4 kB / 354.4 MB, free: 15.56 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003202/0.1433, allocations: 147.8 kB / 354.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001359/0.1447, allocations: 0.7506 MB / 355.3 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003875/0.1451, allocations: 158.5 kB / 355.5 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001983/0.1453, allocations: 92.81 kB / 355.6 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.1453, allocations: 4 kB / 355.6 MB, free: 14.33 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.1454, allocations: 38.56 kB / 355.6 MB, free: 14.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.522e-06/0.1454, allocations: 0 / 355.6 MB, free: 14.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004916/0.1459, allocations: 191 kB / 355.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.1459, allocations: 55.34 kB / 355.9 MB, free: 14.03 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.1461, allocations: 149.8 kB / 356 MB, free: 13.87 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.1461, allocations: 25.7 kB / 356 MB, free: 13.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.776e-05/0.1462, allocations: 140.2 kB / 356.2 MB, free: 13.7 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.308e-05/0.1462, allocations: 55.2 kB / 356.2 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.596e-05/0.1463, allocations: 33.66 kB / 356.3 MB, free: 13.61 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.1465, allocations: 326.8 kB / 356.6 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.1466, allocations: 51.97 kB / 356.6 MB, free: 13.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.1467, allocations: 65.69 kB / 356.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002337/0.147, allocations: 128.4 kB / 356.8 MB, free: 13.03 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.147, allocations: 0 / 356.8 MB, free: 13.03 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003209/0.1473, allocations: 169.5 kB / 357 MB, free: 12.86 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.1473, allocations: 8 kB / 357 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.1473, allocations: 3.938 kB / 357 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.1474, allocations: 0 / 357 MB, free: 12.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.1476, allocations: 51.94 kB / 357 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.1476, allocations: 4 kB / 357 MB, free: 12.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.657e-05/0.1477, allocations: 11.84 kB / 357.1 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.1477, allocations: 8 kB / 357.1 MB, free: 12.77 MB / 302.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.000115/0.1478, allocations: 133.7 kB / 357.2 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.981e-05/0.1479, allocations: 11.91 kB / 357.2 MB, free: 12.62 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.424e-05/0.1479, allocations: 24.75 kB / 357.2 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.148, allocations: 4 kB / 357.2 MB, free: 12.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.148, allocations: 4 kB / 357.2 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.148, allocations: 0 / 357.2 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.1483, allocations: 265.5 kB / 357.5 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1483, allocations: 0 / 357.5 MB, free: 12.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002137/0.1485, allocations: 35.97 kB / 357.5 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1485, allocations: 0 / 357.5 MB, free: 12.24 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.1485, allocations: 15.94 kB / 357.5 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1486, allocations: 0 / 357.5 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.1486, allocations: 0 / 357.5 MB, free: 12.22 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004498/0.149, allocations: 310.5 kB / 357.8 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.645e-05/0.1491, allocations: 92.98 kB / 357.9 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.065e-05/0.1491, allocations: 7.938 kB / 357.9 MB, free: 11.79 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001401/0.1493, allocations: 8 kB / 358 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.403e-05/0.1493, allocations: 11.98 kB / 358 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.428e-06/0.1493, allocations: 8 kB / 358 MB, free: 11.76 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.967e-05/0.1494, allocations: 116.8 kB / 358.1 MB, free: 11.65 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1494, allocations: 0 / 358.1 MB, free: 11.65 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002638/0.1497, allocations: 43.91 kB / 358.1 MB, free: 11.61 MB / 302.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.000738/0.1504, allocations: 0.841 MB / 359 MB, free: 10.74 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003103/0.1508, allocations: 131.9 kB / 359.1 MB, free: 10.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1508, allocations: 0 / 359.1 MB, free: 10.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.1509, allocations: 59.92 kB / 359.2 MB, free: 10.55 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004199/0.1513, allocations: 32.03 kB / 359.2 MB, free: 10.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002791/0.1541, allocations: 2.101 MB / 361.3 MB, free: 8.328 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003167/0.1545, allocations: 0.7278 MB / 362 MB, free: 7.574 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.863e-05/0.1546, allocations: 13.42 kB / 362 MB, free: 7.562 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.737e-05/0.1547, allocations: 51.42 kB / 362.1 MB, free: 7.512 MB / 302.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1547, allocations: 0 / 362.1 MB, free: 7.512 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01724/0.1719, allocations: 3.202 MB / 365.3 MB, free: 4.43 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002477/0.1722, allocations: 199.5 kB / 365.5 MB, free: 4.176 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.016/2.188, allocations: 0 / 365.5 MB, free: 4.176 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ChuaCircuit_fmu --startTime=0 --stopTime=50000 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_ChuaCircuit.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1)