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.0009466/0.0009467, allocations: 176.2 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.057/0.057, allocations: 10.66 MB / 18.74 MB, free: 1.316 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.445/1.445, allocations: 205.3 MB / 226.9 MB, free: 7.957 MB / 186.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009871/0.0009869, allocations: 97.38 kB / 277.3 MB, free: 5.488 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 1.154e-05/1.148e-05, allocations: 0 / 333.5 MB, free: 28.5 MB / 250.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08174/0.08176, allocations: 50.01 MB / 383.5 MB, free: 10.45 MB / 282.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2918/0.3736, allocations: 77.02 MB / 460.5 MB, free: 7.816 MB / 330.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/0.3739, allocations: 73.17 kB / 460.6 MB, free: 7.777 MB / 330.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.01017/0.3841, allocations: 4.019 MB / 464.6 MB, free: 4.422 MB / 330.8 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3841, allocations: 0 / 464.6 MB, free: 4.422 MB / 330.8 MB Notification: Performance of Transformations before backend: time 1.587e-05/0.3841, allocations: 4 kB / 464.6 MB, free: 4.418 MB / 330.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.000492/0.3846, allocations: 410.8 kB / 465 MB, free: 3.98 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.3847, allocations: 12.03 kB / 465.1 MB, free: 3.969 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.099e-05/0.3847, allocations: 19.77 kB / 465.1 MB, free: 3.949 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000256/0.385, allocations: 224.8 kB / 465.3 MB, free: 3.699 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.385, allocations: 0 / 465.3 MB, free: 3.699 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.729e-05/0.3851, allocations: 10.38 kB / 465.3 MB, free: 3.691 MB / 330.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001129/0.3852, allocations: 37.06 kB / 465.3 MB, free: 3.668 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.3854, allocations: 121.9 kB / 465.5 MB, free: 3.543 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.3854, allocations: 0 / 465.5 MB, free: 3.543 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.3854, allocations: 0 / 465.5 MB, free: 3.543 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.3854, allocations: 4 kB / 465.5 MB, free: 3.539 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005988/0.386, allocations: 383.5 kB / 465.8 MB, free: 3.172 MB / 330.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.3862, allocations: 101 kB / 465.9 MB, free: 3.094 MB / 330.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.443e-05/0.3863, allocations: 53.66 kB / 466 MB, free: 3.055 MB / 330.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.3863, allocations: 4 kB / 466 MB, free: 3.051 MB / 330.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/0.3864, allocations: 96.19 kB / 466.1 MB, free: 2.961 MB / 330.8 MB Notification: Performance of pre-optimization done (n=14): time 1.613e-06/0.3865, allocations: 0 / 466.1 MB, free: 2.961 MB / 330.8 MB Notification: Performance of matching and sorting (n=14): time 0.0004142/0.3869, allocations: 188.9 kB / 466.3 MB, free: 2.801 MB / 330.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.783e-05/0.387, allocations: 160.3 kB / 466.4 MB, free: 2.609 MB / 330.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001342/0.3871, allocations: 172.6 kB / 466.6 MB, free: 2.457 MB / 330.8 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.3871, allocations: 25.7 kB / 466.6 MB, free: 2.426 MB / 330.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.014e-05/0.3872, allocations: 128.6 kB / 466.7 MB, free: 2.316 MB / 330.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.3873, allocations: 34.83 kB / 466.8 MB, free: 2.285 MB / 330.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/0.3873, allocations: 4 kB / 466.8 MB, free: 2.281 MB / 330.8 MB Notification: Performance of setup shared object (initialization): time 0.0001024/0.3874, allocations: 327 kB / 467.1 MB, free: 1.961 MB / 330.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.556e-05/0.3874, allocations: 22.75 kB / 467.1 MB, free: 1.945 MB / 330.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.599e-05/0.3875, allocations: 101 kB / 467.2 MB, free: 1.828 MB / 330.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.887e-05/0.3876, allocations: 50.52 kB / 467.3 MB, free: 1.793 MB / 330.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3876, allocations: 0 / 467.3 MB, free: 1.793 MB / 330.8 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001867/0.3878, allocations: 144.9 kB / 467.4 MB, free: 1.664 MB / 330.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.3878, allocations: 4 kB / 467.4 MB, free: 1.66 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.81e-06/0.3878, allocations: 48 / 467.4 MB, free: 1.66 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.3879, allocations: 11.97 kB / 467.4 MB, free: 1.648 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.388, allocations: 31.94 kB / 467.5 MB, free: 1.617 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.388, allocations: 7.938 kB / 467.5 MB, free: 1.609 MB / 330.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.3882, allocations: 15.91 kB / 467.5 MB, free: 1.594 MB / 330.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.3882, allocations: 7.75 kB / 467.5 MB, free: 1.59 MB / 330.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 9.769e-05/0.3883, allocations: 120.9 kB / 467.6 MB, free: 1.465 MB / 330.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.926e-05/0.3883, allocations: 15.81 kB / 467.6 MB, free: 1.449 MB / 330.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.508e-05/0.3884, allocations: 16.66 kB / 467.6 MB, free: 1.438 MB / 330.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.3884, allocations: 0 / 467.6 MB, free: 1.438 MB / 330.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.006e-06/0.3884, allocations: 3.953 kB / 467.6 MB, free: 1.434 MB / 330.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.3884, allocations: 7.922 kB / 467.7 MB, free: 1.426 MB / 330.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005389/0.389, allocations: 453.8 kB / 468.1 MB, free: 0.9922 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.389, allocations: 0 / 468.1 MB, free: 0.9922 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.3891, allocations: 19.98 kB / 468.1 MB, free: 0.9727 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.3891, allocations: 0 / 468.1 MB, free: 0.9727 MB / 330.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.3891, allocations: 4 kB / 468.1 MB, free: 0.9688 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3891, allocations: 0 / 468.1 MB, free: 0.9688 MB / 330.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.3892, allocations: 7.891 kB / 468.1 MB, free: 0.9609 MB / 330.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004524/0.3896, allocations: 321.1 kB / 468.4 MB, free: 0.6836 MB / 330.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.857e-05/0.3897, allocations: 93.02 kB / 468.5 MB, free: 0.5742 MB / 330.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.053e-05/0.3897, allocations: 7.438 kB / 468.5 MB, free: 0.5703 MB / 330.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.3899, allocations: 11.98 kB / 468.6 MB, free: 0.5586 MB / 330.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.3899, allocations: 11.94 kB / 468.6 MB, free: 0.5469 MB / 330.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.39, allocations: 4 kB / 468.6 MB, free: 0.543 MB / 330.8 MB Notification: Performance of sorting global known variables: time 9.064e-05/0.3901, allocations: 133.8 kB / 468.7 MB, free: 440 kB / 330.8 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3901, allocations: 0 / 468.7 MB, free: 440 kB / 330.8 MB Notification: Performance of remove unused functions: time 0.0002656/0.3903, allocations: 35.94 kB / 468.7 MB, free: 404 kB / 330.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.0001596/0.3905, allocations: 130.9 kB / 468.9 MB, free: 268 kB / 330.8 MB Notification: Performance of simCode: created initialization part: time 0.0001737/0.3907, allocations: 92.44 kB / 469 MB, free: 200 kB / 330.8 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3907, allocations: 0 / 469 MB, free: 200 kB / 330.8 MB Notification: Performance of simCode: created simulation system equations: time 7.501e-05/0.3908, allocations: 46.81 kB / 469 MB, free: 168 kB / 330.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.391, allocations: 28.47 kB / 469 MB, free: 144 kB / 330.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006148/0.3916, allocations: 225.3 kB / 469.2 MB, free: 15.91 MB / 346.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.3919, allocations: 0.7165 MB / 470 MB, free: 15.17 MB / 346.8 MB Notification: Performance of simCode: alias equations: time 7.585e-05/0.392, allocations: 21.86 kB / 470 MB, free: 15.15 MB / 346.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/0.392, allocations: 23.42 kB / 470 MB, free: 15.13 MB / 346.8 MB Notification: Performance of SimCode: time 2.5e-07/0.392, allocations: 0 / 470 MB, free: 15.13 MB / 346.8 MB Notification: Performance of Templates: time 0.004104/0.3962, allocations: 1.572 MB / 471.6 MB, free: 13.57 MB / 346.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)