Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_trunk_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.0007896/0.0007895, allocations: 93.84 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008312/0.0008312, allocations: 203.8 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.202/1.202, allocations: 227.7 MB / 246.8 MB, free: 9.617 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001979/0.0001979, allocations: 4 kB / 307.8 MB, free: 0.5078 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.091/0.09121, allocations: 51.53 MB / 359.4 MB, free: 12.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.001978/0.09323, allocations: 1.848 MB / 361.2 MB, free: 11.12 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000838/0.09408, allocations: 0.5534 MB / 361.8 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.786e-05/0.09418, allocations: 4 kB / 361.8 MB, free: 10.56 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.0943, allocations: 27.78 kB / 361.8 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.09442, allocations: 47.61 kB / 361.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001558/0.09458, allocations: 51.89 kB / 361.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002286/0.09482, allocations: 219.1 kB / 362.1 MB, free: 10.22 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.09497, allocations: 70.06 kB / 362.2 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.471e-05/0.09506, allocations: 75.66 kB / 362.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.09519, allocations: 87.61 kB / 362.3 MB, free: 9.988 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.758e-05/0.09522, allocations: 12 kB / 362.3 MB, free: 9.977 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.809e-05/0.09526, allocations: 12 kB / 362.4 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 3.907e-05/0.0953, allocations: 35.83 kB / 362.4 MB, free: 9.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001107/0.09542, allocations: 113.3 kB / 362.5 MB, free: 9.812 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002089/0.09563, allocations: 211.5 kB / 362.7 MB, free: 9.605 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.09564, allocations: 0 / 362.7 MB, free: 9.605 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.14e-05/0.09566, allocations: 4 kB / 362.7 MB, free: 9.602 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.09567, allocations: 0 / 362.7 MB, free: 9.602 MB / 302.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.0005924/0.09627, allocations: 482.7 kB / 363.2 MB, free: 9.082 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.09631, allocations: 8.031 kB / 363.2 MB, free: 9.074 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.331e-05/0.09637, allocations: 54.73 kB / 363.2 MB, free: 9.012 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.288e-05/0.09642, allocations: 20.75 kB / 363.3 MB, free: 8.992 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.09664, allocations: 220 kB / 363.5 MB, free: 8.738 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.09667, allocations: 16.31 kB / 363.5 MB, free: 8.723 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.385e-05/0.0967, allocations: 20.31 kB / 363.5 MB, free: 8.703 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003421/0.09705, allocations: 185.7 kB / 363.7 MB, free: 8.516 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.09707, allocations: 4 kB / 363.7 MB, free: 8.512 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.208e-05/0.0971, allocations: 8 kB / 363.7 MB, free: 8.504 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.09711, allocations: 8 kB / 363.7 MB, free: 8.496 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003133/0.09743, allocations: 151.9 kB / 363.9 MB, free: 8.348 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.09855, allocations: 0.7468 MB / 364.6 MB, free: 7.531 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003896/0.09895, allocations: 178.5 kB / 364.8 MB, free: 7.348 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.09914, allocations: 104.8 kB / 364.9 MB, free: 7.242 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.04e-05/0.09916, allocations: 4 kB / 364.9 MB, free: 7.238 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.358e-05/0.09919, allocations: 34.56 kB / 364.9 MB, free: 7.195 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.183e-06/0.0992, allocations: 0 / 364.9 MB, free: 7.195 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004421/0.09964, allocations: 197.8 kB / 365.1 MB, free: 6.996 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.09969, allocations: 59.28 kB / 365.2 MB, free: 6.926 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.09981, allocations: 151.9 kB / 365.3 MB, free: 6.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.09984, allocations: 25.7 kB / 365.3 MB, free: 6.738 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.307e-05/0.09991, allocations: 140.1 kB / 365.5 MB, free: 6.598 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.564e-05/0.09997, allocations: 51.3 kB / 365.5 MB, free: 6.547 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/0.1, allocations: 21.7 kB / 365.6 MB, free: 6.52 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.1001, allocations: 322.8 kB / 365.9 MB, free: 6.195 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.1002, allocations: 55.97 kB / 365.9 MB, free: 6.141 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.1004, allocations: 73.69 kB / 366 MB, free: 6.062 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.1006, allocations: 132.6 kB / 366.1 MB, free: 5.93 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1006, allocations: 0 / 366.1 MB, free: 5.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003237/0.101, allocations: 189.4 kB / 366.3 MB, free: 5.738 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.101, allocations: 8.031 kB / 366.3 MB, free: 5.73 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.101, allocations: 3.938 kB / 366.3 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.101, allocations: 0 / 366.3 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002024/0.1012, allocations: 47.91 kB / 366.4 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1013, allocations: 0 / 366.4 MB, free: 5.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.911e-05/0.1014, allocations: 15.91 kB / 366.4 MB, free: 5.664 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.1014, allocations: 4 kB / 366.4 MB, free: 5.66 MB / 302.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.0001013/0.1015, allocations: 138.8 kB / 366.5 MB, free: 5.516 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.752e-05/0.1015, allocations: 19.8 kB / 366.5 MB, free: 5.496 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.683e-05/0.1016, allocations: 24.7 kB / 366.6 MB, free: 5.473 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1016, allocations: 4 kB / 366.6 MB, free: 5.469 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1016, allocations: 0 / 366.6 MB, free: 5.469 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.1016, allocations: 0 / 366.6 MB, free: 5.469 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002676/0.1019, allocations: 261.5 kB / 366.8 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1019, allocations: 0 / 366.8 MB, free: 5.164 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/0.1021, allocations: 43.91 kB / 366.9 MB, free: 5.121 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1021, allocations: 4 kB / 366.9 MB, free: 5.117 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.1021, allocations: 7.938 kB / 366.9 MB, free: 5.109 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1021, allocations: 0 / 366.9 MB, free: 5.109 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1021, allocations: 0 / 366.9 MB, free: 5.109 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004309/0.1025, allocations: 314.9 kB / 367.2 MB, free: 4.789 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.932e-05/0.1026, allocations: 92.98 kB / 367.3 MB, free: 4.68 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.1026, allocations: 3.938 kB / 367.3 MB, free: 4.676 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.1028, allocations: 16 kB / 367.3 MB, free: 4.66 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.1028, allocations: 11.92 kB / 367.3 MB, free: 4.648 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.1028, allocations: 8 kB / 367.3 MB, free: 4.641 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.213e-05/0.1029, allocations: 122.8 kB / 367.4 MB, free: 4.523 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1029, allocations: 0 / 367.4 MB, free: 4.523 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002503/0.1032, allocations: 43.91 kB / 367.5 MB, free: 4.48 MB / 302.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.0006579/0.1038, allocations: 0.8519 MB / 368.3 MB, free: 3.602 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002717/0.1041, allocations: 131.9 kB / 368.5 MB, free: 3.473 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1041, allocations: 4.062 kB / 368.5 MB, free: 3.469 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.1043, allocations: 67.91 kB / 368.5 MB, free: 3.402 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.1046, allocations: 27.97 kB / 368.6 MB, free: 3.375 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/0.1069, allocations: 2.19 MB / 370.8 MB, free: 1.094 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.1072, allocations: 0.7243 MB / 371.5 MB, free: 352 kB / 302.1 MB Notification: Performance of simCode: alias equations: time 6.268e-05/0.1072, allocations: 17.41 kB / 371.5 MB, free: 336 kB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.271e-05/0.1073, allocations: 51.42 kB / 371.5 MB, free: 284 kB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1073, allocations: 0 / 371.5 MB, free: 284 kB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1456/0.2529, allocations: 3.014 MB / 374.6 MB, free: 18.12 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000131/0.2531, allocations: 194.8 kB / 374.7 MB, free: 17.87 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.66/1.913, allocations: 0 / 374.7 MB, free: 17.87 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_ChuaCircuit_fmu --startTime=0 --stopTime=50000 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_ChuaCircuit.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1)