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.001182/0.001188, allocations: 107.4 kB / 17.15 MB, free: 6.328 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.001171/0.001172, allocations: 198 kB / 18.07 MB, free: 5.434 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.341/1.341, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.001134/0.001134, allocations: 59.91 kB / 280.1 MB, free: 3.504 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08647/0.08762, allocations: 46.63 MB / 326.7 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003/0.09067, allocations: 2.182 MB / 328.9 MB, free: 2.602 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007952/0.09148, allocations: 0.558 MB / 329.4 MB, free: 2.035 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.435e-05/0.09158, allocations: 0 / 329.4 MB, free: 2.035 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001175/0.09172, allocations: 23.83 kB / 329.5 MB, free: 2.012 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.33e-05/0.09182, allocations: 55.61 kB / 329.5 MB, free: 1.957 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001649/0.09199, allocations: 47.89 kB / 329.6 MB, free: 1.91 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.0922, allocations: 219 kB / 329.8 MB, free: 1.695 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.09236, allocations: 62.09 kB / 329.8 MB, free: 1.633 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.116e-05/0.09246, allocations: 79.77 kB / 329.9 MB, free: 1.555 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000109/0.09258, allocations: 95.55 kB / 330 MB, free: 1.461 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.119e-05/0.09261, allocations: 16 kB / 330 MB, free: 1.445 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.26e-05/0.09265, allocations: 16 kB / 330 MB, free: 1.43 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.1e-05/0.0927, allocations: 43.83 kB / 330.1 MB, free: 1.387 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.772e-05/0.09279, allocations: 99.52 kB / 330.2 MB, free: 1.289 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002/0.093, allocations: 223.5 kB / 330.4 MB, free: 1.07 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.09301, allocations: 0 / 330.4 MB, free: 1.07 MB / 270.1 MB Notification: Performance of FrontEnd: time 8.02e-07/0.09301, allocations: 0 / 330.4 MB, free: 1.07 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.09302, allocations: 0 / 330.4 MB, free: 1.07 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.0006793/0.09371, allocations: 0.491 MB / 330.9 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.09375, allocations: 8.031 kB / 330.9 MB, free: 0.5234 MB / 270.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.154e-05/0.09381, allocations: 54.73 kB / 331 MB, free: 472 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.635e-05/0.09387, allocations: 24.66 kB / 331 MB, free: 448 kB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.09407, allocations: 216 kB / 331.2 MB, free: 192 kB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.0941, allocations: 16.38 kB / 331.2 MB, free: 176 kB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.226e-05/0.09416, allocations: 16.38 kB / 331.2 MB, free: 160 kB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000351/0.09452, allocations: 185.6 kB / 331.4 MB, free: 15.97 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.09454, allocations: 4 kB / 331.4 MB, free: 15.96 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.09457, allocations: 12 kB / 331.4 MB, free: 15.95 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.09458, allocations: 4 kB / 331.4 MB, free: 15.95 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002908/0.09488, allocations: 139.9 kB / 331.6 MB, free: 15.81 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.09599, allocations: 0.7507 MB / 332.3 MB, free: 14.99 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000378/0.09638, allocations: 158.5 kB / 332.5 MB, free: 14.83 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.09657, allocations: 96.7 kB / 332.6 MB, free: 14.73 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.09659, allocations: 8 kB / 332.6 MB, free: 14.72 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.09663, allocations: 34.55 kB / 332.6 MB, free: 14.68 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.09664, allocations: 0 / 332.6 MB, free: 14.68 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.000429/0.09707, allocations: 186.1 kB / 332.8 MB, free: 14.49 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.09712, allocations: 55.34 kB / 332.8 MB, free: 14.43 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.09724, allocations: 149.8 kB / 333 MB, free: 14.27 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.09727, allocations: 33.7 kB / 333 MB, free: 14.23 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.068e-05/0.09735, allocations: 132.2 kB / 333.1 MB, free: 14.1 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.434e-05/0.09739, allocations: 43.3 kB / 333.2 MB, free: 14.05 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.798e-05/0.09745, allocations: 41.61 kB / 333.2 MB, free: 14.01 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.23e-05/0.09755, allocations: 322.8 kB / 333.5 MB, free: 13.68 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.09767, allocations: 51.92 kB / 333.6 MB, free: 13.63 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001306/0.09781, allocations: 81.62 kB / 333.7 MB, free: 13.55 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.09805, allocations: 116.8 kB / 333.8 MB, free: 13.43 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.09806, allocations: 0 / 333.8 MB, free: 13.43 MB / 286.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003258/0.09839, allocations: 173.4 kB / 334 MB, free: 13.25 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.09841, allocations: 8 kB / 334 MB, free: 13.25 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.09842, allocations: 3.938 kB / 334 MB, free: 13.24 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.09844, allocations: 8.016 kB / 334 MB, free: 13.23 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/0.09866, allocations: 35.98 kB / 334 MB, free: 13.2 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.09867, allocations: 4 kB / 334 MB, free: 13.2 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.862e-05/0.09878, allocations: 19.83 kB / 334 MB, free: 13.18 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.117e-05/0.09879, allocations: 4 kB / 334 MB, free: 13.17 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 9.832e-05/0.0989, allocations: 129.8 kB / 334.2 MB, free: 13.04 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.581e-05/0.09894, allocations: 7.906 kB / 334.2 MB, free: 13.03 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.791e-05/0.09899, allocations: 28.72 kB / 334.2 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.09899, allocations: 0 / 334.2 MB, free: 13 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.09901, allocations: 7.984 kB / 334.2 MB, free: 12.99 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.09901, allocations: 0 / 334.2 MB, free: 12.99 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002783/0.0993, allocations: 265.5 kB / 334.5 MB, free: 12.68 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.09931, allocations: 0 / 334.5 MB, free: 12.68 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002105/0.09952, allocations: 39.86 kB / 334.5 MB, free: 12.64 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.09953, allocations: 0 / 334.5 MB, free: 12.64 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.7e-05/0.09956, allocations: 11.94 kB / 334.5 MB, free: 12.63 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.09956, allocations: 3.984 kB / 334.5 MB, free: 12.63 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.09957, allocations: 4 kB / 334.5 MB, free: 12.62 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004448/0.1, allocations: 299.5 kB / 334.8 MB, free: 12.32 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.973e-05/0.1001, allocations: 92.86 kB / 334.9 MB, free: 12.21 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.1001, allocations: 3.938 kB / 334.9 MB, free: 12.2 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.1003, allocations: 16.03 kB / 334.9 MB, free: 12.19 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.118e-05/0.1003, allocations: 11.98 kB / 334.9 MB, free: 12.18 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.487e-06/0.1003, allocations: 4 kB / 334.9 MB, free: 12.17 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.084e-05/0.1004, allocations: 115.2 kB / 335.1 MB, free: 12.06 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1004, allocations: 0 / 335.1 MB, free: 12.06 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002651/0.1007, allocations: 43.91 kB / 335.1 MB, free: 12.02 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.0007013/0.1014, allocations: 0.8333 MB / 335.9 MB, free: 11.15 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002769/0.1017, allocations: 131.8 kB / 336.1 MB, free: 11.02 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1017, allocations: 0 / 336.1 MB, free: 11.02 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001232/0.1018, allocations: 63.91 kB / 336.1 MB, free: 10.96 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003783/0.1022, allocations: 29.03 kB / 336.1 MB, free: 10.93 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/0.1046, allocations: 2.111 MB / 338.3 MB, free: 8.734 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/0.1048, allocations: 0.7243 MB / 339 MB, free: 7.984 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 6.978e-05/0.1049, allocations: 13.42 kB / 339 MB, free: 7.973 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.741e-05/0.105, allocations: 47.42 kB / 339 MB, free: 7.926 MB / 286.1 MB Notification: Performance of SimCode: time 2.51e-07/0.105, allocations: 0 / 339 MB, free: 7.926 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01305/0.1181, allocations: 3.106 MB / 342.1 MB, free: 4.789 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002018/0.1183, allocations: 211.9 kB / 342.4 MB, free: 4.516 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/1.869, allocations: 0 / 342.4 MB, free: 4.516 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)