Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_4_1_0-beta_om_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.001331/0.001331, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001281/0.001281, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.387/1.387, allocations: 227.7 MB / 247.2 MB, free: 10.17 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 67.89 kB / 358.5 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2955/0.2973, allocations: 50.55 MB / 409.1 MB, free: 1.383 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003457/0.3008, allocations: 2.17 MB / 411.2 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001134/0.302, allocations: 0.5649 MB / 411.8 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.3021, allocations: 8 kB / 411.8 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.3023, allocations: 27.72 kB / 411.8 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.3024, allocations: 55.48 kB / 411.9 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002019/0.3027, allocations: 55.92 kB / 412 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003571/0.303, allocations: 231 kB / 412.2 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002054/0.3032, allocations: 85.64 kB / 412.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.3034, allocations: 87.66 kB / 412.4 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001582/0.3035, allocations: 95.61 kB / 412.4 MB, free: 14 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.762e-05/0.3036, allocations: 20 kB / 412.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.904e-05/0.3036, allocations: 20 kB / 412.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.368e-05/0.3037, allocations: 47.83 kB / 412.5 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001105/0.3038, allocations: 103.6 kB / 412.6 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00029/0.3041, allocations: 230.1 kB / 412.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.3041, allocations: 0 / 412.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3041, allocations: 0 / 412.9 MB, free: 13.59 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.858e-06/0.3041, allocations: 0 / 412.9 MB, free: 13.59 MB / 334.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.0008083/0.305, allocations: 498.6 kB / 413.3 MB, free: 13.05 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.305, allocations: 8.031 kB / 413.4 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.215e-05/0.3051, allocations: 58.72 kB / 413.4 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.961e-05/0.3051, allocations: 24.8 kB / 413.4 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003485/0.3055, allocations: 227.9 kB / 413.7 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.3055, allocations: 16.38 kB / 413.7 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.548e-05/0.3056, allocations: 16.38 kB / 413.7 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003751/0.3059, allocations: 185.7 kB / 413.9 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.306, allocations: 0 / 413.9 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.08e-05/0.306, allocations: 4 kB / 413.9 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.306, allocations: 4 kB / 413.9 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003275/0.3063, allocations: 143.9 kB / 414 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001272/0.3076, allocations: 0.7354 MB / 414.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003954/0.308, allocations: 170.4 kB / 414.9 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001829/0.3082, allocations: 92.83 kB / 415 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.3082, allocations: 0 / 415 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.257e-05/0.3083, allocations: 38.56 kB / 415 MB, free: 11.21 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 2.845e-06/0.3083, allocations: 3.984 kB / 415.1 MB, free: 11.2 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004746/0.3088, allocations: 189.7 kB / 415.2 MB, free: 11.01 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.303e-05/0.3088, allocations: 55.34 kB / 415.3 MB, free: 10.95 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.309, allocations: 154.5 kB / 415.4 MB, free: 10.79 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.309, allocations: 25.7 kB / 415.5 MB, free: 10.76 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.3091, allocations: 144.2 kB / 415.6 MB, free: 10.61 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.102e-05/0.3092, allocations: 51.62 kB / 415.7 MB, free: 10.56 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.063e-05/0.3092, allocations: 33.7 kB / 415.7 MB, free: 10.52 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.3094, allocations: 322.8 kB / 416 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.3095, allocations: 55.92 kB / 416.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.3097, allocations: 69.62 kB / 416.1 MB, free: 10.07 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/0.3099, allocations: 125 kB / 416.2 MB, free: 9.945 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.31, allocations: 4 kB / 416.3 MB, free: 9.941 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003444/0.3103, allocations: 173.4 kB / 416.4 MB, free: 9.766 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.3103, allocations: 4 kB / 416.4 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3104, allocations: 3.938 kB / 416.4 MB, free: 9.758 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3104, allocations: 4 kB / 416.4 MB, free: 9.754 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002211/0.3106, allocations: 47.91 kB / 416.5 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.3106, allocations: 4.031 kB / 416.5 MB, free: 9.703 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000103/0.3107, allocations: 15.89 kB / 416.5 MB, free: 9.688 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.3107, allocations: 8 kB / 416.5 MB, free: 9.68 MB / 334.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.000114/0.3109, allocations: 117.8 kB / 416.6 MB, free: 9.555 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.152e-05/0.3109, allocations: 15.91 kB / 416.6 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.664e-05/0.311, allocations: 24.77 kB / 416.7 MB, free: 9.512 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.311, allocations: 0 / 416.7 MB, free: 9.512 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.311, allocations: 7.938 kB / 416.7 MB, free: 9.504 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.311, allocations: 4 kB / 416.7 MB, free: 9.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000313/0.3113, allocations: 261.5 kB / 416.9 MB, free: 9.195 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3113, allocations: 0 / 416.9 MB, free: 9.195 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/0.3116, allocations: 39.97 kB / 417 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3116, allocations: 0 / 417 MB, free: 9.156 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.631e-05/0.3116, allocations: 7.938 kB / 417 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3116, allocations: 0 / 417 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3116, allocations: 0 / 417 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005003/0.3121, allocations: 307.3 kB / 417.3 MB, free: 8.832 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.191e-05/0.3122, allocations: 93.05 kB / 417.4 MB, free: 8.723 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.044e-05/0.3122, allocations: 11.94 kB / 417.4 MB, free: 8.711 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001374/0.3124, allocations: 11.92 kB / 417.4 MB, free: 8.699 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.3124, allocations: 12 kB / 417.4 MB, free: 8.688 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.3124, allocations: 0 / 417.4 MB, free: 8.688 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001036/0.3125, allocations: 119.2 kB / 417.5 MB, free: 8.57 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3125, allocations: 0 / 417.5 MB, free: 8.57 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002742/0.3128, allocations: 47.89 kB / 417.6 MB, free: 8.523 MB / 334.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.0008307/0.3137, allocations: 0.8402 MB / 418.4 MB, free: 7.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000313/0.314, allocations: 128 kB / 418.5 MB, free: 7.535 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.314, allocations: 0 / 418.5 MB, free: 7.535 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001259/0.3141, allocations: 59.92 kB / 418.6 MB, free: 7.477 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/0.3145, allocations: 19.98 kB / 418.6 MB, free: 7.457 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002752/0.3172, allocations: 2.067 MB / 420.7 MB, free: 5.312 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.3176, allocations: 0.7201 MB / 421.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.369e-05/0.3177, allocations: 13.41 kB / 421.4 MB, free: 4.555 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.166e-05/0.3178, allocations: 47.42 kB / 421.5 MB, free: 4.508 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3178, allocations: 0 / 421.5 MB, free: 4.508 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02818/0.346, allocations: 3.402 MB / 424.9 MB, free: 1.215 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.811/8.157, allocations: 8.5 kB / 424.9 MB, free: 1.207 MB / 334.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.csv --start-time 0 --stop-time 50000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1 Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ChuaCircuit.fmu > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1)