Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.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.BasicComparisonFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO") translateModel(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001478/0.001479, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06138/0.06138, allocations: 10.65 MB / 23.91 MB, free: 1.379 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.785/1.785, allocations: 205.2 MB / 232.1 MB, free: 12.84 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.0009074/0.0009074, allocations: 97.19 kB / 282.6 MB, free: 13.59 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 2.941e-05/2.944e-05, allocations: 4 kB / 340.5 MB, free: 3.633 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2769, allocations: 49.98 MB / 390.5 MB, free: 35.75 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1027/0.3796, allocations: 77.29 MB / 467.8 MB, free: 6.348 MB / 346.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000246/0.3799, allocations: 71.95 kB / 467.8 MB, free: 6.277 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.006335/0.3862, allocations: 2.41 MB / 470.2 MB, free: 3.855 MB / 346.8 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3863, allocations: 0 / 470.2 MB, free: 3.855 MB / 346.8 MB Notification: Performance of Transformations before backend: time 1.653e-05/0.3863, allocations: 4 kB / 470.2 MB, free: 3.852 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004741/0.3868, allocations: 393.9 kB / 470.6 MB, free: 3.426 MB / 346.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.3869, allocations: 12.03 kB / 470.6 MB, free: 3.414 MB / 346.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.078e-05/0.3869, allocations: 15.77 kB / 470.6 MB, free: 3.398 MB / 346.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002553/0.3872, allocations: 216.8 kB / 470.9 MB, free: 3.148 MB / 346.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.3872, allocations: 12 kB / 470.9 MB, free: 3.137 MB / 346.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.847e-05/0.3872, allocations: 4 kB / 470.9 MB, free: 3.133 MB / 346.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000178/0.3874, allocations: 82.64 kB / 471 MB, free: 3.047 MB / 346.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.3875, allocations: 0 / 471 MB, free: 3.047 MB / 346.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.728e-05/0.3875, allocations: 4 kB / 471 MB, free: 3.043 MB / 346.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.3875, allocations: 4 kB / 471 MB, free: 3.039 MB / 346.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.258e-05/0.3876, allocations: 39.89 kB / 471 MB, free: 3 MB / 346.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007445/0.3883, allocations: 376.6 kB / 471.4 MB, free: 2.582 MB / 346.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001969/0.3885, allocations: 98.64 kB / 471.5 MB, free: 2.477 MB / 346.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.407e-05/0.3887, allocations: 52.84 kB / 471.5 MB, free: 2.422 MB / 346.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.3887, allocations: 4.188 kB / 471.5 MB, free: 2.418 MB / 346.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002377/0.3889, allocations: 111.2 kB / 471.6 MB, free: 2.297 MB / 346.8 MB Notification: Performance of pre-optimization done (n=13): time 2.054e-06/0.3889, allocations: 0 / 471.6 MB, free: 2.297 MB / 346.8 MB Notification: Performance of matching and sorting (n=13): time 0.0003361/0.3893, allocations: 130.2 kB / 471.8 MB, free: 2.164 MB / 346.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.011e-05/0.3893, allocations: 55.41 kB / 471.8 MB, free: 2.098 MB / 346.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.3896, allocations: 155.4 kB / 472 MB, free: 1.934 MB / 346.8 MB Notification: Performance of collectPreVariables (initialization): time 2.503e-05/0.3896, allocations: 29.7 kB / 472 MB, free: 1.898 MB / 346.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.01e-05/0.3897, allocations: 116.1 kB / 472.1 MB, free: 1.781 MB / 346.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.575e-05/0.3897, allocations: 43.45 kB / 472.2 MB, free: 1.738 MB / 346.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.295e-06/0.3898, allocations: 0 / 472.2 MB, free: 1.738 MB / 346.8 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.3899, allocations: 330.8 kB / 472.5 MB, free: 1.406 MB / 346.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.032e-05/0.39, allocations: 24 kB / 472.5 MB, free: 1.383 MB / 346.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001111/0.3901, allocations: 74 kB / 472.6 MB, free: 1.289 MB / 346.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.734e-05/0.3902, allocations: 37.73 kB / 472.6 MB, free: 1.254 MB / 346.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.3902, allocations: 3.953 kB / 472.6 MB, free: 1.25 MB / 346.8 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002471/0.3905, allocations: 157.5 kB / 472.8 MB, free: 1.09 MB / 346.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.3905, allocations: 4.938 kB / 472.8 MB, free: 1.086 MB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.3905, allocations: 4 kB / 472.8 MB, free: 1.082 MB / 346.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.3906, allocations: 0 / 472.8 MB, free: 1.082 MB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001807/0.3907, allocations: 27.98 kB / 472.8 MB, free: 1.055 MB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.648e-05/0.3908, allocations: 7.938 kB / 472.8 MB, free: 1.047 MB / 346.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.466e-05/0.3909, allocations: 12.12 kB / 472.8 MB, free: 1.035 MB / 346.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.3909, allocations: 11.94 kB / 472.8 MB, free: 1.023 MB / 346.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.fO_dig_BE.y,fO_dig_BE.y,$PRE.fO_dig_FE.y,fO_dig_FE.y,$PRE.fO_dig_TU.y,fO_dig_TU.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.399e-05/0.391, allocations: 124.9 kB / 473 MB, free: 0.8945 MB / 346.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.391, allocations: 11.86 kB / 473 MB, free: 0.8828 MB / 346.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.595e-05/0.3911, allocations: 17.66 kB / 473 MB, free: 0.8711 MB / 346.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.3911, allocations: 0 / 473 MB, free: 0.8711 MB / 346.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.3911, allocations: 0 / 473 MB, free: 0.8711 MB / 346.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3911, allocations: 4 kB / 473 MB, free: 0.8672 MB / 346.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004709/0.3916, allocations: 430.9 kB / 473.4 MB, free: 400 kB / 346.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.3916, allocations: 0 / 473.4 MB, free: 400 kB / 346.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.3917, allocations: 23.98 kB / 473.4 MB, free: 376 kB / 346.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.3917, allocations: 0 / 473.4 MB, free: 376 kB / 346.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.3917, allocations: 8 kB / 473.4 MB, free: 368 kB / 346.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3918, allocations: 0 / 473.4 MB, free: 368 kB / 346.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3918, allocations: 4 kB / 473.4 MB, free: 364 kB / 346.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003704/0.3921, allocations: 281.4 kB / 473.7 MB, free: 68 kB / 346.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.168e-05/0.3922, allocations: 88.95 kB / 473.8 MB, free: 15.96 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.954e-05/0.3923, allocations: 7.984 kB / 473.8 MB, free: 15.95 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.754e-05/0.3923, allocations: 8.062 kB / 473.8 MB, free: 15.95 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.326e-05/0.3924, allocations: 7.984 kB / 473.8 MB, free: 15.94 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.3924, allocations: 8 kB / 473.8 MB, free: 15.93 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.0001182/0.3926, allocations: 120.9 kB / 474 MB, free: 15.81 MB / 362.8 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3926, allocations: 0 / 474 MB, free: 15.81 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0002998/0.3929, allocations: 35.94 kB / 474 MB, free: 15.78 MB / 362.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (fO.y) * Number of discrete variables: 6 ($whenCondition3,$whenCondition2,$whenCondition1,fO_dig_BE.y,fO_dig_FE.y,fO_dig_TU.y) * Number of discrete states: 6 (fO_dig_TU.u,fO_dig_TU.y,fO_dig_FE.u,fO_dig_FE.y,fO_dig_BE.u,fO_dig_BE.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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.0002227/0.3931, allocations: 123.1 kB / 474.1 MB, free: 15.64 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0002101/0.3933, allocations: 91.92 kB / 474.2 MB, free: 15.55 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3933, allocations: 4 kB / 474.2 MB, free: 15.55 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 9.121e-05/0.3934, allocations: 44.69 kB / 474.2 MB, free: 15.51 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.3937, allocations: 28.64 kB / 474.3 MB, free: 15.48 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000644/0.3944, allocations: 209.3 kB / 474.5 MB, free: 15.26 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003005/0.3947, allocations: 0.7131 MB / 475.2 MB, free: 14.52 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 8.309e-05/0.3948, allocations: 25.12 kB / 475.2 MB, free: 14.49 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.011e-05/0.3948, allocations: 15.44 kB / 475.2 MB, free: 14.48 MB / 362.8 MB Notification: Performance of SimCode: time 6.21e-07/0.3948, allocations: 0 / 475.2 MB, free: 14.48 MB / 362.8 MB Notification: Performance of Templates: time 0.003829/0.3987, allocations: 1.22 MB / 476.5 MB, free: 13.3 MB / 362.8 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.sim & ./IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe 2>&1)