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.001098/0.001098, allocations: 182.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05587/0.05587, allocations: 10.75 MB / 27.48 MB, free: 1.859 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.38/1.38, allocations: 205.1 MB / 235.7 MB, free: 11.75 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.0008191/0.000819, allocations: 86.38 kB / 285.5 MB, free: 12.88 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0009973/0.0009974, allocations: 51.92 kB / 345.3 MB, free: 0.9961 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.261/0.2621, allocations: 49.01 MB / 394.3 MB, free: 35.58 MB / 298.8 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.002399/0.2645, allocations: 1.687 MB / 396 MB, free: 33.88 MB / 298.8 MB Notification: Performance of NFInst.instExpressions: time 0.0005523/0.2651, allocations: 325.2 kB / 396.3 MB, free: 33.56 MB / 298.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.391e-05/0.2651, allocations: 0 / 396.3 MB, free: 33.56 MB / 298.8 MB Notification: Performance of NFTyping.typeComponents: time 3.854e-05/0.2652, allocations: 3.938 kB / 396.3 MB, free: 33.55 MB / 298.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.2653, allocations: 11.88 kB / 396.3 MB, free: 33.54 MB / 298.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.2656, allocations: 87.84 kB / 396.4 MB, free: 33.46 MB / 298.8 MB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.2657, allocations: 123.6 kB / 396.5 MB, free: 33.34 MB / 298.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001106/0.2658, allocations: 17.55 kB / 396.5 MB, free: 33.32 MB / 298.8 MB Notification: Performance of NFEvalConstants.evaluate: time 4.343e-05/0.2659, allocations: 47.77 kB / 396.6 MB, free: 33.27 MB / 298.8 MB Notification: Performance of NFSimplifyModel.simplify: time 7.268e-05/0.266, allocations: 71.61 kB / 396.7 MB, free: 33.2 MB / 298.8 MB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.266, allocations: 12 kB / 396.7 MB, free: 33.19 MB / 298.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.128e-05/0.2661, allocations: 31.97 kB / 396.7 MB, free: 33.16 MB / 298.8 MB Notification: Performance of NFScalarize.scalarize: time 3.157e-05/0.2661, allocations: 31.8 kB / 396.7 MB, free: 33.12 MB / 298.8 MB Notification: Performance of NFVerifyModel.verify: time 5.539e-05/0.2662, allocations: 55.64 kB / 396.8 MB, free: 33.07 MB / 298.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001581/0.2663, allocations: 131.6 kB / 396.9 MB, free: 32.94 MB / 298.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2663, allocations: 0 / 396.9 MB, free: 32.94 MB / 298.8 MB Notification: Performance of FrontEnd: time 9.61e-07/0.2663, allocations: 0 / 396.9 MB, free: 32.94 MB / 298.8 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.2664, allocations: 0 / 396.9 MB, free: 32.94 MB / 298.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.0005245/0.2669, allocations: 460.8 kB / 397.4 MB, free: 32.44 MB / 298.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.2669, allocations: 8.031 kB / 397.4 MB, free: 32.43 MB / 298.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.893e-05/0.267, allocations: 16.75 kB / 397.4 MB, free: 32.42 MB / 298.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/0.2672, allocations: 232 kB / 397.6 MB, free: 32.15 MB / 298.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.2672, allocations: 4.375 kB / 397.6 MB, free: 32.15 MB / 298.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.2672, allocations: 8.375 kB / 397.6 MB, free: 32.14 MB / 298.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002284/0.2674, allocations: 150.2 kB / 397.8 MB, free: 31.97 MB / 298.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.2675, allocations: 192 / 397.8 MB, free: 31.97 MB / 298.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.57e-05/0.2675, allocations: 7.938 kB / 397.8 MB, free: 31.96 MB / 298.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.2675, allocations: 7.938 kB / 397.8 MB, free: 31.96 MB / 298.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.2676, allocations: 47.97 kB / 397.8 MB, free: 31.91 MB / 298.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005263/0.2681, allocations: 408.5 kB / 398.2 MB, free: 31.46 MB / 298.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001842/0.2683, allocations: 114.6 kB / 398.3 MB, free: 31.34 MB / 298.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.194e-05/0.2684, allocations: 60.78 kB / 398.4 MB, free: 31.28 MB / 298.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.2685, allocations: 3.984 kB / 398.4 MB, free: 31.27 MB / 298.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001765/0.2686, allocations: 114.5 kB / 398.5 MB, free: 31.15 MB / 298.8 MB Notification: Performance of pre-optimization done (n=14): time 1.373e-06/0.2687, allocations: 0 / 398.5 MB, free: 31.15 MB / 298.8 MB Notification: Performance of matching and sorting (n=14): time 0.0003549/0.269, allocations: 197.4 kB / 398.7 MB, free: 30.95 MB / 298.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.698e-05/0.2691, allocations: 162.2 kB / 398.9 MB, free: 30.76 MB / 298.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.2692, allocations: 200.5 kB / 399.1 MB, free: 30.55 MB / 298.8 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.2692, allocations: 29.7 kB / 399.1 MB, free: 30.52 MB / 298.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.699e-05/0.2693, allocations: 119.9 kB / 399.2 MB, free: 30.4 MB / 298.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.089e-05/0.2693, allocations: 43.44 kB / 399.3 MB, free: 30.36 MB / 298.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-05/0.2694, allocations: 41.7 kB / 399.3 MB, free: 30.31 MB / 298.8 MB Notification: Performance of setup shared object (initialization): time 6.393e-05/0.2694, allocations: 330.8 kB / 399.6 MB, free: 29.98 MB / 298.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.138e-05/0.2695, allocations: 39.97 kB / 399.7 MB, free: 29.94 MB / 298.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.649e-05/0.2696, allocations: 113.4 kB / 399.8 MB, free: 29.79 MB / 298.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001595/0.2698, allocations: 133.8 kB / 399.9 MB, free: 29.64 MB / 298.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2698, allocations: 0 / 399.9 MB, free: 29.64 MB / 298.8 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000222/0.27, allocations: 165.3 kB / 400.1 MB, free: 29.47 MB / 298.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.27, allocations: 8 kB / 400.1 MB, free: 29.46 MB / 298.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.2701, allocations: 0 / 400.1 MB, free: 29.46 MB / 298.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.2701, allocations: 8 kB / 400.1 MB, free: 29.46 MB / 298.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.2702, allocations: 36.05 kB / 400.1 MB, free: 29.42 MB / 298.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.2702, allocations: 7.984 kB / 400.1 MB, free: 29.41 MB / 298.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.2704, allocations: 19.84 kB / 400.1 MB, free: 29.39 MB / 298.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.2704, allocations: 8 kB / 400.1 MB, free: 29.39 MB / 298.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,ll_dig_TU.y,$PRE.ll_dig_TU.y,ll_dig_FE.y,$PRE.ll_dig_FE.y,ll_dig_BE.y,$PRE.ll_dig_BE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.538e-05/0.2705, allocations: 130.4 kB / 400.3 MB, free: 29.25 MB / 298.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.254e-05/0.2705, allocations: 15.81 kB / 400.3 MB, free: 29.23 MB / 298.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.571e-05/0.2705, allocations: 17.53 kB / 400.3 MB, free: 29.22 MB / 298.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.2705, allocations: 7.938 kB / 400.3 MB, free: 29.21 MB / 298.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2706, allocations: 4 kB / 400.3 MB, free: 29.21 MB / 298.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.2706, allocations: 3.984 kB / 400.3 MB, free: 29.21 MB / 298.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003618/0.2709, allocations: 454.5 kB / 400.8 MB, free: 28.71 MB / 298.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.2709, allocations: 0 / 400.8 MB, free: 28.71 MB / 298.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.572e-05/0.271, allocations: 27.92 kB / 400.8 MB, free: 28.68 MB / 298.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.2711, allocations: 7.875 kB / 400.8 MB, free: 28.67 MB / 298.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.2711, allocations: 4 kB / 400.8 MB, free: 28.67 MB / 298.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2711, allocations: 0 / 400.8 MB, free: 28.67 MB / 298.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2711, allocations: 4 kB / 400.8 MB, free: 28.66 MB / 298.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000999/0.2721, allocations: 1.288 MB / 402.1 MB, free: 27.23 MB / 298.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.709e-05/0.2721, allocations: 88.95 kB / 402.2 MB, free: 27.13 MB / 298.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.241e-05/0.2722, allocations: 8 kB / 402.2 MB, free: 27.12 MB / 298.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.2723, allocations: 11.98 kB / 402.2 MB, free: 27.11 MB / 298.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.2724, allocations: 7.984 kB / 402.2 MB, free: 27.1 MB / 298.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.988e-06/0.2724, allocations: 8 kB / 402.2 MB, free: 27.09 MB / 298.8 MB Notification: Performance of sorting global known variables: time 7.546e-05/0.2725, allocations: 140.3 kB / 402.4 MB, free: 26.96 MB / 298.8 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2725, allocations: 4.094 kB / 402.4 MB, free: 26.95 MB / 298.8 MB Notification: Performance of remove unused functions: time 0.0003131/0.2728, allocations: 44 kB / 402.4 MB, free: 26.91 MB / 298.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 (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.0001085/0.2729, allocations: 115.2 kB / 402.5 MB, free: 26.79 MB / 298.8 MB Notification: Performance of simCode: created initialization part: time 0.0002126/0.2731, allocations: 119.8 kB / 402.6 MB, free: 26.67 MB / 298.8 MB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.2731, allocations: 4 kB / 402.6 MB, free: 26.67 MB / 298.8 MB Notification: Performance of simCode: created simulation system equations: time 9.52e-05/0.2732, allocations: 52.3 kB / 402.7 MB, free: 26.62 MB / 298.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.2735, allocations: 35.91 kB / 402.7 MB, free: 26.58 MB / 298.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006209/0.2742, allocations: 484.6 kB / 403.2 MB, free: 26.07 MB / 298.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.2743, allocations: 0.7206 MB / 403.9 MB, free: 25.32 MB / 298.8 MB Notification: Performance of simCode: alias equations: time 6.456e-05/0.2744, allocations: 21.48 kB / 403.9 MB, free: 25.3 MB / 298.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.963e-05/0.2744, allocations: 19.44 kB / 404 MB, free: 25.29 MB / 298.8 MB Notification: Performance of SimCode: time 2.41e-07/0.2744, allocations: 0 / 404 MB, free: 25.29 MB / 298.8 MB Notification: Performance of Templates: time 0.003592/0.278, allocations: 1.845 MB / 405.8 MB, free: 23.45 MB / 298.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)