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.00142/0.00142, allocations: 114.1 kB / 17.06 MB, free: 6.016 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.00141/0.00141, allocations: 189.4 kB / 18 MB, free: 5.098 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.423/1.423, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 51.91 kB / 350.8 MB, free: 3.785 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2918, allocations: 49.43 MB / 400.2 MB, free: 8.449 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.00358/0.2954, allocations: 2.138 MB / 402.4 MB, free: 6.703 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009713/0.2964, allocations: 0.5337 MB / 402.9 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.92e-05/0.2965, allocations: 4 kB / 402.9 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000145/0.2966, allocations: 31.7 kB / 402.9 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001079/0.2968, allocations: 55.48 kB / 403 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001931/0.297, allocations: 51.94 kB / 403.1 MB, free: 6.023 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002952/0.2973, allocations: 242.9 kB / 403.3 MB, free: 5.785 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/0.2975, allocations: 77.66 kB / 403.4 MB, free: 5.711 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.2976, allocations: 87.7 kB / 403.5 MB, free: 5.625 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.2978, allocations: 99.59 kB / 403.5 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.859e-05/0.2978, allocations: 20 kB / 403.6 MB, free: 5.508 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.923e-05/0.2978, allocations: 20 kB / 403.6 MB, free: 5.488 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.556e-05/0.2979, allocations: 43.91 kB / 403.6 MB, free: 5.445 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001201/0.298, allocations: 107.5 kB / 403.7 MB, free: 5.34 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002868/0.2983, allocations: 234 kB / 404 MB, free: 5.113 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2983, allocations: 0 / 404 MB, free: 5.113 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2983, allocations: 0 / 404 MB, free: 5.113 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.2983, allocations: 0 / 404 MB, free: 5.113 MB / 318.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.0008069/0.2992, allocations: 0.4947 MB / 404.5 MB, free: 4.57 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.2992, allocations: 12.03 kB / 404.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.664e-05/0.2993, allocations: 46.73 kB / 404.5 MB, free: 4.504 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.388e-05/0.2993, allocations: 28.8 kB / 404.5 MB, free: 4.477 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.2997, allocations: 220 kB / 404.8 MB, free: 4.223 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/0.2997, allocations: 16.36 kB / 404.8 MB, free: 4.207 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.109e-05/0.2998, allocations: 20.38 kB / 404.8 MB, free: 4.188 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003711/0.3002, allocations: 181.7 kB / 405 MB, free: 4.004 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.3002, allocations: 4 kB / 405 MB, free: 4 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.3002, allocations: 4 kB / 405 MB, free: 3.996 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.176e-06/0.3002, allocations: 4 kB / 405 MB, free: 3.992 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003288/0.3006, allocations: 147.8 kB / 405.1 MB, free: 3.848 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001235/0.3018, allocations: 0.7547 MB / 405.9 MB, free: 3.023 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004012/0.3022, allocations: 154.6 kB / 406 MB, free: 2.863 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001922/0.3024, allocations: 100.8 kB / 406.1 MB, free: 2.762 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.3024, allocations: 0 / 406.1 MB, free: 2.762 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.3025, allocations: 34.56 kB / 406.2 MB, free: 2.719 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.3025, allocations: 0 / 406.2 MB, free: 2.719 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004729/0.303, allocations: 184.4 kB / 406.3 MB, free: 2.535 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.303, allocations: 63.34 kB / 406.4 MB, free: 2.461 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.3032, allocations: 145.6 kB / 406.6 MB, free: 2.312 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.3032, allocations: 29.7 kB / 406.6 MB, free: 2.277 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.3033, allocations: 140.2 kB / 406.7 MB, free: 2.137 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.205e-05/0.3034, allocations: 47.59 kB / 406.8 MB, free: 2.09 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.929e-05/0.3034, allocations: 33.7 kB / 406.8 MB, free: 2.051 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.3036, allocations: 326.8 kB / 407.1 MB, free: 1.723 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.3037, allocations: 51.97 kB / 407.2 MB, free: 1.672 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.3039, allocations: 72.27 kB / 407.2 MB, free: 1.598 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002545/0.3041, allocations: 128.2 kB / 407.4 MB, free: 1.469 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3041, allocations: 0 / 407.4 MB, free: 1.469 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003498/0.3045, allocations: 185.4 kB / 407.5 MB, free: 1.281 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.3045, allocations: 4 kB / 407.5 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.3045, allocations: 7.938 kB / 407.6 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.3046, allocations: 0 / 407.6 MB, free: 1.27 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/0.3048, allocations: 35.98 kB / 407.6 MB, free: 1.234 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.3048, allocations: 3.938 kB / 407.6 MB, free: 1.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.3049, allocations: 23.88 kB / 407.6 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.3049, allocations: 4 kB / 407.6 MB, free: 1.203 MB / 318.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.0001146/0.3051, allocations: 125.8 kB / 407.7 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.3051, allocations: 11.95 kB / 407.8 MB, free: 1.059 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.46e-05/0.3052, allocations: 28.77 kB / 407.8 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.3052, allocations: 0 / 407.8 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.3052, allocations: 0 / 407.8 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.3052, allocations: 0 / 407.8 MB, free: 1.027 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003267/0.3055, allocations: 265.5 kB / 408 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3055, allocations: 0 / 408 MB, free: 0.7188 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000205/0.3057, allocations: 39.98 kB / 408.1 MB, free: 0.6797 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.3057, allocations: 3.984 kB / 408.1 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.705e-05/0.3058, allocations: 11.94 kB / 408.1 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3058, allocations: 0 / 408.1 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.207e-06/0.3058, allocations: 3.984 kB / 408.1 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004908/0.3063, allocations: 299.3 kB / 408.4 MB, free: 360 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.09e-05/0.3064, allocations: 89.06 kB / 408.5 MB, free: 252 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.3064, allocations: 11.97 kB / 408.5 MB, free: 240 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/0.3065, allocations: 16 kB / 408.5 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.3066, allocations: 7.984 kB / 408.5 MB, free: 216 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-06/0.3066, allocations: 0 / 408.5 MB, free: 216 kB / 318.1 MB Notification: Performance of sorting global known variables: time 9.35e-05/0.3067, allocations: 115.2 kB / 408.6 MB, free: 100 kB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3067, allocations: 0 / 408.6 MB, free: 100 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002684/0.307, allocations: 47.89 kB / 408.7 MB, free: 52 kB / 318.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.0008397/0.3078, allocations: 0.8457 MB / 409.5 MB, free: 15.18 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003213/0.3082, allocations: 125.8 kB / 409.6 MB, free: 15.06 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.3082, allocations: 0 / 409.6 MB, free: 15.06 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.3083, allocations: 71.97 kB / 409.7 MB, free: 14.99 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/0.3086, allocations: 23.98 kB / 409.7 MB, free: 14.97 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002631/0.3113, allocations: 2.058 MB / 411.8 MB, free: 12.82 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003818/0.3117, allocations: 0.7277 MB / 412.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.819e-05/0.3118, allocations: 17.42 kB / 412.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.098e-05/0.3119, allocations: 43.42 kB / 412.6 MB, free: 12.01 MB / 334.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3119, allocations: 0 / 412.6 MB, free: 12.01 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02554/0.3374, allocations: 3.387 MB / 416 MB, free: 8.715 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.95/8.288, allocations: 15.42 kB / 416 MB, free: 8.707 MB / 334.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)