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.001471/0.001471, allocations: 118.2 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00136/0.00136, allocations: 206 kB / 18.74 MB, free: 4.312 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.477/1.477, allocations: 227.7 MB / 247.2 MB, free: 10.2 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.001919/0.00192, allocations: 59.89 kB / 358.5 MB, free: 13.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2908, allocations: 50.54 MB / 409.1 MB, free: 1.422 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003493/0.2943, allocations: 2.17 MB / 411.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001042/0.2954, allocations: 0.5688 MB / 411.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.829e-05/0.2955, allocations: 0 / 411.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001423/0.2957, allocations: 31.7 kB / 411.8 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.2959, allocations: 55.48 kB / 411.9 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001944/0.2961, allocations: 55.88 kB / 411.9 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002878/0.2964, allocations: 235 kB / 412.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000195/0.2966, allocations: 77.64 kB / 412.2 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.2967, allocations: 87.7 kB / 412.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001486/0.2969, allocations: 99.61 kB / 412.4 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.618e-05/0.2969, allocations: 20 kB / 412.4 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.087e-05/0.297, allocations: 20 kB / 412.5 MB, free: 14 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.913e-05/0.297, allocations: 47.84 kB / 412.5 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.2971, allocations: 103.6 kB / 412.6 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002946/0.2974, allocations: 238 kB / 412.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2974, allocations: 0 / 412.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2974, allocations: 0 / 412.8 MB, free: 13.62 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.2975, allocations: 0 / 412.8 MB, free: 13.62 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.0007781/0.2982, allocations: 494.6 kB / 413.3 MB, free: 13.09 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.2983, allocations: 12.03 kB / 413.3 MB, free: 13.08 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.892e-05/0.2984, allocations: 54.73 kB / 413.4 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.166e-05/0.2984, allocations: 28.73 kB / 413.4 MB, free: 12.99 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003379/0.2988, allocations: 228 kB / 413.6 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.2988, allocations: 12.38 kB / 413.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.982e-05/0.2988, allocations: 16.38 kB / 413.7 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003696/0.2992, allocations: 185.7 kB / 413.8 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.2992, allocations: 0 / 413.8 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/0.2993, allocations: 4 kB / 413.8 MB, free: 12.51 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.2993, allocations: 8 kB / 413.9 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003213/0.2996, allocations: 147.8 kB / 414 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001215/0.3008, allocations: 0.7354 MB / 414.7 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003986/0.3012, allocations: 150.6 kB / 414.9 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001881/0.3014, allocations: 100.8 kB / 415 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.3015, allocations: 0 / 415 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.3015, allocations: 38.56 kB / 415 MB, free: 11.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 4.659e-06/0.3015, allocations: 7.922 kB / 415 MB, free: 11.24 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004776/0.302, allocations: 185.7 kB / 415.2 MB, free: 11.05 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/0.302, allocations: 59.34 kB / 415.3 MB, free: 10.98 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.3022, allocations: 147.5 kB / 415.4 MB, free: 10.83 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.3022, allocations: 33.7 kB / 415.4 MB, free: 10.79 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.777e-05/0.3023, allocations: 144.2 kB / 415.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.984e-05/0.3024, allocations: 43.64 kB / 415.6 MB, free: 10.6 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.496e-05/0.3024, allocations: 33.7 kB / 415.7 MB, free: 10.56 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.3026, allocations: 322.8 kB / 416 MB, free: 10.24 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.3027, allocations: 55.86 kB / 416 MB, free: 10.18 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001499/0.3029, allocations: 73.69 kB / 416.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002636/0.3032, allocations: 128.9 kB / 416.2 MB, free: 9.977 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.3032, allocations: 4 kB / 416.2 MB, free: 9.973 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003419/0.3035, allocations: 173.4 kB / 416.4 MB, free: 9.797 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.3036, allocations: 4 kB / 416.4 MB, free: 9.793 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.3036, allocations: 11.97 kB / 416.4 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.3036, allocations: 0 / 416.4 MB, free: 9.781 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/0.3038, allocations: 39.98 kB / 416.5 MB, free: 9.742 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.3038, allocations: 0 / 416.5 MB, free: 9.742 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.304, allocations: 19.88 kB / 416.5 MB, free: 9.723 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.151e-05/0.304, allocations: 4 kB / 416.5 MB, free: 9.719 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.0001181/0.3041, allocations: 129.8 kB / 416.6 MB, free: 9.582 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.591e-05/0.3041, allocations: 11.91 kB / 416.6 MB, free: 9.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.533e-05/0.3042, allocations: 28.77 kB / 416.6 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3042, allocations: 0 / 416.6 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.3042, allocations: 0 / 416.6 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3042, allocations: 0 / 416.6 MB, free: 9.539 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003207/0.3045, allocations: 265.5 kB / 416.9 MB, free: 9.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.3045, allocations: 0 / 416.9 MB, free: 9.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000208/0.3048, allocations: 31.98 kB / 416.9 MB, free: 9.199 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.3048, allocations: 3.984 kB / 416.9 MB, free: 9.195 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.3048, allocations: 7.938 kB / 416.9 MB, free: 9.188 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.3048, allocations: 4 kB / 417 MB, free: 9.184 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3048, allocations: 4 kB / 417 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004947/0.3053, allocations: 303.3 kB / 417.3 MB, free: 8.867 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.871e-05/0.3054, allocations: 85.02 kB / 417.3 MB, free: 8.766 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.085e-05/0.3054, allocations: 15.97 kB / 417.3 MB, free: 8.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001438/0.3056, allocations: 12 kB / 417.4 MB, free: 8.738 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.3056, allocations: 7.984 kB / 417.4 MB, free: 8.73 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.3056, allocations: 4 kB / 417.4 MB, free: 8.727 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.679e-05/0.3057, allocations: 122.6 kB / 417.5 MB, free: 8.609 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.184e-06/0.3057, allocations: 0 / 417.5 MB, free: 8.609 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002703/0.306, allocations: 55.77 kB / 417.5 MB, free: 8.555 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.0008469/0.3069, allocations: 0.8392 MB / 418.4 MB, free: 7.695 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003122/0.3072, allocations: 123.9 kB / 418.5 MB, free: 7.574 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3072, allocations: 0 / 418.5 MB, free: 7.574 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001292/0.3073, allocations: 59.91 kB / 418.6 MB, free: 7.516 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003247/0.3077, allocations: 32.05 kB / 418.6 MB, free: 7.484 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002608/0.3103, allocations: 2.046 MB / 420.6 MB, free: 5.355 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003489/0.3107, allocations: 0.7201 MB / 421.4 MB, free: 4.609 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.629e-05/0.3107, allocations: 21.41 kB / 421.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.796e-05/0.3108, allocations: 51.42 kB / 421.4 MB, free: 4.539 MB / 334.1 MB Notification: Performance of SimCode: time 9.21e-07/0.3108, allocations: 0 / 421.4 MB, free: 4.539 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02853/0.3394, allocations: 3.399 MB / 424.8 MB, free: 1.254 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.02/8.359, allocations: 8.562 kB / 424.8 MB, free: 1.246 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Electrical_Analog_Examples_ChuaCircuit_fmu --startTime=0 --stopTime=50000 --timeout=50 --tolerance=1e-06 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)