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.001377/0.001377, allocations: 111.1 kB / 16.51 MB, free: 6.707 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.00124/0.00124, allocations: 191.3 kB / 17.43 MB, free: 6.066 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.574/1.574, allocations: 222.9 MB / 241.1 MB, free: 13.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001075/0.001075, allocations: 47.8 kB / 300.1 MB, free: 6 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1383, allocations: 49.45 MB / 349.5 MB, free: 4.539 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.004585/0.143, allocations: 2.19 MB / 351.7 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001204/0.1442, allocations: 0.5221 MB / 352.2 MB, free: 1.805 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001915/0.1444, allocations: 4 kB / 352.2 MB, free: 1.801 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000204/0.1447, allocations: 23.84 kB / 352.2 MB, free: 1.777 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001441/0.1448, allocations: 51.55 kB / 352.3 MB, free: 1.727 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002616/0.1451, allocations: 51.94 kB / 352.3 MB, free: 1.676 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003165/0.1454, allocations: 219 kB / 352.6 MB, free: 1.461 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002195/0.1457, allocations: 70.08 kB / 352.6 MB, free: 1.391 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.1458, allocations: 75.72 kB / 352.7 MB, free: 1.316 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.1459, allocations: 91.61 kB / 352.8 MB, free: 1.227 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.579e-05/0.146, allocations: 16 kB / 352.8 MB, free: 1.211 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.28e-05/0.146, allocations: 16 kB / 352.8 MB, free: 1.195 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.615e-05/0.1461, allocations: 43.83 kB / 352.9 MB, free: 1.152 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.1462, allocations: 87.59 kB / 353 MB, free: 1.066 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000319/0.1465, allocations: 231.5 kB / 353.2 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.1465, allocations: 0 / 353.2 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1466, allocations: 0 / 353.2 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.1466, allocations: 0 / 353.2 MB, free: 0.8398 MB / 286.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.0009287/0.1475, allocations: 498.8 kB / 353.7 MB, free: 312 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.765e-05/0.1476, allocations: 8.031 kB / 353.7 MB, free: 304 kB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.9e-05/0.1476, allocations: 62.66 kB / 353.7 MB, free: 232 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.858e-05/0.1477, allocations: 16.75 kB / 353.8 MB, free: 216 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002904/0.148, allocations: 216.2 kB / 354 MB, free: 15.96 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.148, allocations: 16.38 kB / 354 MB, free: 15.94 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.342e-05/0.1481, allocations: 12.38 kB / 354 MB, free: 15.93 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003821/0.1485, allocations: 189.7 kB / 354.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.1485, allocations: 0 / 354.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.468e-05/0.1485, allocations: 8 kB / 354.2 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.1485, allocations: 7.938 kB / 354.2 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003319/0.1489, allocations: 143.9 kB / 354.3 MB, free: 15.58 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001265/0.1502, allocations: 0.7544 MB / 355.1 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003914/0.1506, allocations: 154.5 kB / 355.2 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001777/0.1508, allocations: 100.8 kB / 355.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.63e-05/0.1508, allocations: 0 / 355.3 MB, free: 14.5 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.1508, allocations: 34.56 kB / 355.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.022e-06/0.1508, allocations: 4 kB / 355.4 MB, free: 14.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004843/0.1513, allocations: 188.1 kB / 355.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.1514, allocations: 55.34 kB / 355.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001729/0.1516, allocations: 151.5 kB / 355.8 MB, free: 14.04 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3e-05/0.1516, allocations: 29.7 kB / 355.8 MB, free: 14.01 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.1517, allocations: 140.2 kB / 355.9 MB, free: 13.87 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.803e-05/0.1518, allocations: 51.2 kB / 356 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.769e-05/0.1519, allocations: 37.66 kB / 356 MB, free: 13.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.152, allocations: 318.8 kB / 356.3 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.1522, allocations: 51.97 kB / 356.4 MB, free: 13.4 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.1523, allocations: 77.62 kB / 356.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002491/0.1526, allocations: 132.3 kB / 356.6 MB, free: 13.19 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1526, allocations: 0 / 356.6 MB, free: 13.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003203/0.1529, allocations: 169.5 kB / 356.7 MB, free: 13.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/0.1529, allocations: 10.53 kB / 356.8 MB, free: 13.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.153, allocations: 3.938 kB / 356.8 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.153, allocations: 4 kB / 356.8 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/0.1532, allocations: 47.91 kB / 356.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.1532, allocations: 0 / 356.8 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.826e-05/0.1533, allocations: 15.89 kB / 356.8 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.1534, allocations: 4 kB / 356.8 MB, free: 12.93 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.0001405/0.1535, allocations: 125.8 kB / 357 MB, free: 12.8 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.308e-05/0.1536, allocations: 19.81 kB / 357 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.662e-05/0.1536, allocations: 24.77 kB / 357 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.1536, allocations: 0 / 357 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.1536, allocations: 0 / 357 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1537, allocations: 0 / 357 MB, free: 12.75 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003572/0.154, allocations: 265.5 kB / 357.3 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.154, allocations: 0 / 357.3 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002283/0.1543, allocations: 39.97 kB / 357.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1543, allocations: 0 / 357.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.716e-05/0.1543, allocations: 7.938 kB / 357.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1543, allocations: 0 / 357.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1543, allocations: 7.938 kB / 357.3 MB, free: 12.39 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005366/0.1549, allocations: 299.2 kB / 357.6 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.766e-05/0.1549, allocations: 89.05 kB / 357.7 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.477e-05/0.155, allocations: 15.94 kB / 357.7 MB, free: 11.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/0.1551, allocations: 8 kB / 357.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.682e-05/0.1552, allocations: 11.98 kB / 357.7 MB, free: 11.94 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.1552, allocations: 4 kB / 357.7 MB, free: 11.94 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.849e-05/0.1553, allocations: 116.6 kB / 357.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1553, allocations: 0 / 357.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002775/0.1556, allocations: 47.84 kB / 357.9 MB, free: 11.78 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.0008747/0.1565, allocations: 0.8516 MB / 358.7 MB, free: 10.9 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003005/0.1568, allocations: 127.9 kB / 358.9 MB, free: 10.78 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.1568, allocations: 0 / 358.9 MB, free: 10.78 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.1569, allocations: 51.98 kB / 358.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004168/0.1574, allocations: 31.98 kB / 358.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002624/0.16, allocations: 2.1 MB / 361 MB, free: 8.5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/0.1603, allocations: 0.7243 MB / 361.8 MB, free: 7.75 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.393e-05/0.1604, allocations: 17.41 kB / 361.8 MB, free: 7.734 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.633e-05/0.1605, allocations: 47.42 kB / 361.8 MB, free: 7.688 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1605, allocations: 0 / 361.8 MB, free: 7.688 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01447/0.175, allocations: 3.1 MB / 364.9 MB, free: 4.695 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002087/0.1753, allocations: 195.9 kB / 365.1 MB, free: 4.441 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.047/2.222, allocations: 4 kB / 365.1 MB, free: 4.438 MB / 302.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)