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.00163/0.00163, allocations: 107.1 kB / 17.33 MB, free: 6.02 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001997/0.001997, allocations: 205.8 kB / 18.26 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.597/1.597, allocations: 227.4 MB / 246.4 MB, free: 10.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 67.73 kB / 306.6 MB, free: 0.8281 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1316, allocations: 50.53 MB / 357.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.005188/0.1368, allocations: 2.213 MB / 359.3 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001555/0.1384, allocations: 0.5611 MB / 359.9 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000213/0.1387, allocations: 7.938 kB / 359.9 MB, free: 11.5 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001907/0.1389, allocations: 23.83 kB / 359.9 MB, free: 11.48 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000198/0.1392, allocations: 43.62 kB / 359.9 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002591/0.1394, allocations: 43.95 kB / 360 MB, free: 11.39 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004113/0.1398, allocations: 235 kB / 360.2 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002228/0.1401, allocations: 81.64 kB / 360.3 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.1403, allocations: 87.7 kB / 360.4 MB, free: 10.99 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001866/0.1405, allocations: 99.59 kB / 360.5 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.849e-05/0.1405, allocations: 24 kB / 360.5 MB, free: 10.87 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.75e-05/0.1406, allocations: 20 kB / 360.5 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.491e-05/0.1406, allocations: 47.84 kB / 360.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001239/0.1408, allocations: 99.59 kB / 360.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002743/0.141, allocations: 231.5 kB / 360.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1411, allocations: 0 / 360.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1411, allocations: 0 / 360.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.1411, allocations: 0 / 360.9 MB, free: 10.48 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.0009108/0.142, allocations: 0.5025 MB / 361.4 MB, free: 9.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.142, allocations: 8.031 kB / 361.4 MB, free: 9.922 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.128e-05/0.1421, allocations: 54.73 kB / 361.4 MB, free: 9.859 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.718e-05/0.1422, allocations: 16.75 kB / 361.5 MB, free: 9.844 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002921/0.1425, allocations: 224 kB / 361.7 MB, free: 9.586 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.1425, allocations: 12.38 kB / 361.7 MB, free: 9.574 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001094/0.1426, allocations: 28.28 kB / 361.7 MB, free: 9.547 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004038/0.143, allocations: 177.7 kB / 361.9 MB, free: 9.367 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.1431, allocations: 0 / 361.9 MB, free: 9.367 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.64e-05/0.1431, allocations: 8 kB / 361.9 MB, free: 9.359 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.1431, allocations: 7.984 kB / 361.9 MB, free: 9.352 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004049/0.1435, allocations: 139.9 kB / 362 MB, free: 9.215 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001391/0.1449, allocations: 0.7468 MB / 362.8 MB, free: 8.398 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004024/0.1453, allocations: 154.5 kB / 362.9 MB, free: 8.238 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.1456, allocations: 100.8 kB / 363 MB, free: 8.137 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.1456, allocations: 0 / 363 MB, free: 8.137 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.372e-05/0.1456, allocations: 38.5 kB / 363.1 MB, free: 8.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 3.467e-06/0.1456, allocations: 3.984 kB / 363.1 MB, free: 8.086 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005159/0.1462, allocations: 185.2 kB / 363.3 MB, free: 7.902 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.831e-05/0.1462, allocations: 63.34 kB / 363.3 MB, free: 7.828 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.1464, allocations: 152.6 kB / 363.5 MB, free: 7.672 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.235e-05/0.1465, allocations: 29.7 kB / 363.5 MB, free: 7.637 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.1466, allocations: 132.2 kB / 363.6 MB, free: 7.504 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.973e-05/0.1466, allocations: 55.14 kB / 363.7 MB, free: 7.449 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.803e-05/0.1467, allocations: 29.72 kB / 363.7 MB, free: 7.414 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.1469, allocations: 326.8 kB / 364 MB, free: 7.086 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001424/0.147, allocations: 47.97 kB / 364.1 MB, free: 7.039 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.1472, allocations: 73.69 kB / 364.2 MB, free: 6.961 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002505/0.1475, allocations: 121.7 kB / 364.3 MB, free: 6.836 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.1475, allocations: 0 / 364.3 MB, free: 6.836 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003709/0.1478, allocations: 176.2 kB / 364.4 MB, free: 6.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.1479, allocations: 4.031 kB / 364.4 MB, free: 6.656 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.1479, allocations: 11.94 kB / 364.5 MB, free: 6.645 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.1479, allocations: 0 / 364.5 MB, free: 6.645 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/0.1482, allocations: 43.91 kB / 364.5 MB, free: 6.602 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.1482, allocations: 0 / 364.5 MB, free: 6.602 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/0.1483, allocations: 15.91 kB / 364.5 MB, free: 6.586 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.227e-05/0.1483, allocations: 4 kB / 364.5 MB, free: 6.582 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.0001279/0.1485, allocations: 134.8 kB / 364.7 MB, free: 6.441 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.085e-05/0.1485, allocations: 11.81 kB / 364.7 MB, free: 6.43 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.457e-05/0.1486, allocations: 28.78 kB / 364.7 MB, free: 6.402 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.1486, allocations: 0 / 364.7 MB, free: 6.402 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.1486, allocations: 3.938 kB / 364.7 MB, free: 6.398 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.1486, allocations: 0 / 364.7 MB, free: 6.398 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003135/0.1489, allocations: 257.5 kB / 364.9 MB, free: 6.098 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.1489, allocations: 4 kB / 365 MB, free: 6.094 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000233/0.1492, allocations: 39.97 kB / 365 MB, free: 6.055 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1492, allocations: 0 / 365 MB, free: 6.055 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.1492, allocations: 3.938 kB / 365 MB, free: 6.051 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.586e-06/0.1492, allocations: 4 kB / 365 MB, free: 6.047 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.1492, allocations: 8 kB / 365 MB, free: 6.039 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005031/0.1497, allocations: 303.3 kB / 365.3 MB, free: 5.727 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.611e-05/0.1498, allocations: 88.95 kB / 365.4 MB, free: 5.621 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.53e-05/0.1498, allocations: 7.938 kB / 365.4 MB, free: 5.613 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001496/0.15, allocations: 15.98 kB / 365.4 MB, free: 5.598 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.124e-05/0.1501, allocations: 11.98 kB / 365.4 MB, free: 5.586 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.607e-06/0.1501, allocations: 3.938 kB / 365.4 MB, free: 5.582 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001023/0.1502, allocations: 118.6 kB / 365.5 MB, free: 5.469 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1502, allocations: 3.938 kB / 365.5 MB, free: 5.465 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002912/0.1505, allocations: 43.91 kB / 365.6 MB, free: 5.422 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.0008293/0.1513, allocations: 0.841 MB / 366.4 MB, free: 4.551 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003269/0.1517, allocations: 123.9 kB / 366.6 MB, free: 4.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.1517, allocations: 0 / 366.6 MB, free: 4.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.1518, allocations: 67.91 kB / 366.6 MB, free: 4.363 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.1522, allocations: 28.05 kB / 366.6 MB, free: 4.336 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002824/0.1551, allocations: 2.104 MB / 368.8 MB, free: 2.141 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003143/0.1554, allocations: 0.724 MB / 369.5 MB, free: 1.391 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.851e-05/0.1555, allocations: 9.422 kB / 369.5 MB, free: 1.379 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.697e-05/0.1556, allocations: 55.41 kB / 369.5 MB, free: 1.328 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1556, allocations: 0 / 369.5 MB, free: 1.328 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1908/0.3464, allocations: 3.19 MB / 372.7 MB, free: 20.35 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001394/0.3466, allocations: 204.5 kB / 372.9 MB, free: 20.1 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.068/2.415, allocations: 2.531 kB / 372.9 MB, free: 20.1 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)