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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 169 kB / 23.49 MB, free: 1.066 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.124/1.124, allocations: 177.1 MB / 203.8 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.03863/0.03863, allocations: 8.61 MB / 268.9 MB, free: 4.988 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.LinearSystems.Examples.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic") translateModel(IndustrialControlSystems.LinearSystems.Examples.Basic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 340.9 MB, free: 8.746 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.764e-05/2.975e-05, allocations: 6.25 kB / 340.9 MB, free: 8.738 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.Basic): time 0.003003/0.003033, allocations: 1.851 MB / 342.7 MB, free: 6.879 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.004115, allocations: 0.5524 MB / 343.3 MB, free: 6.324 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001373/0.004252, allocations: 4 kB / 343.3 MB, free: 6.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 5.336e-05/0.004306, allocations: 19.69 kB / 343.3 MB, free: 6.301 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001674/0.004473, allocations: 39.66 kB / 343.3 MB, free: 6.262 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006108/0.005084, allocations: 187.3 kB / 343.5 MB, free: 6.078 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000283/0.005367, allocations: 207.4 kB / 343.7 MB, free: 5.875 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/0.005543, allocations: 36.5 kB / 343.8 MB, free: 5.84 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001439/0.005687, allocations: 127.6 kB / 343.9 MB, free: 5.715 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001128/0.0058, allocations: 71.7 kB / 344 MB, free: 5.645 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.437e-05/0.005834, allocations: 20 kB / 344 MB, free: 5.625 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000229/0.006063, allocations: 143.8 kB / 344.1 MB, free: 5.484 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.905e-05/0.006112, allocations: 51.77 kB / 344.2 MB, free: 5.434 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.094e-05/0.006183, allocations: 79.62 kB / 344.3 MB, free: 5.355 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004181/0.006601, allocations: 275.1 kB / 344.5 MB, free: 5.086 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.006606, allocations: 7.938 kB / 344.5 MB, free: 5.078 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.006607, allocations: 0 / 344.5 MB, free: 5.078 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.006613, allocations: 0 / 344.5 MB, free: 5.078 MB / 266.7 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.0007627/0.007376, allocations: 0.5809 MB / 345.1 MB, free: 4.457 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.00742, allocations: 12.03 kB / 345.1 MB, free: 4.445 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.896e-05/0.007519, allocations: 44.69 kB / 345.2 MB, free: 4.402 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002717/0.00779, allocations: 211.6 kB / 345.4 MB, free: 4.164 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.00781, allocations: 8.375 kB / 345.4 MB, free: 4.156 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.389e-05/0.007854, allocations: 16.38 kB / 345.4 MB, free: 4.141 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003269/0.008181, allocations: 286.6 kB / 345.7 MB, free: 3.809 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.008194, allocations: 192 / 345.7 MB, free: 3.809 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.008217, allocations: 8.375 kB / 345.7 MB, free: 3.801 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.149e-05/0.008229, allocations: 4.375 kB / 345.7 MB, free: 3.797 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.008342, allocations: 35.91 kB / 345.7 MB, free: 3.762 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007908/0.009133, allocations: 483.3 kB / 346.2 MB, free: 3.254 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.009371, allocations: 95.05 kB / 346.3 MB, free: 3.148 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.476e-05/0.009456, allocations: 47.64 kB / 346.3 MB, free: 3.098 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.147e-05/0.009467, allocations: 0 / 346.3 MB, free: 3.098 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002029/0.00967, allocations: 128.9 kB / 346.5 MB, free: 2.957 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 2.405e-06/0.009673, allocations: 3.984 kB / 346.5 MB, free: 2.953 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0004362/0.01011, allocations: 208 kB / 346.7 MB, free: 2.746 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.01016, allocations: 162.2 kB / 346.8 MB, free: 2.551 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002234/0.01039, allocations: 312.2 kB / 347.1 MB, free: 2.23 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.01041, allocations: 37.7 kB / 347.2 MB, free: 2.188 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.882e-05/0.0105, allocations: 195.2 kB / 347.4 MB, free: 1.992 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.583e-05/0.01054, allocations: 67.42 kB / 347.4 MB, free: 1.926 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.764e-05/0.01062, allocations: 63.64 kB / 347.5 MB, free: 1.852 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.719e-05/0.0107, allocations: 0.5078 MB / 348 MB, free: 1.332 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.554e-05/0.01077, allocations: 40.19 kB / 348 MB, free: 1.293 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001618/0.01094, allocations: 322.5 kB / 348.3 MB, free: 0.8711 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002428/0.01118, allocations: 238.8 kB / 348.6 MB, free: 0.5703 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.01118, allocations: 4 kB / 348.6 MB, free: 0.5664 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.000332/0.01152, allocations: 237.3 kB / 348.8 MB, free: 336 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.01154, allocations: 8 kB / 348.8 MB, free: 328 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.01155, allocations: 4 kB / 348.8 MB, free: 324 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.01156, allocations: 4 kB / 348.8 MB, free: 320 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002522/0.01182, allocations: 67.84 kB / 348.9 MB, free: 252 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.01183, allocations: 4 kB / 348.9 MB, free: 248 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001312/0.01196, allocations: 23.89 kB / 348.9 MB, free: 224 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.665e-05/0.01197, allocations: 12 kB / 348.9 MB, free: 212 kB / 266.7 MB Warning: Assuming fixed start value for the following 1 variables: complexPoles_dig.u_pre1:DISCRETE(fixed = true 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 (complexPoles_dig.y,$PRE.complexPoles_dig.y,$PRE.complexPoles_dig.u_pre1,complexPoles_dig.u_pre1,complexPoles_dig.y_pre1,$PRE.complexPoles_dig.y_pre1,lLag_dig.y,$PRE.lLag_dig.y,fO_dig.y,$PRE.fO_dig.y,int_dig.y,$PRE.int_dig.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001409/0.01212, allocations: 192.6 kB / 349.1 MB, free: 8 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.871e-05/0.01219, allocations: 36 kB / 349.2 MB, free: 15.97 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.061e-05/0.01225, allocations: 30.11 kB / 349.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.01226, allocations: 0 / 349.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.01226, allocations: 4 kB / 349.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.01227, allocations: 0 / 349.2 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005872/0.01286, allocations: 488.9 kB / 349.7 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.01286, allocations: 0 / 349.7 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/0.01306, allocations: 31.98 kB / 349.7 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.01307, allocations: 4 kB / 349.7 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.616e-05/0.01309, allocations: 7.984 kB / 349.7 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.27e-05/0.0131, allocations: 7.938 kB / 349.7 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.01311, allocations: 0 / 349.7 MB, free: 15.37 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00049/0.0136, allocations: 366 kB / 350.1 MB, free: 15 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.964e-05/0.01364, allocations: 31.73 kB / 350.1 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.579e-05/0.01368, allocations: 8 kB / 350.1 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.01381, allocations: 7.984 kB / 350.1 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.968e-05/0.01387, allocations: 11.98 kB / 350.1 MB, free: 14.94 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.01388, allocations: 7.984 kB / 350.1 MB, free: 14.93 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001864/0.01407, allocations: 221.1 kB / 350.4 MB, free: 14.71 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.01407, allocations: 0 / 350.4 MB, free: 14.71 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004396/0.01451, allocations: 79.8 kB / 350.4 MB, free: 14.63 MB / 282.7 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) * Number of clocked states: 0 () * 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 (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.0002866/0.0148, allocations: 171.5 kB / 350.6 MB, free: 14.45 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003085/0.01511, allocations: 133.2 kB / 350.7 MB, free: 14.32 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.01511, allocations: 4.062 kB / 350.7 MB, free: 14.32 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.01523, allocations: 66.33 kB / 350.8 MB, free: 14.25 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.01565, allocations: 58.66 kB / 350.9 MB, free: 14.2 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001208/0.01686, allocations: 489.9 kB / 351.3 MB, free: 13.7 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.867e-05/0.01693, allocations: 80.33 kB / 351.4 MB, free: 13.59 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001177/0.01705, allocations: 34.31 kB / 351.5 MB, free: 13.56 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.582e-05/0.01712, allocations: 28.48 kB / 351.5 MB, free: 13.53 MB / 282.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01712, allocations: 0 / 351.5 MB, free: 13.53 MB / 282.7 MB Notification: Performance of Templates: time 0.007889/0.02501, allocations: 3.257 MB / 354.7 MB, free: 10.32 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.makefile [Timeout 660] (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=240 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0451513391453773]