Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.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.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic") translateModel(IndustrialControlSystems.LinearSystems.Examples.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002304/0.002304, allocations: 175 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.08452/0.08452, allocations: 10.66 MB / 23.92 MB, free: 1.375 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.878/1.878, allocations: 205.2 MB / 232.1 MB, free: 12.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.0009364/0.0009363, allocations: 86.47 kB / 282.6 MB, free: 13.57 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 2.527e-05/2.537e-05, allocations: 4 kB / 340.5 MB, free: 3.613 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2662/0.2663, allocations: 49.98 MB / 390.5 MB, free: 35.72 MB / 298.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1088/0.3751, allocations: 78.57 MB / 469 MB, free: 5.043 MB / 346.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003108/0.3755, allocations: 75.95 kB / 469.1 MB, free: 4.969 MB / 346.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.01456/0.3901, allocations: 5.166 MB / 474.3 MB, free: 15.79 MB / 362.8 MB Notification: Performance of FrontEnd: time 1.413e-06/0.3901, allocations: 0 / 474.3 MB, free: 15.79 MB / 362.8 MB Notification: Performance of Transformations before backend: time 1.626e-05/0.3902, allocations: 8 kB / 474.3 MB, free: 15.78 MB / 362.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007388/0.3909, allocations: 0.4921 MB / 474.8 MB, free: 15.24 MB / 362.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.391, allocations: 15.97 kB / 474.8 MB, free: 15.23 MB / 362.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.247e-05/0.3911, allocations: 35.67 kB / 474.8 MB, free: 15.19 MB / 362.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004033/0.3915, allocations: 270.4 kB / 475.1 MB, free: 14.89 MB / 362.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.3915, allocations: 11.94 kB / 475.1 MB, free: 14.88 MB / 362.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.465e-05/0.3916, allocations: 19.98 kB / 475.1 MB, free: 14.86 MB / 362.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003068/0.3919, allocations: 163.4 kB / 475.3 MB, free: 14.68 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.3919, allocations: 4 kB / 475.3 MB, free: 14.67 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.586e-05/0.3919, allocations: 7.984 kB / 475.3 MB, free: 14.66 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.392, allocations: 4 kB / 475.3 MB, free: 14.66 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.3921, allocations: 51.95 kB / 475.3 MB, free: 14.61 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009914/0.3931, allocations: 0.5275 MB / 475.9 MB, free: 14.03 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002961/0.3934, allocations: 135.1 kB / 476 MB, free: 13.89 MB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.3935, allocations: 60.84 kB / 476.1 MB, free: 13.83 MB / 362.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.3935, allocations: 0 / 476.1 MB, free: 13.83 MB / 362.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002815/0.3938, allocations: 131.3 kB / 476.2 MB, free: 13.69 MB / 362.8 MB Notification: Performance of pre-optimization done (n=20): time 1.613e-06/0.3938, allocations: 0 / 476.2 MB, free: 13.69 MB / 362.8 MB Notification: Performance of matching and sorting (n=20): time 0.0004085/0.3943, allocations: 207.2 kB / 476.4 MB, free: 13.48 MB / 362.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.3944, allocations: 166.2 kB / 476.6 MB, free: 13.28 MB / 362.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.3946, allocations: 231.1 kB / 476.8 MB, free: 13.05 MB / 362.8 MB Notification: Performance of collectPreVariables (initialization): time 3.202e-05/0.3947, allocations: 37.7 kB / 476.8 MB, free: 13 MB / 362.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.3948, allocations: 148.7 kB / 477 MB, free: 12.86 MB / 362.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.786e-05/0.3948, allocations: 67.08 kB / 477 MB, free: 12.79 MB / 362.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.059e-05/0.3949, allocations: 4 kB / 477 MB, free: 12.79 MB / 362.8 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.395, allocations: 342.8 kB / 477.4 MB, free: 12.44 MB / 362.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.604e-05/0.3951, allocations: 44.28 kB / 477.4 MB, free: 12.39 MB / 362.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.3953, allocations: 185.5 kB / 477.6 MB, free: 12.15 MB / 362.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001456/0.3954, allocations: 81.72 kB / 477.7 MB, free: 12.07 MB / 362.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.3955, allocations: 0 / 477.7 MB, free: 12.07 MB / 362.8 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003786/0.3958, allocations: 249.3 kB / 477.9 MB, free: 11.82 MB / 362.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.3959, allocations: 8 kB / 477.9 MB, free: 11.82 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.3959, allocations: 4 kB / 477.9 MB, free: 11.81 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.3959, allocations: 7.938 kB / 477.9 MB, free: 11.8 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002586/0.3962, allocations: 59.91 kB / 478 MB, free: 11.75 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.639e-05/0.3962, allocations: 11.94 kB / 478 MB, free: 11.73 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001712/0.3964, allocations: 31.73 kB / 478 MB, free: 11.7 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.3964, allocations: 12.16 kB / 478.1 MB, free: 11.69 MB / 362.8 MB Warning: Assuming fixed start value for the following 1 variables: complexPoles_dig.u_pre1:DISCRETE(fixed = false protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.complexPoles_dig.y,complexPoles_dig.y,$PRE.complexPoles_dig.u_pre1,complexPoles_dig.u_pre1,$PRE.complexPoles_dig.y_pre1,complexPoles_dig.y_pre1,$PRE.lLag_dig.y,lLag_dig.y,$PRE.fO_dig.y,fO_dig.y,$PRE.int_dig.y,int_dig.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0001995/0.3966, allocations: 135 kB / 478.2 MB, free: 11.55 MB / 362.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.065e-05/0.3967, allocations: 27.72 kB / 478.2 MB, free: 11.53 MB / 362.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.966e-05/0.3967, allocations: 25.95 kB / 478.2 MB, free: 11.5 MB / 362.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.3968, allocations: 4 kB / 478.2 MB, free: 11.5 MB / 362.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.3968, allocations: 0 / 478.2 MB, free: 11.5 MB / 362.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.3968, allocations: 0 / 478.2 MB, free: 11.5 MB / 362.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007168/0.3975, allocations: 0.5489 MB / 478.8 MB, free: 10.89 MB / 362.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3975, allocations: 0 / 478.8 MB, free: 10.89 MB / 362.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002217/0.3977, allocations: 31.98 kB / 478.8 MB, free: 10.86 MB / 362.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.3978, allocations: 0 / 478.8 MB, free: 10.86 MB / 362.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.3978, allocations: 11.98 kB / 478.8 MB, free: 10.85 MB / 362.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.3978, allocations: 0 / 478.8 MB, free: 10.85 MB / 362.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3978, allocations: 0 / 478.8 MB, free: 10.85 MB / 362.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005271/0.3983, allocations: 382.2 kB / 479.2 MB, free: 10.46 MB / 362.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.043e-05/0.3984, allocations: 108.8 kB / 479.3 MB, free: 10.34 MB / 362.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.837e-05/0.3985, allocations: 12.06 kB / 479.3 MB, free: 10.33 MB / 362.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.3986, allocations: 15.98 kB / 479.3 MB, free: 10.31 MB / 362.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.578e-05/0.3987, allocations: 7.984 kB / 479.3 MB, free: 10.3 MB / 362.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.3987, allocations: 15.98 kB / 479.4 MB, free: 10.29 MB / 362.8 MB Notification: Performance of sorting global known variables: time 0.0001752/0.3989, allocations: 179.1 kB / 479.5 MB, free: 10.12 MB / 362.8 MB Notification: Performance of sort global known variables: time 3.2e-07/0.3989, allocations: 0 / 479.5 MB, free: 10.12 MB / 362.8 MB Notification: Performance of remove unused functions: time 0.0004279/0.3994, allocations: 99.86 kB / 479.6 MB, free: 10.02 MB / 362.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (int.y,fO.y,lLag.dy,complexPoles.y,complexPoles.dy) * Number of discrete variables: 10 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,int_dig.y,fO_dig.y,lLag_dig.y,complexPoles_dig.y,complexPoles_dig.u_pre1,complexPoles_dig.y_pre1) * Number of discrete states: 10 (complexPoles_dig.u,complexPoles_dig.u_pre1,complexPoles_dig.y,complexPoles_dig.y_pre1,lLag_dig.u,lLag_dig.y,fO_dig.u,fO_dig.y,int_dig.u,int_dig.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0002679/0.3996, allocations: 176 kB / 479.8 MB, free: 9.84 MB / 362.8 MB Notification: Performance of simCode: created initialization part: time 0.0003005/0.3999, allocations: 151.8 kB / 480 MB, free: 9.691 MB / 362.8 MB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.4, allocations: 4.938 kB / 480 MB, free: 9.688 MB / 362.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.4001, allocations: 71.92 kB / 480 MB, free: 9.617 MB / 362.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003123/0.4004, allocations: 49.31 kB / 480.1 MB, free: 9.566 MB / 362.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.4015, allocations: 417.5 kB / 480.5 MB, free: 9.141 MB / 362.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.4018, allocations: 0.7559 MB / 481.2 MB, free: 8.355 MB / 362.8 MB Notification: Performance of simCode: alias equations: time 0.0001132/0.402, allocations: 34.09 kB / 481.3 MB, free: 8.324 MB / 362.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.1e-05/0.402, allocations: 23.44 kB / 481.3 MB, free: 8.301 MB / 362.8 MB Notification: Performance of SimCode: time 3.31e-07/0.402, allocations: 0 / 481.3 MB, free: 8.301 MB / 362.8 MB Notification: Performance of Templates: time 0.006252/0.4083, allocations: 2.754 MB / 484.1 MB, free: 5.57 MB / 362.8 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.sim & ./IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe 2>&1)