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.00132/0.00132, allocations: 122.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00138/0.00138, allocations: 202 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.639/1.639, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 67.88 kB / 358.3 MB, free: 13.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2564, allocations: 50.55 MB / 408.8 MB, free: 1.453 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.003347/0.2598, allocations: 2.155 MB / 411 MB, free: 15.29 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001058/0.2609, allocations: 0.5688 MB / 411.6 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.831e-05/0.261, allocations: 4 kB / 411.6 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000129/0.2611, allocations: 31.7 kB / 411.6 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.784e-05/0.2613, allocations: 47.5 kB / 411.6 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.2615, allocations: 59.92 kB / 411.7 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000272/0.2617, allocations: 239 kB / 411.9 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.2619, allocations: 81.64 kB / 412 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.262, allocations: 87.7 kB / 412.1 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001446/0.2622, allocations: 91.61 kB / 412.2 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.303e-05/0.2622, allocations: 24 kB / 412.2 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.02e-05/0.2623, allocations: 20 kB / 412.2 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.294e-05/0.2624, allocations: 43.84 kB / 412.3 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001083/0.2625, allocations: 99.58 kB / 412.4 MB, free: 13.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002914/0.2628, allocations: 238.1 kB / 412.6 MB, free: 13.66 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2628, allocations: 0 / 412.6 MB, free: 13.66 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.2628, allocations: 0 / 412.6 MB, free: 13.66 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.104e-05/0.2628, allocations: 0 / 412.6 MB, free: 13.66 MB / 334.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.0008088/0.2636, allocations: 498.6 kB / 413.1 MB, free: 13.13 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.2637, allocations: 15.97 kB / 413.1 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.081e-05/0.2637, allocations: 58.67 kB / 413.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.934e-05/0.2638, allocations: 20.8 kB / 413.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003236/0.2641, allocations: 235.9 kB / 413.4 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.2642, allocations: 12.38 kB / 413.4 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.681e-05/0.2642, allocations: 20.38 kB / 413.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003583/0.2646, allocations: 177.7 kB / 413.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.557e-06/0.2646, allocations: 0 / 413.6 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.2646, allocations: 8 kB / 413.6 MB, free: 12.54 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/0.2646, allocations: 8 kB / 413.6 MB, free: 12.53 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000327/0.265, allocations: 143.9 kB / 413.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001222/0.2662, allocations: 0.7315 MB / 414.5 MB, free: 11.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003829/0.2666, allocations: 162.5 kB / 414.7 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001878/0.2668, allocations: 96.83 kB / 414.8 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.2668, allocations: 4 kB / 414.8 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.2668, allocations: 34.56 kB / 414.8 MB, free: 11.28 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.2668, allocations: 0 / 414.8 MB, free: 11.28 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004784/0.2673, allocations: 189.7 kB / 415 MB, free: 11.09 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.2674, allocations: 55.34 kB / 415 MB, free: 11.02 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.2676, allocations: 161.4 kB / 415.2 MB, free: 10.86 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.2676, allocations: 25.7 kB / 415.2 MB, free: 10.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.378e-05/0.2677, allocations: 144.2 kB / 415.4 MB, free: 10.68 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.47e-05/0.2677, allocations: 47.64 kB / 415.4 MB, free: 10.63 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.989e-05/0.2678, allocations: 29.7 kB / 415.4 MB, free: 10.6 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.2679, allocations: 326.8 kB / 415.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.2681, allocations: 51.94 kB / 415.8 MB, free: 10.22 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.2682, allocations: 84.02 kB / 415.9 MB, free: 10.13 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.2685, allocations: 117.6 kB / 416 MB, free: 10.01 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2685, allocations: 0 / 416 MB, free: 10.01 MB / 334.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003413/0.2688, allocations: 173.5 kB / 416.2 MB, free: 9.836 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.2689, allocations: 10.69 kB / 416.2 MB, free: 9.828 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.2689, allocations: 3.938 kB / 416.2 MB, free: 9.824 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.2689, allocations: 4 kB / 416.2 MB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.2691, allocations: 43.91 kB / 416.2 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.2691, allocations: 0 / 416.2 MB, free: 9.777 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.2692, allocations: 15.88 kB / 416.3 MB, free: 9.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.2693, allocations: 8 kB / 416.3 MB, free: 9.754 MB / 334.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.0001167/0.2694, allocations: 125.8 kB / 416.4 MB, free: 9.621 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.966e-05/0.2694, allocations: 19.91 kB / 416.4 MB, free: 9.602 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.203e-05/0.2695, allocations: 20.78 kB / 416.4 MB, free: 9.578 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.2695, allocations: 4 kB / 416.4 MB, free: 9.574 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.2695, allocations: 3.938 kB / 416.4 MB, free: 9.57 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.2695, allocations: 3.984 kB / 416.4 MB, free: 9.566 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003117/0.2698, allocations: 257.5 kB / 416.7 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2698, allocations: 0 / 416.7 MB, free: 9.266 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002032/0.2701, allocations: 35.98 kB / 416.7 MB, free: 9.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.2701, allocations: 4 kB / 416.7 MB, free: 9.227 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.304e-05/0.2701, allocations: 3.938 kB / 416.7 MB, free: 9.223 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.2701, allocations: 4 kB / 416.7 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.2701, allocations: 0 / 416.7 MB, free: 9.219 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004911/0.2706, allocations: 310.6 kB / 417 MB, free: 8.902 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-05/0.2707, allocations: 93.02 kB / 417.1 MB, free: 8.793 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.417e-05/0.2707, allocations: 3.938 kB / 417.1 MB, free: 8.789 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001439/0.2709, allocations: 16.03 kB / 417.1 MB, free: 8.773 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/0.2709, allocations: 11.98 kB / 417.2 MB, free: 8.762 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.2709, allocations: 4 kB / 417.2 MB, free: 8.758 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.971e-05/0.271, allocations: 115.2 kB / 417.3 MB, free: 8.645 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.271, allocations: 0 / 417.3 MB, free: 8.645 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002749/0.2713, allocations: 47.89 kB / 417.3 MB, free: 8.598 MB / 334.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.0008123/0.2721, allocations: 0.8333 MB / 418.2 MB, free: 7.738 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003198/0.2725, allocations: 131.9 kB / 418.3 MB, free: 7.609 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2725, allocations: 0 / 418.3 MB, free: 7.609 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.2726, allocations: 63.91 kB / 418.3 MB, free: 7.547 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.2729, allocations: 32.03 kB / 418.4 MB, free: 7.516 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002735/0.2757, allocations: 2.05 MB / 420.4 MB, free: 5.383 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.2761, allocations: 0.724 MB / 421.2 MB, free: 4.633 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.245e-05/0.2761, allocations: 13.42 kB / 421.2 MB, free: 4.621 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.969e-05/0.2762, allocations: 47.42 kB / 421.2 MB, free: 4.574 MB / 334.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2762, allocations: 0 / 421.2 MB, free: 4.574 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02567/0.3019, allocations: 3.39 MB / 424.6 MB, free: 1.285 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.865/8.167, allocations: 12.61 kB / 424.6 MB, free: 1.273 MB / 334.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)