Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.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.LinearSystems.Examples.BasicComparisonLL,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonLL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonLL",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.0105/0.0105, allocations: 170.6 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05843/0.05843, allocations: 10.74 MB / 26.59 MB, free: 2.238 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.767/1.767, allocations: 205.4 MB / 235.2 MB, free: 172 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.0009328/0.0009326, allocations: 84.16 kB / 285.9 MB, free: 10.66 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003834/0.0003834, allocations: 8 kB / 346.5 MB, free: 5.078 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.121, allocations: 50 MB / 396.5 MB, free: 2.984 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3706/0.4917, allocations: 77.46 MB / 474 MB, free: 17.78 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/0.492, allocations: 77.48 kB / 474 MB, free: 17.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01021/0.5022, allocations: 4.041 MB / 478.1 MB, free: 15.41 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.5023, allocations: 0 / 478.1 MB, free: 15.41 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.5023, allocations: 8 kB / 478.1 MB, free: 15.41 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005101/0.5028, allocations: 436.5 kB / 478.5 MB, free: 14.94 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/0.5029, allocations: 12.03 kB / 478.5 MB, free: 14.93 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.915e-05/0.5029, allocations: 38.48 kB / 478.6 MB, free: 14.89 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.558e-05/0.503, allocations: 17.19 kB / 478.6 MB, free: 14.87 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.5032, allocations: 230.5 kB / 478.8 MB, free: 14.62 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.5032, allocations: 4 kB / 478.8 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.588e-05/0.5033, allocations: 11.88 kB / 478.8 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002275/0.5035, allocations: 136.8 kB / 479 MB, free: 14.47 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.5035, allocations: 0 / 479 MB, free: 14.47 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/0.5035, allocations: 2.938 kB / 479 MB, free: 14.47 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.5036, allocations: 4 kB / 479 MB, free: 14.47 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001374/0.5037, allocations: 64.92 kB / 479 MB, free: 14.42 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000608/0.5043, allocations: 412.6 kB / 479.4 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001959/0.5045, allocations: 113.3 kB / 479.5 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.5046, allocations: 4 kB / 479.5 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002297/0.5048, allocations: 115.4 kB / 479.7 MB, free: 13.82 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 3.867e-06/0.5048, allocations: 3.984 kB / 479.7 MB, free: 13.81 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004291/0.5052, allocations: 209.1 kB / 479.9 MB, free: 13.64 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.977e-05/0.5053, allocations: 165.1 kB / 480 MB, free: 13.45 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001416/0.5055, allocations: 174.1 kB / 480.2 MB, free: 13.3 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.5055, allocations: 32.83 kB / 480.2 MB, free: 13.26 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.033e-05/0.5056, allocations: 118.6 kB / 480.3 MB, free: 13.16 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.5056, allocations: 46 kB / 480.4 MB, free: 13.12 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.624e-06/0.5056, allocations: 7.562 kB / 480.4 MB, free: 13.12 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.774e-05/0.5057, allocations: 326.3 kB / 480.7 MB, free: 12.8 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.006e-05/0.5058, allocations: 39.16 kB / 480.7 MB, free: 12.77 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001168/0.5059, allocations: 115.3 kB / 480.9 MB, free: 12.63 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.357e-05/0.506, allocations: 50.69 kB / 480.9 MB, free: 12.61 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5061, allocations: 0 / 480.9 MB, free: 12.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000244/0.5063, allocations: 177.5 kB / 481.1 MB, free: 12.46 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.5063, allocations: 4 kB / 481.1 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.5064, allocations: 11.94 kB / 481.1 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.5064, allocations: 0 / 481.1 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.5065, allocations: 31.98 kB / 481.1 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/0.5065, allocations: 8.125 kB / 481.1 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/0.5067, allocations: 14.91 kB / 481.2 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.5067, allocations: 15.67 kB / 481.2 MB, free: 12.38 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.ll_dig_BE.y,ll_dig_BE.y,$PRE.ll_dig_FE.y,ll_dig_FE.y,$PRE.ll_dig_TU.y,ll_dig_TU.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001067/0.5068, allocations: 125.2 kB / 481.3 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.5069, allocations: 15.81 kB / 481.3 MB, free: 12.24 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.688e-05/0.5069, allocations: 16.22 kB / 481.3 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.5069, allocations: 7.953 kB / 481.3 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.507, allocations: 7.984 kB / 481.3 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.84e-06/0.507, allocations: 0 / 481.3 MB, free: 12.21 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004715/0.5074, allocations: 463.2 kB / 481.8 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.5075, allocations: 0 / 481.8 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.5076, allocations: 19.98 kB / 481.8 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.5076, allocations: 3.953 kB / 481.8 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.579e-05/0.5076, allocations: 8 kB / 481.8 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.5076, allocations: 0 / 481.8 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.5076, allocations: 3.938 kB / 481.8 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004117/0.508, allocations: 322.3 kB / 482.1 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.885e-05/0.5081, allocations: 96.88 kB / 482.2 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.388e-05/0.5081, allocations: 6.266 kB / 482.2 MB, free: 11.35 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.5083, allocations: 19.11 kB / 482.3 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.322e-05/0.5084, allocations: 4 kB / 482.3 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.5084, allocations: 11.67 kB / 482.3 MB, free: 11.32 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001173/0.5085, allocations: 139.2 kB / 482.4 MB, free: 11.2 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5085, allocations: 0 / 482.4 MB, free: 11.2 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003284/0.5089, allocations: 43.42 kB / 482.5 MB, free: 11.16 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (ll.dy) * Number of discrete variables: 6 ($whenCondition3,$whenCondition2,$whenCondition1,ll_dig_BE.y,ll_dig_FE.y,ll_dig_TU.y) * Number of discrete states: 6 (ll_dig_TU.u,ll_dig_TU.y,ll_dig_FE.u,ll_dig_FE.y,ll_dig_BE.u,ll_dig_BE.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0009435/0.5098, allocations: 0.873 MB / 483.3 MB, free: 10.32 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000283/0.5101, allocations: 126.2 kB / 483.5 MB, free: 10.23 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.5101, allocations: 0 / 483.5 MB, free: 10.23 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001062/0.5102, allocations: 57.97 kB / 483.5 MB, free: 10.18 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002765/0.5105, allocations: 27.81 kB / 483.5 MB, free: 10.16 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.5125, allocations: 1.869 MB / 485.4 MB, free: 8.348 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00019/0.5127, allocations: 0.7245 MB / 486.1 MB, free: 7.598 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.707e-05/0.5128, allocations: 13.55 kB / 486.1 MB, free: 7.586 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.606e-05/0.5129, allocations: 48.8 kB / 486.2 MB, free: 7.562 MB / 346.7 MB Notification: Performance of SimCode: time 8.61e-07/0.5129, allocations: 0 / 486.2 MB, free: 7.562 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02128/0.5342, allocations: 3.265 MB / 489.5 MB, free: 4.371 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000239/0.5345, allocations: 213.4 kB / 489.7 MB, free: 4.125 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.754/2.289, allocations: 0 / 489.7 MB, free: 4.125 MB / 346.7 MB (rm -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonLL_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonLL.fmu > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe 2>&1)