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.001354/0.001354, allocations: 100.9 kB / 16.65 MB, free: 6.254 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.002006/0.002006, allocations: 180.4 kB / 17.57 MB, free: 5.844 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.403/1.403, allocations: 223.3 MB / 241.6 MB, free: 192 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002668/0.000267, allocations: 8 kB / 301.5 MB, free: 6.008 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09959/0.09988, allocations: 50.41 MB / 351.9 MB, free: 3.586 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.00292/0.1029, allocations: 1.835 MB / 353.8 MB, free: 1.738 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.1042, allocations: 0.5143 MB / 354.3 MB, free: 1.219 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002399/0.1045, allocations: 4 kB / 354.3 MB, free: 1.215 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001693/0.1047, allocations: 27.78 kB / 354.3 MB, free: 1.188 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.1049, allocations: 51.61 kB / 354.4 MB, free: 1.137 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002608/0.1051, allocations: 39.95 kB / 354.4 MB, free: 1.098 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003741/0.1055, allocations: 223 kB / 354.6 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002459/0.1058, allocations: 70.02 kB / 354.7 MB, free: 0.8086 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001845/0.106, allocations: 63.78 kB / 354.8 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002034/0.1062, allocations: 95.55 kB / 354.9 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.832e-05/0.1062, allocations: 12 kB / 354.9 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.953e-05/0.1063, allocations: 15.94 kB / 354.9 MB, free: 0.625 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.235e-05/0.1064, allocations: 31.91 kB / 354.9 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001651/0.1065, allocations: 117.2 kB / 355 MB, free: 484 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000325/0.1069, allocations: 215.5 kB / 355.2 MB, free: 268 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1069, allocations: 0 / 355.2 MB, free: 268 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.985e-06/0.1069, allocations: 0 / 355.2 MB, free: 268 kB / 286.1 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.1069, allocations: 0 / 355.2 MB, free: 268 kB / 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.001047/0.108, allocations: 478.8 kB / 355.7 MB, free: 15.75 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.49e-05/0.108, allocations: 8.031 kB / 355.7 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001084/0.1081, allocations: 54.73 kB / 355.8 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.695e-05/0.1082, allocations: 16.75 kB / 355.8 MB, free: 15.66 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003634/0.1086, allocations: 219.1 kB / 356 MB, free: 15.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.621e-05/0.1087, allocations: 20.38 kB / 356 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.925e-05/0.1087, allocations: 16.38 kB / 356 MB, free: 15.38 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005189/0.1092, allocations: 185.6 kB / 356.2 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.1093, allocations: 0 / 356.2 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.272e-05/0.1093, allocations: 12 kB / 356.2 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.366e-05/0.1093, allocations: 4 kB / 356.2 MB, free: 15.17 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000419/0.1098, allocations: 147.9 kB / 356.4 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001776/0.1115, allocations: 0.7701 MB / 357.1 MB, free: 14.19 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004355/0.112, allocations: 177.9 kB / 357.3 MB, free: 14.01 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/0.1122, allocations: 100.8 kB / 357.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.543e-05/0.1122, allocations: 4 kB / 357.4 MB, free: 13.9 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.876e-05/0.1123, allocations: 30.56 kB / 357.4 MB, free: 13.86 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.422e-06/0.1123, allocations: 0 / 357.4 MB, free: 13.86 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005157/0.1128, allocations: 197.8 kB / 357.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.1129, allocations: 59.34 kB / 357.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.113, allocations: 148.8 kB / 357.8 MB, free: 13.44 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.409e-05/0.113, allocations: 33.7 kB / 357.9 MB, free: 13.4 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.811e-05/0.1132, allocations: 140.1 kB / 358 MB, free: 13.26 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.45e-05/0.1132, allocations: 47.28 kB / 358.1 MB, free: 13.21 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.431e-05/0.1133, allocations: 25.7 kB / 358.1 MB, free: 13.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.1134, allocations: 322.8 kB / 358.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.1135, allocations: 59.91 kB / 358.5 MB, free: 12.8 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001579/0.1137, allocations: 84.39 kB / 358.5 MB, free: 12.71 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002575/0.114, allocations: 121.7 kB / 358.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.114, allocations: 3.938 kB / 358.7 MB, free: 12.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003983/0.1144, allocations: 192.2 kB / 358.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.1144, allocations: 8 kB / 358.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.1144, allocations: 3.938 kB / 358.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.1145, allocations: 0 / 358.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/0.1147, allocations: 39.98 kB / 358.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/0.1147, allocations: 11.95 kB / 358.9 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.1149, allocations: 15.91 kB / 358.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.309e-05/0.1149, allocations: 4 kB / 358.9 MB, free: 12.31 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.0001599/0.1151, allocations: 125.8 kB / 359.1 MB, free: 12.18 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.537e-05/0.1151, allocations: 11.81 kB / 359.1 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.124e-05/0.1152, allocations: 32.7 kB / 359.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.1152, allocations: 0 / 359.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.1152, allocations: 0 / 359.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.1152, allocations: 8 kB / 359.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003873/0.1156, allocations: 257.6 kB / 359.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1156, allocations: 0 / 359.4 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002413/0.1159, allocations: 47.89 kB / 359.4 MB, free: 11.78 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.052e-06/0.1159, allocations: 4 kB / 359.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.1159, allocations: 3.938 kB / 359.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.1159, allocations: 0 / 359.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1159, allocations: 0 / 359.4 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005617/0.1165, allocations: 311.3 kB / 359.7 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.314e-05/0.1166, allocations: 96.98 kB / 359.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.874e-05/0.1166, allocations: 3.938 kB / 359.8 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.1168, allocations: 20 kB / 359.8 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/0.1168, allocations: 7.984 kB / 359.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/0.1169, allocations: 4 kB / 359.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.087e-05/0.1169, allocations: 116.9 kB / 360 MB, free: 11.19 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.117, allocations: 0 / 360 MB, free: 11.19 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002834/0.1172, allocations: 43.91 kB / 360 MB, free: 11.14 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.0008598/0.1181, allocations: 0.8603 MB / 360.9 MB, free: 10.26 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003363/0.1185, allocations: 135.9 kB / 361 MB, free: 10.13 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1185, allocations: 0 / 361 MB, free: 10.13 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.1186, allocations: 67.91 kB / 361.1 MB, free: 10.06 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004025/0.119, allocations: 32.03 kB / 361.1 MB, free: 10.03 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002895/0.1219, allocations: 2.199 MB / 363.3 MB, free: 7.738 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.1223, allocations: 0.7282 MB / 364 MB, free: 6.984 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.834e-05/0.1224, allocations: 9.422 kB / 364 MB, free: 6.977 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.958e-05/0.1225, allocations: 47.42 kB / 364.1 MB, free: 6.93 MB / 302.1 MB Notification: Performance of SimCode: time 9.01e-07/0.1225, allocations: 0 / 364.1 MB, free: 6.93 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01372/0.1362, allocations: 3.021 MB / 367.1 MB, free: 4.039 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001904/0.1365, allocations: 201.9 kB / 367.3 MB, free: 3.781 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.907/2.043, allocations: 0 / 367.3 MB, free: 3.781 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)