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.001197/0.001197, allocations: 113.3 kB / 17.28 MB, free: 6.312 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.001313/0.001313, allocations: 189.3 kB / 18.19 MB, free: 5.395 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.449/1.449, allocations: 205.1 MB / 224.1 MB, free: 12.43 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.001279/0.001279, allocations: 52.16 kB / 280.3 MB, free: 3.395 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09926/0.1006, allocations: 46.63 MB / 326.9 MB, free: 4.695 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003373/0.104, allocations: 2.174 MB / 329.1 MB, free: 2.504 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009404/0.1049, allocations: 0.5658 MB / 329.6 MB, free: 1.93 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.983e-05/0.1051, allocations: 4 kB / 329.6 MB, free: 1.926 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001496/0.1052, allocations: 23.83 kB / 329.6 MB, free: 1.902 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.617e-05/0.1053, allocations: 43.62 kB / 329.7 MB, free: 1.859 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.1055, allocations: 47.95 kB / 329.7 MB, free: 1.812 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002499/0.1058, allocations: 234.9 kB / 330 MB, free: 1.582 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001879/0.106, allocations: 81.64 kB / 330 MB, free: 1.5 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.1061, allocations: 83.77 kB / 330.1 MB, free: 1.418 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.1062, allocations: 95.61 kB / 330.2 MB, free: 1.324 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.364e-05/0.1063, allocations: 24 kB / 330.2 MB, free: 1.301 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.633e-05/0.1063, allocations: 20 kB / 330.3 MB, free: 1.281 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.225e-05/0.1063, allocations: 47.83 kB / 330.3 MB, free: 1.234 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 9.962e-05/0.1064, allocations: 99.53 kB / 330.4 MB, free: 1.137 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002461/0.1067, allocations: 231.5 kB / 330.6 MB, free: 0.9102 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.1067, allocations: 0 / 330.6 MB, free: 0.9102 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1067, allocations: 0 / 330.6 MB, free: 0.9102 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.194e-06/0.1067, allocations: 4 kB / 330.6 MB, free: 0.9062 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.0007433/0.1075, allocations: 0.491 MB / 331.1 MB, free: 376 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.1075, allocations: 12.03 kB / 331.1 MB, free: 364 kB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.994e-05/0.1076, allocations: 50.73 kB / 331.2 MB, free: 304 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.386e-05/0.1077, allocations: 24.66 kB / 331.2 MB, free: 280 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002347/0.1079, allocations: 228 kB / 331.4 MB, free: 12 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.1079, allocations: 12.38 kB / 331.4 MB, free: 0 / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.906e-05/0.108, allocations: 20.42 kB / 331.5 MB, free: 15.98 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003352/0.1083, allocations: 181.6 kB / 331.6 MB, free: 15.8 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.447e-06/0.1083, allocations: 0 / 331.6 MB, free: 15.8 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.1084, allocations: 4 kB / 331.6 MB, free: 15.79 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.1084, allocations: 4 kB / 331.7 MB, free: 15.79 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002826/0.1087, allocations: 143.9 kB / 331.8 MB, free: 15.65 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.1098, allocations: 0.7468 MB / 332.5 MB, free: 14.83 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003652/0.1102, allocations: 162.4 kB / 332.7 MB, free: 14.66 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.1103, allocations: 92.83 kB / 332.8 MB, free: 14.57 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.1104, allocations: 4 kB / 332.8 MB, free: 14.57 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.1104, allocations: 30.56 kB / 332.8 MB, free: 14.53 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.423e-06/0.1104, allocations: 0 / 332.8 MB, free: 14.53 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004748/0.1109, allocations: 201.6 kB / 333 MB, free: 14.32 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.098e-05/0.1109, allocations: 55.34 kB / 333.1 MB, free: 14.26 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.1111, allocations: 149.8 kB / 333.2 MB, free: 14.1 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.569e-05/0.1111, allocations: 25.7 kB / 333.2 MB, free: 14.07 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.568e-05/0.1112, allocations: 132.2 kB / 333.4 MB, free: 13.94 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.984e-05/0.1112, allocations: 51.3 kB / 333.4 MB, free: 13.89 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.967e-05/0.1113, allocations: 33.62 kB / 333.5 MB, free: 13.85 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1114, allocations: 326.8 kB / 333.8 MB, free: 13.52 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.1115, allocations: 51.97 kB / 333.8 MB, free: 13.47 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001277/0.1117, allocations: 69.69 kB / 333.9 MB, free: 13.39 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002237/0.1119, allocations: 128.7 kB / 334 MB, free: 13.27 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1119, allocations: 0 / 334 MB, free: 13.27 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003066/0.1122, allocations: 177.5 kB / 334.2 MB, free: 13.09 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1122, allocations: 4 kB / 334.2 MB, free: 13.08 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.1123, allocations: 7.922 kB / 334.2 MB, free: 13.07 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.1123, allocations: 0 / 334.2 MB, free: 13.07 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002159/0.1125, allocations: 47.91 kB / 334.3 MB, free: 13.03 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.1125, allocations: 0 / 334.3 MB, free: 13.03 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.1126, allocations: 11.91 kB / 334.3 MB, free: 13.02 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.1126, allocations: 12.02 kB / 334.3 MB, free: 13 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.0001072/0.1128, allocations: 125.8 kB / 334.4 MB, free: 12.87 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.987e-05/0.1128, allocations: 15.91 kB / 334.4 MB, free: 12.86 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.613e-05/0.1128, allocations: 20.72 kB / 334.4 MB, free: 12.84 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1129, allocations: 4 kB / 334.4 MB, free: 12.83 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.1129, allocations: 0 / 334.4 MB, free: 12.83 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1129, allocations: 0 / 334.4 MB, free: 12.83 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002667/0.1131, allocations: 265.4 kB / 334.7 MB, free: 12.52 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1132, allocations: 0 / 334.7 MB, free: 12.52 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/0.1134, allocations: 47.97 kB / 334.7 MB, free: 12.48 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.1134, allocations: 3.984 kB / 334.7 MB, free: 12.47 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.1134, allocations: 7.938 kB / 334.8 MB, free: 12.46 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1134, allocations: 0 / 334.8 MB, free: 12.46 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1134, allocations: 0 / 334.8 MB, free: 12.46 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004234/0.1138, allocations: 299.8 kB / 335 MB, free: 12.16 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.522e-05/0.1139, allocations: 100.9 kB / 335.1 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.114, allocations: 3.938 kB / 335.2 MB, free: 12.04 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.1141, allocations: 16.03 kB / 335.2 MB, free: 12.02 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/0.1142, allocations: 7.984 kB / 335.2 MB, free: 12.01 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.1142, allocations: 4 kB / 335.2 MB, free: 12.01 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.494e-05/0.1143, allocations: 112 kB / 335.3 MB, free: 11.9 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1143, allocations: 0 / 335.3 MB, free: 11.9 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002704/0.1145, allocations: 43.91 kB / 335.3 MB, free: 11.86 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.0007009/0.1153, allocations: 0.8411 MB / 336.2 MB, free: 10.98 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002918/0.1156, allocations: 135.8 kB / 336.3 MB, free: 10.85 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1156, allocations: 4.062 kB / 336.3 MB, free: 10.85 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.1157, allocations: 63.91 kB / 336.4 MB, free: 10.79 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003826/0.1161, allocations: 24.97 kB / 336.4 MB, free: 10.76 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002424/0.1185, allocations: 2.113 MB / 338.5 MB, free: 8.559 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.1188, allocations: 0.7239 MB / 339.2 MB, free: 7.809 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.767e-05/0.1189, allocations: 13.44 kB / 339.2 MB, free: 7.797 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.939e-05/0.119, allocations: 51.41 kB / 339.3 MB, free: 7.746 MB / 286.1 MB Notification: Performance of SimCode: time 2.51e-07/0.119, allocations: 0 / 339.3 MB, free: 7.746 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01484/0.1338, allocations: 3.201 MB / 342.5 MB, free: 4.531 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002344/0.1341, allocations: 216.2 kB / 342.7 MB, free: 4.254 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.81/1.944, allocations: 0 / 342.7 MB, free: 4.254 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)