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.002042/0.002042, allocations: 107.5 kB / 16.92 MB, free: 6.145 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.002445/0.002445, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.464/1.464, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001059/0.001059, allocations: 51.61 kB / 300.7 MB, free: 5.781 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1238, allocations: 49.44 MB / 350.2 MB, free: 4.32 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003792/0.1277, allocations: 2.129 MB / 352.3 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001066/0.1288, allocations: 0.5376 MB / 352.8 MB, free: 1.633 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.898e-05/0.1289, allocations: 0 / 352.8 MB, free: 1.633 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000127/0.1291, allocations: 31.72 kB / 352.9 MB, free: 1.602 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.833e-05/0.1292, allocations: 59.42 kB / 352.9 MB, free: 1.543 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001792/0.1293, allocations: 55.92 kB / 353 MB, free: 1.488 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002353/0.1296, allocations: 231 kB / 353.2 MB, free: 1.262 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001813/0.1298, allocations: 77.64 kB / 353.3 MB, free: 1.184 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.1299, allocations: 83.72 kB / 353.4 MB, free: 1.102 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001301/0.13, allocations: 103.6 kB / 353.5 MB, free: 1 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.467e-05/0.1301, allocations: 23.94 kB / 353.5 MB, free: 0.9766 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.63e-05/0.1301, allocations: 20 kB / 353.5 MB, free: 0.957 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.56e-05/0.1302, allocations: 47.89 kB / 353.6 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.792e-05/0.1303, allocations: 103.5 kB / 353.7 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002426/0.1305, allocations: 227.5 kB / 353.9 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/0.1306, allocations: 4 kB / 353.9 MB, free: 0.582 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1306, allocations: 0 / 353.9 MB, free: 0.582 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.1306, allocations: 0 / 353.9 MB, free: 0.582 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.0007796/0.1314, allocations: 0.4909 MB / 354.4 MB, free: 44 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.1314, allocations: 8.031 kB / 354.4 MB, free: 36 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.001e-05/0.1315, allocations: 50.73 kB / 354.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.966e-05/0.1315, allocations: 20.75 kB / 354.4 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002727/0.1318, allocations: 220 kB / 354.7 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.235e-05/0.1319, allocations: 16.31 kB / 354.7 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.831e-05/0.1319, allocations: 20.36 kB / 354.7 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003603/0.1323, allocations: 177.7 kB / 354.9 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.1323, allocations: 4 kB / 354.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.595e-05/0.1323, allocations: 8 kB / 354.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.1323, allocations: 8 kB / 354.9 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003114/0.1326, allocations: 135.9 kB / 355 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.1339, allocations: 0.7584 MB / 355.8 MB, free: 14.51 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003923/0.1343, allocations: 162.5 kB / 355.9 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/0.1345, allocations: 96.77 kB / 356 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.1346, allocations: 4 kB / 356 MB, free: 14.24 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/0.1346, allocations: 30.56 kB / 356.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.1346, allocations: 0 / 356.1 MB, free: 14.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004843/0.1351, allocations: 192.6 kB / 356.3 MB, free: 14.01 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.1351, allocations: 59.28 kB / 356.3 MB, free: 13.94 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.1353, allocations: 153 kB / 356.5 MB, free: 13.78 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.1353, allocations: 33.7 kB / 356.5 MB, free: 13.74 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.084e-05/0.1354, allocations: 132.2 kB / 356.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.317e-05/0.1355, allocations: 51.19 kB / 356.7 MB, free: 13.56 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.145e-05/0.1355, allocations: 37.72 kB / 356.7 MB, free: 13.52 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.1357, allocations: 318.8 kB / 357 MB, free: 13.2 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001217/0.1358, allocations: 59.86 kB / 357.1 MB, free: 13.14 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001315/0.1359, allocations: 73.69 kB / 357.2 MB, free: 13.06 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002382/0.1362, allocations: 113.7 kB / 357.3 MB, free: 12.94 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.1362, allocations: 4 kB / 357.3 MB, free: 12.94 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003143/0.1365, allocations: 177.4 kB / 357.4 MB, free: 12.76 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1365, allocations: 4 kB / 357.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1365, allocations: 3.938 kB / 357.4 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.1366, allocations: 8.031 kB / 357.5 MB, free: 12.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002069/0.1368, allocations: 43.91 kB / 357.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1368, allocations: 0 / 357.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.777e-05/0.1369, allocations: 15.91 kB / 357.5 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.1369, allocations: 7.938 kB / 357.5 MB, free: 12.68 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.0001022/0.137, allocations: 133.8 kB / 357.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.586e-05/0.1371, allocations: 11.91 kB / 357.7 MB, free: 12.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.722e-05/0.1371, allocations: 16.78 kB / 357.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1371, allocations: 8 kB / 357.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.1371, allocations: 0 / 357.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.1371, allocations: 0 / 357.7 MB, free: 12.5 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002592/0.1374, allocations: 269.4 kB / 358 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.1374, allocations: 0 / 358 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002049/0.1376, allocations: 35.97 kB / 358 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1376, allocations: 4 kB / 358 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.1377, allocations: 7.938 kB / 358 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.1377, allocations: 0 / 358 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.1377, allocations: 0 / 358 MB, free: 12.14 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004358/0.1381, allocations: 299.3 kB / 358.3 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.745e-05/0.1382, allocations: 96.92 kB / 358.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.1382, allocations: 3.938 kB / 358.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.1383, allocations: 15.98 kB / 358.4 MB, free: 11.7 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.1384, allocations: 11.98 kB / 358.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.1384, allocations: 8 kB / 358.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.967e-05/0.1385, allocations: 108.8 kB / 358.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1385, allocations: 0 / 358.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000251/0.1388, allocations: 43.91 kB / 358.6 MB, free: 11.53 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.0006826/0.1394, allocations: 0.8532 MB / 359.4 MB, free: 10.65 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002793/0.1397, allocations: 130.6 kB / 359.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1397, allocations: 0 / 359.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001189/0.1399, allocations: 70.91 kB / 359.6 MB, free: 10.46 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.1402, allocations: 27.98 kB / 359.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002273/0.1425, allocations: 2.039 MB / 361.7 MB, free: 8.297 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003311/0.1428, allocations: 0.724 MB / 362.4 MB, free: 7.547 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.137e-05/0.1429, allocations: 13.42 kB / 362.4 MB, free: 7.535 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.355e-05/0.143, allocations: 47.42 kB / 362.5 MB, free: 7.488 MB / 302.1 MB Notification: Performance of SimCode: time 2.61e-07/0.143, allocations: 4 kB / 362.5 MB, free: 7.484 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1074/0.2504, allocations: 3.323 MB / 365.8 MB, free: 4.238 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.636/8.886, allocations: 5.031 kB / 365.8 MB, free: 4.234 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)