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.002042/0.002042, allocations: 170.1 kB / 16.11 MB, free: 5.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.08768/0.08768, allocations: 10.76 MB / 27.63 MB, free: 1.785 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.854/1.854, allocations: 205.4 MB / 236.2 MB, free: 12.23 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.0008299/0.0008299, allocations: 92.66 kB / 287 MB, free: 12.66 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0004952/0.0004953, allocations: 12 kB / 347.6 MB, free: 15.91 MB / 298.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2566, allocations: 50 MB / 397.6 MB, free: 34.64 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1021/0.3588, allocations: 77.5 MB / 475.1 MB, free: 5.039 MB / 346.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/0.3591, allocations: 75.95 kB / 475.2 MB, free: 4.965 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.01086/0.37, allocations: 4.067 MB / 479.3 MB, free: 0.8867 MB / 346.8 MB Notification: Performance of FrontEnd: time 2.024e-06/0.37, allocations: 0 / 479.3 MB, free: 0.8867 MB / 346.8 MB Notification: Performance of Transformations before backend: time 1.487e-05/0.3701, allocations: 0 / 479.3 MB, free: 0.8867 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.0006234/0.3707, allocations: 446.8 kB / 479.7 MB, free: 408 kB / 346.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.3707, allocations: 8.031 kB / 479.7 MB, free: 400 kB / 346.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.766e-05/0.3708, allocations: 16.75 kB / 479.7 MB, free: 384 kB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003052/0.3711, allocations: 231.9 kB / 479.9 MB, free: 112 kB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.178e-05/0.3712, allocations: 8.375 kB / 480 MB, free: 104 kB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.423e-05/0.3712, allocations: 12.36 kB / 480 MB, free: 92 kB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003058/0.3715, allocations: 134.5 kB / 480.1 MB, free: 15.94 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.3716, allocations: 192 / 480.1 MB, free: 15.94 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.3716, allocations: 3.938 kB / 480.1 MB, free: 15.93 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/0.3716, allocations: 4 kB / 480.1 MB, free: 15.93 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.3718, allocations: 67.83 kB / 480.2 MB, free: 15.86 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007974/0.3726, allocations: 404.5 kB / 480.6 MB, free: 15.42 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.3728, allocations: 126.7 kB / 480.7 MB, free: 15.29 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001213/0.373, allocations: 56.84 kB / 480.7 MB, free: 15.23 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.373, allocations: 7.938 kB / 480.8 MB, free: 15.22 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002595/0.3733, allocations: 111.3 kB / 480.9 MB, free: 15.1 MB / 362.8 MB Notification: Performance of pre-optimization done (n=14): time 1.843e-06/0.3733, allocations: 0 / 480.9 MB, free: 15.1 MB / 362.8 MB Notification: Performance of matching and sorting (n=14): time 0.0004557/0.3737, allocations: 201.4 kB / 481.1 MB, free: 14.89 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.907e-05/0.3738, allocations: 170.2 kB / 481.2 MB, free: 14.69 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.374, allocations: 196.5 kB / 481.4 MB, free: 14.49 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.3741, allocations: 29.7 kB / 481.4 MB, free: 14.46 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.68e-05/0.3741, allocations: 124 kB / 481.6 MB, free: 14.33 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.027e-05/0.3742, allocations: 39.45 kB / 481.6 MB, free: 14.29 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.934e-06/0.3742, allocations: 8 kB / 481.6 MB, free: 14.29 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.3744, allocations: 330.8 kB / 481.9 MB, free: 13.95 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.812e-05/0.3744, allocations: 39.97 kB / 482 MB, free: 13.91 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.3746, allocations: 113.4 kB / 482.1 MB, free: 13.77 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002132/0.3748, allocations: 125.9 kB / 482.2 MB, free: 13.62 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3748, allocations: 4 kB / 482.2 MB, free: 13.62 MB / 362.8 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002929/0.3751, allocations: 177.2 kB / 482.4 MB, free: 13.44 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.3752, allocations: 4 kB / 482.4 MB, free: 13.44 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.3752, allocations: 4.188 kB / 482.4 MB, free: 13.43 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.3752, allocations: 4 kB / 482.4 MB, free: 13.43 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.3754, allocations: 31.92 kB / 482.4 MB, free: 13.4 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.3754, allocations: 11.88 kB / 482.4 MB, free: 13.39 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001548/0.3755, allocations: 23.88 kB / 482.5 MB, free: 13.36 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.3756, allocations: 11.98 kB / 482.5 MB, free: 13.35 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 () * 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.0001202/0.3757, allocations: 132.9 kB / 482.6 MB, free: 13.21 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.074e-05/0.3757, allocations: 19.81 kB / 482.6 MB, free: 13.2 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.519e-05/0.3758, allocations: 17.53 kB / 482.6 MB, free: 13.18 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.3758, allocations: 0 / 482.6 MB, free: 13.18 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.473e-06/0.3758, allocations: 7.875 kB / 482.7 MB, free: 13.17 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.3758, allocations: 0 / 482.7 MB, free: 13.17 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005539/0.3764, allocations: 471.3 kB / 483.1 MB, free: 12.66 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3764, allocations: 4 kB / 483.1 MB, free: 12.65 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001601/0.3766, allocations: 19.98 kB / 483.1 MB, free: 12.63 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.62e-06/0.3766, allocations: 3.938 kB / 483.1 MB, free: 12.63 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/0.3766, allocations: 8 kB / 483.1 MB, free: 12.62 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3766, allocations: 0 / 483.1 MB, free: 12.62 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.3766, allocations: 0 / 483.1 MB, free: 12.62 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000458/0.3771, allocations: 316.4 kB / 483.5 MB, free: 12.3 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.541e-05/0.3772, allocations: 96.89 kB / 483.6 MB, free: 12.18 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.657e-05/0.3772, allocations: 11.94 kB / 483.6 MB, free: 12.17 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.3774, allocations: 15.98 kB / 483.6 MB, free: 12.16 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.79e-05/0.3774, allocations: 11.98 kB / 483.6 MB, free: 12.14 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.227e-05/0.3775, allocations: 4 kB / 483.6 MB, free: 12.14 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.0001189/0.3776, allocations: 144.3 kB / 483.7 MB, free: 12 MB / 362.8 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3776, allocations: 4.062 kB / 483.7 MB, free: 12 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0002968/0.3779, allocations: 39.98 kB / 483.8 MB, free: 11.96 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) * 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.0001847/0.3781, allocations: 119.2 kB / 483.9 MB, free: 11.83 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0002572/0.3784, allocations: 115.8 kB / 484 MB, free: 11.71 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3784, allocations: 384 / 484 MB, free: 11.71 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001175/0.3785, allocations: 61.16 kB / 484.1 MB, free: 11.66 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/0.3788, allocations: 27.98 kB / 484.1 MB, free: 11.63 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007507/0.3796, allocations: 343.9 kB / 484.4 MB, free: 11.27 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.3799, allocations: 0.7127 MB / 485.1 MB, free: 10.53 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 9.273e-05/0.38, allocations: 21.55 kB / 485.2 MB, free: 10.51 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.169e-05/0.3801, allocations: 23.42 kB / 485.2 MB, free: 10.48 MB / 362.8 MB Notification: Performance of SimCode: time 5.62e-07/0.3801, allocations: 0 / 485.2 MB, free: 10.48 MB / 362.8 MB Notification: Performance of Templates: time 0.00488/0.3849, allocations: 1.697 MB / 486.9 MB, free: 8.793 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)