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.001159/0.001159, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001239/0.001239, allocations: 210.4 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.556/1.556, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002067, allocations: 60.19 kB / 307.1 MB, free: 0.5117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1345, allocations: 50.53 MB / 357.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003916/0.1384, allocations: 2.145 MB / 359.7 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.1398, allocations: 0.5767 MB / 360.3 MB, free: 11.23 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001868/0.14, allocations: 7.938 kB / 360.3 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001745/0.1402, allocations: 27.72 kB / 360.3 MB, free: 11.2 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001859/0.1404, allocations: 63.42 kB / 360.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002282/0.1407, allocations: 51.92 kB / 360.5 MB, free: 11.08 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003089/0.141, allocations: 227.1 kB / 360.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002013/0.1412, allocations: 85.62 kB / 360.8 MB, free: 10.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.1414, allocations: 87.66 kB / 360.8 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001615/0.1415, allocations: 91.61 kB / 360.9 MB, free: 10.6 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.489e-05/0.1416, allocations: 28 kB / 361 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.557e-05/0.1416, allocations: 20 kB / 361 MB, free: 10.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.036e-05/0.1417, allocations: 47.83 kB / 361 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001111/0.1418, allocations: 99.58 kB / 361.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000251/0.1421, allocations: 231.5 kB / 361.4 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1421, allocations: 0 / 361.4 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1421, allocations: 0 / 361.4 MB, free: 10.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.1421, allocations: 0 / 361.4 MB, free: 10.18 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.0007894/0.1429, allocations: 498.7 kB / 361.8 MB, free: 9.645 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.1429, allocations: 12.03 kB / 361.9 MB, free: 9.633 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.659e-05/0.143, allocations: 58.67 kB / 361.9 MB, free: 9.566 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.146e-05/0.1431, allocations: 24.73 kB / 361.9 MB, free: 9.543 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.1433, allocations: 218.3 kB / 362.1 MB, free: 9.293 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.1434, allocations: 12.38 kB / 362.2 MB, free: 9.281 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.492e-05/0.1434, allocations: 20.28 kB / 362.2 MB, free: 9.262 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003671/0.1438, allocations: 193.6 kB / 362.4 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.1438, allocations: 0 / 362.4 MB, free: 9.066 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.1438, allocations: 4 kB / 362.4 MB, free: 9.062 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.1438, allocations: 4 kB / 362.4 MB, free: 9.059 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003137/0.1441, allocations: 143.9 kB / 362.5 MB, free: 8.918 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001246/0.1454, allocations: 0.7429 MB / 363.3 MB, free: 8.105 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003922/0.1458, allocations: 166.4 kB / 363.4 MB, free: 7.934 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001757/0.146, allocations: 97.06 kB / 363.5 MB, free: 7.836 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.146, allocations: 4 kB / 363.5 MB, free: 7.832 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.1461, allocations: 38.56 kB / 363.6 MB, free: 7.785 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.1461, allocations: 0 / 363.6 MB, free: 7.785 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004638/0.1465, allocations: 177.5 kB / 363.7 MB, free: 7.605 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.1466, allocations: 55.34 kB / 363.8 MB, free: 7.539 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.1467, allocations: 157.2 kB / 363.9 MB, free: 7.379 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.317e-05/0.1468, allocations: 25.7 kB / 364 MB, free: 7.348 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/0.1469, allocations: 132.2 kB / 364.1 MB, free: 7.215 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.355e-05/0.1469, allocations: 59.14 kB / 364.2 MB, free: 7.156 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.191e-05/0.147, allocations: 29.7 kB / 364.2 MB, free: 7.121 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1471, allocations: 330.8 kB / 364.5 MB, free: 6.789 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001316/0.1473, allocations: 51.97 kB / 364.6 MB, free: 6.738 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001402/0.1474, allocations: 72.09 kB / 364.6 MB, free: 6.664 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002656/0.1477, allocations: 117.7 kB / 364.7 MB, free: 6.543 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.1477, allocations: 0 / 364.7 MB, free: 6.543 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003568/0.1481, allocations: 180.4 kB / 364.9 MB, free: 6.363 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.1481, allocations: 8.031 kB / 364.9 MB, free: 6.355 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.1481, allocations: 3.938 kB / 364.9 MB, free: 6.352 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.1482, allocations: 0 / 364.9 MB, free: 6.352 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.1484, allocations: 47.92 kB / 365 MB, free: 6.305 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.1484, allocations: 0 / 365 MB, free: 6.305 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.1485, allocations: 11.89 kB / 365 MB, free: 6.293 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.552e-05/0.1486, allocations: 8 kB / 365 MB, free: 6.285 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.0001254/0.1487, allocations: 130.8 kB / 365.1 MB, free: 6.148 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.39e-05/0.1487, allocations: 19.81 kB / 365.1 MB, free: 6.129 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.525e-05/0.1488, allocations: 20.77 kB / 365.2 MB, free: 6.109 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.1488, allocations: 4 kB / 365.2 MB, free: 6.105 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1488, allocations: 0 / 365.2 MB, free: 6.105 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.1488, allocations: 0 / 365.2 MB, free: 6.105 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003306/0.1492, allocations: 261.5 kB / 365.4 MB, free: 5.801 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1492, allocations: 0 / 365.4 MB, free: 5.801 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002373/0.1494, allocations: 43.92 kB / 365.5 MB, free: 5.758 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.997e-06/0.1494, allocations: 7.984 kB / 365.5 MB, free: 5.75 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.1495, allocations: 3.938 kB / 365.5 MB, free: 5.746 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1495, allocations: 4 kB / 365.5 MB, free: 5.742 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1495, allocations: 0 / 365.5 MB, free: 5.742 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004914/0.15, allocations: 298.9 kB / 365.8 MB, free: 5.438 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.572e-05/0.1501, allocations: 88.95 kB / 365.9 MB, free: 5.332 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.1501, allocations: 15.91 kB / 365.9 MB, free: 5.316 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.1502, allocations: 12 kB / 365.9 MB, free: 5.305 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.833e-05/0.1503, allocations: 11.98 kB / 365.9 MB, free: 5.293 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.077e-05/0.1503, allocations: 4 kB / 365.9 MB, free: 5.289 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001032/0.1504, allocations: 119.2 kB / 366 MB, free: 5.172 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1504, allocations: 3.938 kB / 366 MB, free: 5.168 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002866/0.1507, allocations: 43.91 kB / 366.1 MB, free: 5.125 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.0008005/0.1515, allocations: 0.8372 MB / 366.9 MB, free: 4.258 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003291/0.1519, allocations: 131.8 kB / 367 MB, free: 4.129 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.1519, allocations: 0 / 367 MB, free: 4.129 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000124/0.152, allocations: 59.97 kB / 367.1 MB, free: 4.07 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004188/0.1524, allocations: 28.05 kB / 367.1 MB, free: 4.043 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00252/0.155, allocations: 2.036 MB / 369.2 MB, free: 1.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/0.1553, allocations: 0.7201 MB / 369.9 MB, free: 1.164 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.245e-05/0.1553, allocations: 17.42 kB / 369.9 MB, free: 1.145 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.786e-05/0.1554, allocations: 47.42 kB / 369.9 MB, free: 1.102 MB / 302.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1554, allocations: 4 kB / 369.9 MB, free: 1.098 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1929/0.3483, allocations: 3.319 MB / 373.3 MB, free: 20.15 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.395/7.743, allocations: 6.469 kB / 373.3 MB, free: 20.15 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)