Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(IndustrialControlSystems.Applications.ControlProblems.ProcessControl,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_ProcessControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Applications.ControlProblems.ProcessControl,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_ProcessControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00851/0.00851, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05706/0.05706, allocations: 10.74 MB / 26.59 MB, free: 2.262 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.628/1.628, allocations: 205.4 MB / 235.2 MB, free: 184 kB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009913/0.0009913, allocations: 91.56 kB / 285.9 MB, free: 10.58 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003402/0.0003402, allocations: 8 kB / 346.5 MB, free: 5.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.134, allocations: 50 MB / 396.5 MB, free: 2.977 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4222/0.5563, allocations: 79.61 MB / 476.1 MB, free: 16.19 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/0.5567, allocations: 75.27 kB / 476.2 MB, free: 16.16 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05201/0.6087, allocations: 19.79 MB / 496 MB, free: 156 kB / 346.7 MB Notification: Performance of FrontEnd: time 3.416e-06/0.6088, allocations: 0 / 496 MB, free: 156 kB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001363/0.6089, allocations: 35.98 kB / 496 MB, free: 120 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.004642/0.6136, allocations: 1.528 MB / 497.5 MB, free: 14.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.406e-05/0.6136, allocations: 8.031 kB / 497.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005429/0.6142, allocations: 156.1 kB / 497.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007063/0.6149, allocations: 171.4 kB / 497.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003262/0.6182, allocations: 1.057 MB / 498.9 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002858/0.6185, allocations: 299.6 kB / 499.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003448/0.6189, allocations: 131.8 kB / 499.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002357/0.6212, allocations: 1.268 MB / 0.4889 GB, free: 11.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.595e-05/0.6213, allocations: 4 kB / 0.4889 GB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/0.6214, allocations: 44 kB / 0.4889 GB, free: 11.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.252e-05/0.6215, allocations: 24 kB / 0.489 GB, free: 11.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001399/0.6229, allocations: 0.726 MB / 0.4897 GB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005739/0.6286, allocations: 3.863 MB / 0.4934 GB, free: 6.449 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/0.6301, allocations: 0.8404 MB / 0.4943 GB, free: 5.594 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.848e-05/0.6302, allocations: 21.02 kB / 0.4943 GB, free: 5.574 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.6302, allocations: 47.55 kB / 0.4943 GB, free: 5.52 MB / 362.7 MB Notification: Performance of pre-optimization done (n=99): time 2.224e-06/0.6302, allocations: 7.938 kB / 0.4943 GB, free: 5.512 MB / 362.7 MB Notification: Performance of matching and sorting (n=99): time 0.001942/0.6322, allocations: 1.084 MB / 0.4954 GB, free: 4.422 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002502/0.6325, allocations: 380.8 kB / 0.4957 GB, free: 3.965 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001112/0.6336, allocations: 0.7781 MB / 0.4965 GB, free: 3.176 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.179e-05/0.6337, allocations: 53.7 kB / 0.4966 GB, free: 3.117 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000467/0.6342, allocations: 0.5822 MB / 0.4971 GB, free: 2.527 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002864/0.6344, allocations: 382.5 kB / 0.4975 GB, free: 2.148 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.487e-05/0.6345, allocations: 32 kB / 0.4975 GB, free: 2.117 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001726/0.6347, allocations: 350.5 kB / 0.4979 GB, free: 1.77 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005872/0.6353, allocations: 355.9 kB / 0.4982 GB, free: 1.426 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/0.6363, allocations: 0.7446 MB / 0.4989 GB, free: 0.5156 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008045/0.6371, allocations: 465.4 kB / 0.4994 GB, free: 64 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.6371, allocations: 4 kB / 0.4994 GB, free: 60 kB / 362.7 MB Notification: Performance of matching and sorting (n=179) (initialization): time 0.002128/0.6393, allocations: 1.257 MB / 0.5006 GB, free: 14.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.779e-05/0.6393, allocations: 14.45 kB / 0.5006 GB, free: 14.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-05/0.6394, allocations: 12 kB / 0.5006 GB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.364e-05/0.6394, allocations: 16 kB / 0.5006 GB, free: 14.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/0.641, allocations: 352 kB / 0.501 GB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.671e-05/0.641, allocations: 19.94 kB / 0.501 GB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007369/0.6417, allocations: 126.8 kB / 0.5011 GB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.511e-05/0.6418, allocations: 52 kB / 0.5012 GB, free: 14.21 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 16 (R_FS.TS_in,R_Osc.TS_in,R_US.TS_in,R_OS.TS_in,R_iD.TS_in,R_i.TS_in,R_FOD.TS_in,R_FO.TS_in,R_FS.ATreq_in,R_Osc.ATreq_in,R_US.ATreq_in,R_OS.ATreq_in,R_iD.ATreq_in,R_i.ATreq_in,R_FOD.ATreq_in,R_FO.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006179/0.6425, allocations: 275 kB / 0.5014 GB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/0.6427, allocations: 122.5 kB / 0.5015 GB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001931/0.6446, allocations: 1.072 MB / 0.5026 GB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/0.6446, allocations: 12 kB / 0.5026 GB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.6446, allocations: 0 / 0.5026 GB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.6447, allocations: 3.984 kB / 0.5026 GB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/0.6461, allocations: 1.063 MB / 0.5036 GB, free: 11.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.6461, allocations: 3.984 kB / 0.5036 GB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001797/0.6479, allocations: 311.6 kB / 0.5039 GB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.096e-05/0.6479, allocations: 12 kB / 0.504 GB, free: 11.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.678e-05/0.648, allocations: 31.98 kB / 0.504 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.205e-06/0.648, allocations: 7.953 kB / 0.504 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.648, allocations: 4 kB / 0.504 GB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002435/0.6505, allocations: 1.447 MB / 0.5054 GB, free: 9.777 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002824/0.6508, allocations: 207.2 kB / 0.5056 GB, free: 9.555 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001401/0.6509, allocations: 28 kB / 0.5056 GB, free: 9.527 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005357/0.6515, allocations: 35.91 kB / 0.5057 GB, free: 9.492 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.6516, allocations: 68.86 kB / 0.5057 GB, free: 9.426 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.22e-05/0.6517, allocations: 35.98 kB / 0.5058 GB, free: 9.391 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0008252/0.6525, allocations: 0.5787 MB / 0.5063 GB, free: 8.805 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.6525, allocations: 0 / 0.5063 GB, free: 8.805 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008375/0.6534, allocations: 223.5 kB / 0.5065 GB, free: 8.586 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 40 (NoControl.firstOrder.y,NoControl.firstOrder1.y,NoControl.integrator.y,NoControl.integrator1.y,NoControl.leadLag.dy,NoControl.firstOrder2.y,NoControl.leadLag1.dy,NoControl.firstOrder3.y,NoControl.complexPoles.y,NoControl.complexPoles.dy,NoControl.leadLag2.dy,NoControl.firstOrder4.y,Controlled.firstOrder.y,Controlled.firstOrder1.y,Controlled.integrator.y,Controlled.integrator1.y,Controlled.leadLag.dy,Controlled.firstOrder2.y,Controlled.leadLag1.dy,Controlled.firstOrder3.y,Controlled.complexPoles.y,Controlled.complexPoles.dy,Controlled.leadLag2.dy,Controlled.firstOrder4.y,R_FO.Iaction,R_FO.Fder,R_FOD.Iaction,R_FOD.Fder,R_i.Iaction,R_i.Fder,R_iD.Iaction,R_iD.Fder,R_OS.Iaction,R_OS.Fder,R_US.Iaction,R_US.Fder,R_Osc.Iaction,R_Osc.Fder,R_FS.Iaction,R_FS.Fder) * 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 (115): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002646/0.656, allocations: 2.046 MB / 0.5085 GB, free: 6.508 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001999/0.658, allocations: 0.9419 MB / 0.5095 GB, free: 5.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.6581, allocations: 0 / 0.5095 GB, free: 5.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006948/0.6588, allocations: 449.5 kB / 0.5099 GB, free: 5.129 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006679/0.6594, allocations: 124.3 kB / 0.51 GB, free: 5.008 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01612/0.6756, allocations: 14.31 MB / 0.524 GB, free: 6.191 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009273/0.6766, allocations: 1.189 MB / 0.5252 GB, free: 4.965 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0009372/0.6775, allocations: 181.3 kB / 0.5253 GB, free: 4.785 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007629/0.6783, allocations: 0.5344 MB / 0.5258 GB, free: 4.25 MB / 394.7 MB Notification: Performance of SimCode: time 1.092e-06/0.6783, allocations: 0 / 0.5258 GB, free: 4.25 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04527/0.7236, allocations: 19.59 MB / 0.545 GB, free: 0.75 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000267/0.7239, allocations: 205.1 kB / 0.5452 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.852/3.576, allocations: 4 kB / 0.5452 GB, free: 0.5117 MB / 410.7 MB (rm -f IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_ProcessControl_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Applications_ControlProblems_ProcessControl.fmu > IndustrialControlSystems_IndustrialControlSystems.Applications.ControlProblems.ProcessControl.pipe 2>&1)