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: translateModel(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL") translateModel(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 174 kB / 12.73 MB, free: 2.586 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05909/0.05909, allocations: 10.65 MB / 23.92 MB, free: 1.605 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.763/1.763, allocations: 205.2 MB / 232.1 MB, free: 12.83 MB / 202.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007399/0.0007398, allocations: 97.39 kB / 282.6 MB, free: 13.58 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 3.504e-05/3.506e-05, allocations: 0 / 340.5 MB, free: 3.625 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2924/0.2924, allocations: 49.99 MB / 390.5 MB, free: 35.72 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1019/0.3943, allocations: 77.38 MB / 467.8 MB, free: 6.238 MB / 346.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/0.3946, allocations: 79.95 kB / 467.9 MB, free: 6.16 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.01084/0.4055, allocations: 4.026 MB / 471.9 MB, free: 2.121 MB / 346.8 MB Notification: Performance of FrontEnd: time 4.849e-06/0.4055, allocations: 4 kB / 472 MB, free: 2.117 MB / 346.8 MB Notification: Performance of Transformations before backend: time 1.711e-05/0.4056, allocations: 7.938 kB / 472 MB, free: 2.109 MB / 346.8 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.0006216/0.4062, allocations: 410.1 kB / 472.4 MB, free: 1.664 MB / 346.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.886e-05/0.4063, allocations: 8.031 kB / 472.4 MB, free: 1.656 MB / 346.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.72e-05/0.4063, allocations: 19.77 kB / 472.4 MB, free: 1.637 MB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000329/0.4067, allocations: 234.6 kB / 472.6 MB, free: 1.367 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.4067, allocations: 8 kB / 472.6 MB, free: 1.359 MB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.673e-05/0.4067, allocations: 12 kB / 472.6 MB, free: 1.348 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002677/0.407, allocations: 124.3 kB / 472.8 MB, free: 1.207 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.407, allocations: 0 / 472.8 MB, free: 1.207 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/0.4071, allocations: 11.92 kB / 472.8 MB, free: 1.195 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.4071, allocations: 4 kB / 472.8 MB, free: 1.191 MB / 346.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.4072, allocations: 43.94 kB / 472.8 MB, free: 1.148 MB / 346.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007342/0.4079, allocations: 412.5 kB / 473.2 MB, free: 0.6953 MB / 346.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/0.4082, allocations: 111.8 kB / 473.3 MB, free: 0.5781 MB / 346.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.673e-05/0.4083, allocations: 64.86 kB / 473.4 MB, free: 0.5117 MB / 346.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.4083, allocations: 0 / 473.4 MB, free: 0.5117 MB / 346.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001963/0.4085, allocations: 109.4 kB / 473.5 MB, free: 404 kB / 346.8 MB Notification: Performance of pre-optimization done (n=14): time 1.263e-06/0.4085, allocations: 0 / 473.5 MB, free: 404 kB / 346.8 MB Notification: Performance of matching and sorting (n=14): time 0.0003042/0.4088, allocations: 153.4 kB / 473.6 MB, free: 244 kB / 346.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.056e-05/0.4089, allocations: 158.2 kB / 473.8 MB, free: 48 kB / 346.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000173/0.4091, allocations: 173.4 kB / 474 MB, free: 15.87 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/0.4091, allocations: 29.7 kB / 474 MB, free: 15.84 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.85e-05/0.4092, allocations: 124 kB / 474.1 MB, free: 15.71 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.448e-05/0.4093, allocations: 39.45 kB / 474.2 MB, free: 15.67 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-06/0.4093, allocations: 4 kB / 474.2 MB, free: 15.67 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.4094, allocations: 330.8 kB / 474.5 MB, free: 15.34 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.025e-05/0.4095, allocations: 28.38 kB / 474.5 MB, free: 15.3 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.4096, allocations: 104.5 kB / 474.6 MB, free: 15.17 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.361e-05/0.4097, allocations: 43.92 kB / 474.7 MB, free: 15.13 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4097, allocations: 0 / 474.7 MB, free: 15.13 MB / 362.8 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002517/0.4099, allocations: 163 kB / 474.8 MB, free: 14.96 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.41, allocations: 4 kB / 474.8 MB, free: 14.96 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.41, allocations: 3.953 kB / 474.8 MB, free: 14.96 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.41, allocations: 4 kB / 474.8 MB, free: 14.95 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/0.4102, allocations: 35.92 kB / 474.9 MB, free: 14.92 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.4102, allocations: 8.188 kB / 474.9 MB, free: 14.91 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.4104, allocations: 15.89 kB / 474.9 MB, free: 14.89 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.817e-05/0.4104, allocations: 12 kB / 474.9 MB, free: 14.88 MB / 362.8 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 () * 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.0001101/0.4105, allocations: 117.5 kB / 475 MB, free: 14.76 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.4105, allocations: 16.03 kB / 475 MB, free: 14.75 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.601e-05/0.4106, allocations: 21.64 kB / 475.1 MB, free: 14.73 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.4106, allocations: 11.89 kB / 475.1 MB, free: 14.71 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-06/0.4106, allocations: 4 kB / 475.1 MB, free: 14.71 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.4106, allocations: 0 / 475.1 MB, free: 14.71 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005332/0.4112, allocations: 446.4 kB / 475.5 MB, free: 14.22 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.4112, allocations: 3.984 kB / 475.5 MB, free: 14.21 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.4113, allocations: 23.94 kB / 475.5 MB, free: 14.19 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.4113, allocations: 7.953 kB / 475.5 MB, free: 14.18 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.4113, allocations: 3.984 kB / 475.5 MB, free: 14.18 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.4113, allocations: 0 / 475.5 MB, free: 14.18 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4114, allocations: 4 kB / 475.5 MB, free: 14.18 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003815/0.4117, allocations: 297.8 kB / 475.8 MB, free: 13.87 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.705e-05/0.4118, allocations: 96.89 kB / 475.9 MB, free: 13.76 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.108e-05/0.4119, allocations: 3.953 kB / 475.9 MB, free: 13.75 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.412, allocations: 15.98 kB / 476 MB, free: 13.74 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.537e-05/0.4121, allocations: 12.02 kB / 476 MB, free: 13.73 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.4121, allocations: 4 kB / 476 MB, free: 13.72 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.0001127/0.4122, allocations: 148.4 kB / 476.1 MB, free: 13.58 MB / 362.8 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4122, allocations: 0 / 476.1 MB, free: 13.58 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0002813/0.4125, allocations: 40 kB / 476.2 MB, free: 13.54 MB / 362.8 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) * 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.0001773/0.4127, allocations: 124.1 kB / 476.3 MB, free: 13.41 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0002108/0.4129, allocations: 103.9 kB / 476.4 MB, free: 13.31 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4129, allocations: 384 / 476.4 MB, free: 13.31 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 9.112e-05/0.413, allocations: 48 kB / 476.4 MB, free: 13.26 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.4133, allocations: 28.16 kB / 476.4 MB, free: 13.23 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006264/0.4139, allocations: 227.9 kB / 476.7 MB, free: 12.99 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002694/0.4142, allocations: 0.7285 MB / 477.4 MB, free: 12.23 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 7.9e-05/0.4143, allocations: 17.48 kB / 477.4 MB, free: 12.21 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.814e-05/0.4143, allocations: 23.42 kB / 477.4 MB, free: 12.19 MB / 362.8 MB Notification: Performance of SimCode: time 3.41e-07/0.4143, allocations: 0 / 477.4 MB, free: 12.19 MB / 362.8 MB Notification: Performance of Templates: time 0.004279/0.4186, allocations: 1.668 MB / 479.1 MB, free: 10.55 MB / 362.8 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.makefile (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 & ./IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe 2>&1)