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.0009929/0.0009928, allocations: 90.66 kB / 17.3 MB, free: 6.34 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.001186/0.001186, allocations: 184.4 kB / 18.21 MB, free: 5.523 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.421/1.421, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.000488/0.0004884, allocations: 16 kB / 281.5 MB, free: 3.328 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0938/0.0943, allocations: 47.59 MB / 329.1 MB, free: 3.668 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.002272/0.09661, allocations: 1.823 MB / 330.9 MB, free: 1.832 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008529/0.09749, allocations: 0.562 MB / 331.4 MB, free: 1.262 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.996e-05/0.0976, allocations: 4 kB / 331.5 MB, free: 1.258 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001058/0.09772, allocations: 15.84 kB / 331.5 MB, free: 1.242 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.09783, allocations: 51.61 kB / 331.5 MB, free: 1.191 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001617/0.098, allocations: 47.89 kB / 331.6 MB, free: 1.145 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002362/0.09825, allocations: 227 kB / 331.8 MB, free: 0.9219 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000183/0.09844, allocations: 58.09 kB / 331.8 MB, free: 0.8633 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.09855, allocations: 71.78 kB / 331.9 MB, free: 0.793 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.09868, allocations: 95.53 kB / 332 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.162e-05/0.09873, allocations: 12 kB / 332 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.966e-05/0.09876, allocations: 12 kB / 332 MB, free: 0.6758 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.716e-05/0.0988, allocations: 31.84 kB / 332.1 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001439/0.09895, allocations: 117.2 kB / 332.2 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.09919, allocations: 215.5 kB / 332.4 MB, free: 320 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.09921, allocations: 0 / 332.4 MB, free: 320 kB / 270.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.09922, allocations: 0 / 332.4 MB, free: 320 kB / 270.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.09923, allocations: 0 / 332.4 MB, free: 320 kB / 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.0008091/0.1, allocations: 478.8 kB / 332.9 MB, free: 15.8 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.1001, allocations: 12.03 kB / 332.9 MB, free: 15.79 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.583e-05/0.1002, allocations: 54.72 kB / 332.9 MB, free: 15.72 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.247e-05/0.1002, allocations: 24.69 kB / 332.9 MB, free: 15.7 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.1005, allocations: 216 kB / 333.2 MB, free: 15.45 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.1006, allocations: 12.38 kB / 333.2 MB, free: 15.44 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.605e-05/0.1006, allocations: 20.38 kB / 333.2 MB, free: 15.42 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003666/0.101, allocations: 189.7 kB / 333.4 MB, free: 15.23 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.101, allocations: 7.922 kB / 333.4 MB, free: 15.22 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.101, allocations: 4 kB / 333.4 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.101, allocations: 4 kB / 333.4 MB, free: 15.21 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003128/0.1014, allocations: 155.9 kB / 333.5 MB, free: 15.06 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00118/0.1025, allocations: 0.7546 MB / 334.3 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004128/0.103, allocations: 170.6 kB / 334.5 MB, free: 14.06 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001815/0.1032, allocations: 104.8 kB / 334.6 MB, free: 13.95 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.1032, allocations: 3.938 kB / 334.6 MB, free: 13.95 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.563e-05/0.1032, allocations: 38.56 kB / 334.6 MB, free: 13.9 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.1032, allocations: 0 / 334.6 MB, free: 13.9 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004599/0.1037, allocations: 193.8 kB / 334.8 MB, free: 13.71 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.1037, allocations: 55.34 kB / 334.8 MB, free: 13.64 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001378/0.1039, allocations: 149.8 kB / 335 MB, free: 13.48 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/0.1039, allocations: 25.7 kB / 335 MB, free: 13.45 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.458e-05/0.104, allocations: 144.1 kB / 335.2 MB, free: 13.31 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.795e-05/0.104, allocations: 47.3 kB / 335.2 MB, free: 13.26 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.261e-05/0.1041, allocations: 21.7 kB / 335.2 MB, free: 13.23 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.1042, allocations: 322.8 kB / 335.5 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.1043, allocations: 55.97 kB / 335.6 MB, free: 12.86 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.1045, allocations: 77.62 kB / 335.7 MB, free: 12.77 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002558/0.1047, allocations: 125.7 kB / 335.8 MB, free: 12.64 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1047, allocations: 0 / 335.8 MB, free: 12.64 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000337/0.1051, allocations: 192.2 kB / 336 MB, free: 12.45 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1051, allocations: 4 kB / 336 MB, free: 12.45 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.1051, allocations: 3.938 kB / 336 MB, free: 12.45 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.1051, allocations: 4 kB / 336 MB, free: 12.44 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.1054, allocations: 35.98 kB / 336 MB, free: 12.41 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.1054, allocations: 4 kB / 336 MB, free: 12.4 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.1055, allocations: 27.92 kB / 336.1 MB, free: 12.38 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.1055, allocations: 7.938 kB / 336.1 MB, free: 12.37 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.0001046/0.1056, allocations: 125.8 kB / 336.2 MB, free: 12.23 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.1057, allocations: 15.81 kB / 336.2 MB, free: 12.22 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.036e-05/0.1057, allocations: 24.77 kB / 336.2 MB, free: 12.2 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1057, allocations: 0 / 336.2 MB, free: 12.2 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1057, allocations: 0 / 336.2 MB, free: 12.2 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.1058, allocations: 3.938 kB / 336.2 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000273/0.106, allocations: 265.5 kB / 336.5 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.106, allocations: 0 / 336.5 MB, free: 11.88 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002042/0.1063, allocations: 43.86 kB / 336.5 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.1063, allocations: 3.984 kB / 336.5 MB, free: 11.84 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.1063, allocations: 11.94 kB / 336.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.1063, allocations: 0 / 336.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1063, allocations: 0 / 336.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004796/0.1068, allocations: 307.3 kB / 336.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.891e-05/0.1069, allocations: 84.95 kB / 336.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.724e-05/0.1069, allocations: 11.97 kB / 336.9 MB, free: 11.39 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.107, allocations: 16 kB / 337 MB, free: 11.38 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.613e-05/0.1071, allocations: 7.984 kB / 337 MB, free: 11.37 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-06/0.1071, allocations: 4 kB / 337 MB, free: 11.37 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.148e-05/0.1072, allocations: 116 kB / 337.1 MB, free: 11.25 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1072, allocations: 0 / 337.1 MB, free: 11.25 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.1075, allocations: 43.91 kB / 337.1 MB, free: 11.21 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.0007111/0.1082, allocations: 0.8567 MB / 338 MB, free: 10.32 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0003065/0.1085, allocations: 132.6 kB / 338.1 MB, free: 10.2 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.1085, allocations: 4 kB / 338.1 MB, free: 10.19 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.1086, allocations: 67.91 kB / 338.2 MB, free: 10.12 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003555/0.109, allocations: 28.3 kB / 338.2 MB, free: 10.1 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002406/0.1114, allocations: 2.203 MB / 340.4 MB, free: 7.809 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.1117, allocations: 0.7243 MB / 341.1 MB, free: 7.059 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 7.041e-05/0.1118, allocations: 13.42 kB / 341.2 MB, free: 7.047 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.117e-05/0.1119, allocations: 51.36 kB / 341.2 MB, free: 6.996 MB / 286.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1119, allocations: 0 / 341.2 MB, free: 6.996 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01324/0.1251, allocations: 3.03 MB / 344.2 MB, free: 3.969 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001927/0.1254, allocations: 199.3 kB / 344.4 MB, free: 3.707 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.736/1.862, allocations: 0 / 344.4 MB, free: 3.707 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)