Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001107/0.001107, allocations: 103.5 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001167/0.001167, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 246.3 MB, free: 10.72 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 63.98 kB / 306.4 MB, free: 0.9297 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1028, allocations: 50.54 MB / 356.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003415/0.1062, allocations: 2.206 MB / 359.1 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009846/0.1072, allocations: 0.5649 MB / 359.7 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001416/0.1074, allocations: 4 kB / 359.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.1076, allocations: 27.83 kB / 359.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.1077, allocations: 51.55 kB / 359.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001723/0.1079, allocations: 47.95 kB / 359.8 MB, free: 11.47 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002943/0.1082, allocations: 219.1 kB / 360 MB, free: 11.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001701/0.1084, allocations: 70.06 kB / 360.1 MB, free: 11.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.1085, allocations: 83.64 kB / 360.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001291/0.1086, allocations: 91.61 kB / 360.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.365e-05/0.1087, allocations: 19.94 kB / 360.3 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.74e-05/0.1087, allocations: 20 kB / 360.3 MB, free: 10.97 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.249e-05/0.1088, allocations: 39.84 kB / 360.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.841e-05/0.1089, allocations: 87.59 kB / 360.4 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002128/0.1091, allocations: 227.5 kB / 360.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.1091, allocations: 0 / 360.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.72e-07/0.1091, allocations: 0 / 360.6 MB, free: 10.62 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.863e-06/0.1091, allocations: 4 kB / 360.6 MB, free: 10.62 MB / 302.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.0007321/0.1098, allocations: 498.7 kB / 361.1 MB, free: 10.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.1099, allocations: 12.03 kB / 361.1 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.334e-05/0.11, allocations: 50.73 kB / 361.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.168e-05/0.11, allocations: 20.75 kB / 361.2 MB, free: 9.996 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002262/0.1102, allocations: 219.9 kB / 361.4 MB, free: 9.742 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.781e-05/0.1103, allocations: 16.38 kB / 361.4 MB, free: 9.727 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.163e-05/0.1103, allocations: 20.28 kB / 361.5 MB, free: 9.707 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003458/0.1107, allocations: 189.7 kB / 361.6 MB, free: 9.516 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.1107, allocations: 0 / 361.6 MB, free: 9.516 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.1107, allocations: 4 kB / 361.6 MB, free: 9.512 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.513e-06/0.1107, allocations: 4 kB / 361.6 MB, free: 9.508 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002965/0.111, allocations: 143.9 kB / 361.8 MB, free: 9.367 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001133/0.1122, allocations: 0.7468 MB / 362.5 MB, free: 8.551 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003643/0.1125, allocations: 158.5 kB / 362.7 MB, free: 8.387 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.1127, allocations: 92.83 kB / 362.8 MB, free: 8.293 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.1127, allocations: 4 kB / 362.8 MB, free: 8.289 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.475e-05/0.1128, allocations: 34.56 kB / 362.8 MB, free: 8.246 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.1128, allocations: 0 / 362.8 MB, free: 8.246 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004435/0.1132, allocations: 185.7 kB / 363 MB, free: 8.059 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.1133, allocations: 55.34 kB / 363.1 MB, free: 7.992 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.1134, allocations: 157.4 kB / 363.2 MB, free: 7.832 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.1134, allocations: 29.7 kB / 363.2 MB, free: 7.797 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.201e-05/0.1135, allocations: 132.2 kB / 363.4 MB, free: 7.664 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.077e-05/0.1136, allocations: 55.2 kB / 363.4 MB, free: 7.609 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-05/0.1136, allocations: 25.72 kB / 363.4 MB, free: 7.578 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001069/0.1138, allocations: 322.8 kB / 363.8 MB, free: 7.254 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.1139, allocations: 51.97 kB / 363.8 MB, free: 7.203 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.114, allocations: 81.61 kB / 363.9 MB, free: 7.117 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000233/0.1143, allocations: 121.6 kB / 364 MB, free: 6.992 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1143, allocations: 4 kB / 364 MB, free: 6.988 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003138/0.1146, allocations: 169.5 kB / 364.2 MB, free: 6.816 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.1146, allocations: 6.656 kB / 364.2 MB, free: 6.812 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1146, allocations: 11.91 kB / 364.2 MB, free: 6.801 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1147, allocations: 4 kB / 364.2 MB, free: 6.797 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.1149, allocations: 47.91 kB / 364.2 MB, free: 6.75 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1149, allocations: 0 / 364.2 MB, free: 6.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.115, allocations: 11.89 kB / 364.3 MB, free: 6.738 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.115, allocations: 4 kB / 364.3 MB, free: 6.734 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 9.579e-05/0.1151, allocations: 134.8 kB / 364.4 MB, free: 6.594 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.969e-05/0.1152, allocations: 15.81 kB / 364.4 MB, free: 6.578 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.681e-05/0.1152, allocations: 24.72 kB / 364.4 MB, free: 6.555 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1152, allocations: 4 kB / 364.4 MB, free: 6.551 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.1152, allocations: 0 / 364.4 MB, free: 6.551 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1152, allocations: 3.984 kB / 364.4 MB, free: 6.547 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000268/0.1155, allocations: 257.6 kB / 364.7 MB, free: 6.246 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.1155, allocations: 3.984 kB / 364.7 MB, free: 6.242 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002026/0.1157, allocations: 31.98 kB / 364.7 MB, free: 6.211 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.1157, allocations: 4 kB / 364.7 MB, free: 6.207 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.1157, allocations: 7.938 kB / 364.7 MB, free: 6.199 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1158, allocations: 0 / 364.7 MB, free: 6.199 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1158, allocations: 4 kB / 364.7 MB, free: 6.195 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004367/0.1162, allocations: 303.2 kB / 365 MB, free: 5.883 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.912e-05/0.1163, allocations: 89.05 kB / 365.1 MB, free: 5.777 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.789e-05/0.1163, allocations: 7.938 kB / 365.1 MB, free: 5.77 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.1164, allocations: 16.02 kB / 365.1 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.1165, allocations: 11.98 kB / 365.2 MB, free: 5.742 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.1165, allocations: 8 kB / 365.2 MB, free: 5.734 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.65e-05/0.1166, allocations: 115.2 kB / 365.3 MB, free: 5.621 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1166, allocations: 0 / 365.3 MB, free: 5.621 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.1169, allocations: 43.91 kB / 365.3 MB, free: 5.578 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.0006838/0.1176, allocations: 0.8445 MB / 366.2 MB, free: 4.707 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002935/0.1179, allocations: 120 kB / 366.3 MB, free: 4.59 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1179, allocations: 7.938 kB / 366.3 MB, free: 4.582 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001184/0.118, allocations: 55.97 kB / 366.3 MB, free: 4.527 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.1184, allocations: 28.05 kB / 366.4 MB, free: 4.5 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002463/0.1208, allocations: 2.117 MB / 368.5 MB, free: 2.289 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002593/0.1211, allocations: 0.7204 MB / 369.2 MB, free: 1.543 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.903e-05/0.1212, allocations: 13.42 kB / 369.2 MB, free: 1.531 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.961e-05/0.1213, allocations: 51.42 kB / 369.3 MB, free: 1.48 MB / 302.1 MB Notification: Performance of SimCode: time 4.2e-07/0.1213, allocations: 0 / 369.3 MB, free: 1.48 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.158/0.2792, allocations: 3.089 MB / 372.4 MB, free: 19.64 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001604/0.2794, allocations: 198.5 kB / 372.6 MB, free: 19.38 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.768/2.048, allocations: 2.625 kB / 372.6 MB, free: 19.38 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_ChuaCircuit_fmu --startTime=0 --stopTime=50000 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_ChuaCircuit.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1)