Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Analog_Examples_ChuaCircuit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ChuaCircuit,fileNamePrefix="Modelica_3_2_3_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.00176/0.00176, allocations: 114.5 kB / 17.73 MB, free: 5.336 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.001883/0.001884, allocations: 187 kB / 18.67 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 55.92 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1184, allocations: 46.62 MB / 374.7 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ChuaCircuit): time 0.004148/0.1226, allocations: 2.121 MB / 376.8 MB, free: 2.93 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.1237, allocations: 0.5773 MB / 377.4 MB, free: 2.344 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.1238, allocations: 4 kB / 377.4 MB, free: 2.34 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001392/0.124, allocations: 35.72 kB / 377.4 MB, free: 2.305 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.1241, allocations: 55.47 kB / 377.4 MB, free: 2.25 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001996/0.1243, allocations: 51.92 kB / 377.5 MB, free: 2.199 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002997/0.1246, allocations: 242.8 kB / 377.7 MB, free: 1.961 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002039/0.1248, allocations: 77.62 kB / 377.8 MB, free: 1.887 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001165/0.1249, allocations: 83.78 kB / 377.9 MB, free: 1.805 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.1251, allocations: 99.61 kB / 378 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.381e-05/0.1252, allocations: 20 kB / 378 MB, free: 1.688 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.283e-05/0.1252, allocations: 24 kB / 378 MB, free: 1.664 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.21e-05/0.1253, allocations: 47.83 kB / 378.1 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.1254, allocations: 99.53 kB / 378.2 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002944/0.1257, allocations: 235.1 kB / 378.4 MB, free: 1.289 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.1257, allocations: 4 kB / 378.4 MB, free: 1.285 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1257, allocations: 0 / 378.4 MB, free: 1.285 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.28e-05/0.1257, allocations: 0 / 378.4 MB, free: 1.285 MB / 318.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.000863/0.1266, allocations: 0.4946 MB / 378.9 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.1266, allocations: 8.031 kB / 378.9 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.114e-05/0.1267, allocations: 58.67 kB / 379 MB, free: 0.668 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.097e-05/0.1268, allocations: 16.84 kB / 379 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.1271, allocations: 216.1 kB / 379.2 MB, free: 412 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.1271, allocations: 20.38 kB / 379.2 MB, free: 392 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.751e-05/0.1272, allocations: 24.3 kB / 379.2 MB, free: 368 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003722/0.1276, allocations: 173.7 kB / 379.4 MB, free: 188 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1276, allocations: 0 / 379.4 MB, free: 188 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.372e-05/0.1276, allocations: 12 kB / 379.4 MB, free: 176 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.974e-06/0.1276, allocations: 4 kB / 379.4 MB, free: 172 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003409/0.128, allocations: 135.9 kB / 379.6 MB, free: 36 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2052/0.3332, allocations: 0.7476 MB / 380.3 MB, free: 12.71 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003949/0.3336, allocations: 158.3 kB / 380.5 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.3338, allocations: 91.69 kB / 380.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.3338, allocations: 5 kB / 380.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.3339, allocations: 36.11 kB / 380.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 2.425e-06/0.3339, allocations: 0 / 380.6 MB, free: 12.64 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005044/0.3344, allocations: 186.4 kB / 380.8 MB, free: 12.59 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.664e-05/0.3344, allocations: 56.22 kB / 380.8 MB, free: 12.53 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.3346, allocations: 150.1 kB / 381 MB, free: 12.43 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.877e-05/0.3346, allocations: 27.08 kB / 381 MB, free: 12.4 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.699e-05/0.3347, allocations: 138 kB / 381.1 MB, free: 12.3 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.3348, allocations: 52.69 kB / 381.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.168e-05/0.3348, allocations: 33.59 kB / 381.2 MB, free: 12.26 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.165e-05/0.3349, allocations: 327 kB / 381.5 MB, free: 11.94 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.335, allocations: 52.22 kB / 381.6 MB, free: 11.94 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001387/0.3352, allocations: 75.95 kB / 381.7 MB, free: 11.92 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002495/0.3354, allocations: 121.2 kB / 381.8 MB, free: 11.91 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.3355, allocations: 0 / 381.8 MB, free: 11.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003616/0.3358, allocations: 180.8 kB / 382 MB, free: 11.87 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/0.3359, allocations: 8.781 kB / 382 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.3359, allocations: 1.125 kB / 382 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3359, allocations: 1.125 kB / 382 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002305/0.3361, allocations: 43.94 kB / 382 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.3361, allocations: 1.984 kB / 382 MB, free: 11.87 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.3362, allocations: 21.72 kB / 382 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.3363, allocations: 13.31 kB / 382 MB, free: 11.86 MB / 318.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 9.674e-05/0.3364, allocations: 126.8 kB / 382.2 MB, free: 11.74 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.701e-05/0.3364, allocations: 13.41 kB / 382.2 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.119e-05/0.3365, allocations: 19.75 kB / 382.2 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.3365, allocations: 1.375 kB / 382.2 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3365, allocations: 0 / 382.2 MB, free: 11.73 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.3365, allocations: 6.625 kB / 382.2 MB, free: 11.72 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003792/0.3369, allocations: 263.6 kB / 382.5 MB, free: 11.53 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.3369, allocations: 3.625 kB / 382.5 MB, free: 11.53 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002318/0.3371, allocations: 45.19 kB / 382.5 MB, free: 11.53 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.3372, allocations: 1.375 kB / 382.5 MB, free: 11.53 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.3372, allocations: 5.891 kB / 382.5 MB, free: 11.53 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3372, allocations: 0 / 382.5 MB, free: 11.53 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.3372, allocations: 1.375 kB / 382.5 MB, free: 11.53 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004995/0.3377, allocations: 303.9 kB / 382.8 MB, free: 11.33 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.003e-05/0.3377, allocations: 91.31 kB / 382.9 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.3378, allocations: 8.484 kB / 382.9 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.3379, allocations: 11 kB / 382.9 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.052e-05/0.338, allocations: 7.844 kB / 382.9 MB, free: 11.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.338, allocations: 10.84 kB / 382.9 MB, free: 11.22 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001043/0.3381, allocations: 117.5 kB / 383.1 MB, free: 11.13 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3381, allocations: 3.391 kB / 383.1 MB, free: 11.13 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002936/0.3384, allocations: 48.17 kB / 383.1 MB, free: 11.12 MB / 318.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.0007763/0.3392, allocations: 0.8344 MB / 383.9 MB, free: 10.4 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003311/0.3395, allocations: 127.4 kB / 384.1 MB, free: 10.36 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3396, allocations: 0 / 384.1 MB, free: 10.36 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.3397, allocations: 55.78 kB / 384.1 MB, free: 10.35 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.3401, allocations: 35.62 kB / 384.2 MB, free: 10.33 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002503/0.3426, allocations: 2.061 MB / 386.2 MB, free: 8.758 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002057/0.3428, allocations: 0.7189 MB / 386.9 MB, free: 8.059 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 7.842e-05/0.3429, allocations: 17.39 kB / 387 MB, free: 8.055 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.014e-05/0.343, allocations: 50.77 kB / 387 MB, free: 8.016 MB / 318.1 MB Notification: Performance of SimCode: time 4.1e-07/0.343, allocations: 1.031 kB / 387 MB, free: 8.016 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02995/0.3729, allocations: 3.384 MB / 390.4 MB, free: 7.395 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.933/8.305, allocations: 9.047 kB / 390.4 MB, free: 7.387 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ChuaCircuit_fmu --startTime=0 --stopTime=50000 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ChuaCircuit.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ChuaCircuit.pipe 2>&1)