Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_3_2_3_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.001401/0.001401, allocations: 99.62 kB / 17.58 MB, free: 5.41 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.001558/0.001559, allocations: 188.2 kB / 18.5 MB, free: 4.516 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.885/1.885, allocations: 205.1 MB / 224.4 MB, free: 12.28 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.001267/0.001268, allocations: 48.16 kB / 280.7 MB, free: 3.078 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1274, allocations: 46.63 MB / 327.4 MB, free: 4.383 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.005114/0.1326, allocations: 2.129 MB / 329.5 MB, free: 2.234 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001678/0.1343, allocations: 0.5736 MB / 330.1 MB, free: 1.652 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003262/0.1347, allocations: 4 kB / 330.1 MB, free: 1.648 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003275/0.1351, allocations: 35.64 kB / 330.1 MB, free: 1.613 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000359/0.1354, allocations: 51.55 kB / 330.2 MB, free: 1.562 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003573/0.1358, allocations: 59.86 kB / 330.2 MB, free: 1.504 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004886/0.1363, allocations: 227 kB / 330.4 MB, free: 1.281 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003359/0.1367, allocations: 77.66 kB / 330.5 MB, free: 1.203 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002256/0.1369, allocations: 83.77 kB / 330.6 MB, free: 1.121 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000205/0.1371, allocations: 95.61 kB / 330.7 MB, free: 1.027 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 5.512e-05/0.1372, allocations: 20 kB / 330.7 MB, free: 1.008 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.597e-05/0.1373, allocations: 24 kB / 330.7 MB, free: 0.9844 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.047e-05/0.1373, allocations: 59.7 kB / 330.8 MB, free: 0.9258 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.1375, allocations: 103.5 kB / 330.9 MB, free: 0.8242 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003274/0.1378, allocations: 231.5 kB / 331.1 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.1378, allocations: 0 / 331.1 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.787e-06/0.1378, allocations: 0 / 331.1 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.516e-05/0.1379, allocations: 0 / 331.1 MB, free: 0.5977 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.001052/0.1389, allocations: 0.491 MB / 331.6 MB, free: 60 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/0.139, allocations: 8.031 kB / 331.6 MB, free: 52 kB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001019/0.1391, allocations: 50.78 kB / 331.7 MB, free: 15.99 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.724e-05/0.1392, allocations: 20.66 kB / 331.7 MB, free: 15.97 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003576/0.1395, allocations: 225 kB / 331.9 MB, free: 15.71 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.939e-05/0.1396, allocations: 16.36 kB / 331.9 MB, free: 15.7 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.07e-05/0.1396, allocations: 20.38 kB / 331.9 MB, free: 15.68 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004899/0.1401, allocations: 181.7 kB / 332.1 MB, free: 15.5 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.1402, allocations: 0 / 332.1 MB, free: 15.5 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.431e-05/0.1402, allocations: 8 kB / 332.1 MB, free: 15.49 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.473e-05/0.1402, allocations: 4 kB / 332.1 MB, free: 15.48 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003862/0.1406, allocations: 147.8 kB / 332.3 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001636/0.1423, allocations: 0.7507 MB / 333 MB, free: 14.52 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004624/0.1427, allocations: 150.5 kB / 333.2 MB, free: 14.36 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.143, allocations: 100.8 kB / 333.3 MB, free: 14.26 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.143, allocations: 0 / 333.3 MB, free: 14.26 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.489e-05/0.1431, allocations: 42.48 kB / 333.3 MB, free: 14.21 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.713e-06/0.1431, allocations: 0 / 333.3 MB, free: 14.21 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005302/0.1436, allocations: 181.7 kB / 333.5 MB, free: 14.03 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.397e-05/0.1437, allocations: 63.33 kB / 333.6 MB, free: 13.95 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.1439, allocations: 145.8 kB / 333.7 MB, free: 13.8 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.556e-05/0.1439, allocations: 29.7 kB / 333.7 MB, free: 13.77 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001365/0.1441, allocations: 132.2 kB / 333.9 MB, free: 13.63 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.567e-05/0.1441, allocations: 47.3 kB / 333.9 MB, free: 13.59 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.394e-05/0.1442, allocations: 37.61 kB / 333.9 MB, free: 13.54 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002134/0.1445, allocations: 326.8 kB / 334.3 MB, free: 13.21 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.1446, allocations: 43.98 kB / 334.3 MB, free: 13.17 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.1448, allocations: 81.61 kB / 334.4 MB, free: 13.09 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/0.1451, allocations: 120.8 kB / 334.5 MB, free: 12.96 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1451, allocations: 0 / 334.5 MB, free: 12.96 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003641/0.1455, allocations: 173.4 kB / 334.7 MB, free: 12.79 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.1455, allocations: 4 kB / 334.7 MB, free: 12.79 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.1455, allocations: 15.95 kB / 334.7 MB, free: 12.77 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.351e-05/0.1455, allocations: 0 / 334.7 MB, free: 12.77 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002299/0.1458, allocations: 39.92 kB / 334.7 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.178e-06/0.1458, allocations: 0 / 334.7 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.1459, allocations: 19.89 kB / 334.8 MB, free: 12.71 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.1459, allocations: 8 kB / 334.8 MB, free: 12.7 MB / 286.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.000146/0.1461, allocations: 129.7 kB / 334.9 MB, free: 12.57 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.282e-05/0.1462, allocations: 7.906 kB / 334.9 MB, free: 12.56 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.123e-05/0.1462, allocations: 28.78 kB / 334.9 MB, free: 12.53 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.1462, allocations: 3.984 kB / 334.9 MB, free: 12.53 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.1462, allocations: 0 / 334.9 MB, free: 12.53 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1462, allocations: 0 / 334.9 MB, free: 12.53 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003783/0.1466, allocations: 269.4 kB / 335.2 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.1466, allocations: 0 / 335.2 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002132/0.1469, allocations: 35.98 kB / 335.2 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/0.1469, allocations: 0 / 335.2 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.1469, allocations: 11.86 kB / 335.2 MB, free: 12.17 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1469, allocations: 4 kB / 335.2 MB, free: 12.16 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1469, allocations: 0 / 335.2 MB, free: 12.16 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005387/0.1475, allocations: 295.4 kB / 335.5 MB, free: 11.86 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.628e-05/0.1475, allocations: 92.86 kB / 335.6 MB, free: 11.75 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.1476, allocations: 7.938 kB / 335.6 MB, free: 11.74 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/0.1477, allocations: 12.03 kB / 335.6 MB, free: 11.73 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.392e-05/0.1478, allocations: 15.98 kB / 335.7 MB, free: 11.71 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.1478, allocations: 4 kB / 335.7 MB, free: 11.71 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001161/0.148, allocations: 116 kB / 335.8 MB, free: 11.6 MB / 286.1 MB Notification: Performance of sort global known variables: time 9e-08/0.148, allocations: 0 / 335.8 MB, free: 11.6 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002999/0.1483, allocations: 43.91 kB / 335.8 MB, free: 11.55 MB / 286.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.001005/0.1493, allocations: 0.838 MB / 336.7 MB, free: 10.69 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000375/0.1497, allocations: 131.8 kB / 336.8 MB, free: 10.56 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.1497, allocations: 0 / 336.8 MB, free: 10.56 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.1498, allocations: 63.91 kB / 336.8 MB, free: 10.5 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005296/0.1504, allocations: 28.05 kB / 336.9 MB, free: 10.47 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003151/0.1535, allocations: 2.048 MB / 338.9 MB, free: 8.328 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003821/0.1539, allocations: 0.7317 MB / 339.6 MB, free: 7.57 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 8.287e-05/0.154, allocations: 13.36 kB / 339.7 MB, free: 7.559 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.893e-05/0.1541, allocations: 51.42 kB / 339.7 MB, free: 7.508 MB / 286.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1541, allocations: 0 / 339.7 MB, free: 7.508 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02772/0.1819, allocations: 3.318 MB / 343 MB, free: 4.133 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.167/8.348, allocations: 7.859 kB / 343 MB, free: 4.125 MB / 286.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ChuaCircuit_fmu --startTime=0 --stopTime=50000 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ChuaCircuit.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1)