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.0008331/0.0008331, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0008932/0.0008932, allocations: 181 kB / 23.36 MB, free: 1.133 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 0.8618/0.8618, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.03544/0.03544, allocations: 8.626 MB / 268.9 MB, free: 4.801 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 1.412e-06/1.412e-06, allocations: 0 / 288.1 MB, free: 1.617 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.324e-05/1.465e-05, allocations: 6.25 kB / 288.1 MB, free: 1.609 MB / 266.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.Basic): time 0.1027/0.1027, allocations: 1.829 MB / 289.9 MB, free: 19.21 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007691/0.1035, allocations: 0.5688 MB / 290.5 MB, free: 19.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.515e-05/0.1036, allocations: 2.906 kB / 290.5 MB, free: 19.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.41e-05/0.1036, allocations: 17.06 kB / 290.5 MB, free: 19.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.1037, allocations: 38.28 kB / 290.5 MB, free: 19.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000435/0.1042, allocations: 191.6 kB / 290.7 MB, free: 19.08 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002028/0.1044, allocations: 210.3 kB / 290.9 MB, free: 19.05 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.1045, allocations: 33 kB / 290.9 MB, free: 19.05 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.1046, allocations: 125.6 kB / 291.1 MB, free: 19.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.807e-05/0.1047, allocations: 74.59 kB / 291.1 MB, free: 19 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.013e-05/0.1047, allocations: 19.28 kB / 291.2 MB, free: 19 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000171/0.1049, allocations: 149.6 kB / 291.3 MB, free: 19 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.659e-05/0.1049, allocations: 52.69 kB / 291.4 MB, free: 18.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.753e-05/0.1049, allocations: 66.34 kB / 291.4 MB, free: 18.96 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.1052, allocations: 285.4 kB / 291.7 MB, free: 18.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1052, allocations: 3.016 kB / 291.7 MB, free: 18.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1052, allocations: 0 / 291.7 MB, free: 18.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.1052, allocations: 1.25 kB / 291.7 MB, free: 18.91 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.0004678/0.1057, allocations: 466.6 kB / 292.2 MB, free: 18.55 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.817e-05/0.1057, allocations: 8.938 kB / 292.2 MB, free: 18.55 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.128e-05/0.1058, allocations: 29.39 kB / 292.2 MB, free: 18.55 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.1059, allocations: 191.8 kB / 292.4 MB, free: 18.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.1059, allocations: 12.84 kB / 292.4 MB, free: 18.39 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.776e-05/0.106, allocations: 21.62 kB / 292.4 MB, free: 18.38 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.1061, allocations: 266.7 kB / 292.7 MB, free: 18.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.1061, allocations: 192 / 292.7 MB, free: 18.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.1061, allocations: 7.297 kB / 292.7 MB, free: 18.16 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1062, allocations: 5.125 kB / 292.7 MB, free: 18.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.217e-05/0.1062, allocations: 27.55 kB / 292.7 MB, free: 18.16 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004022/0.1066, allocations: 295.4 kB / 293 MB, free: 17.99 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.1067, allocations: 75.11 kB / 293.1 MB, free: 17.96 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.668e-05/0.1068, allocations: 29.36 kB / 293.1 MB, free: 17.95 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.777e-06/0.1068, allocations: 2.125 kB / 293.1 MB, free: 17.95 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001163/0.1069, allocations: 121.8 kB / 293.2 MB, free: 17.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=20): time 1.213e-06/0.1069, allocations: 0 / 293.2 MB, free: 17.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=20): time 0.0001805/0.1071, allocations: 128.6 kB / 293.4 MB, free: 17.86 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.1071, allocations: 164.4 kB / 293.5 MB, free: 17.67 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.1072, allocations: 243.7 kB / 293.7 MB, free: 17.52 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.1072, allocations: 33 kB / 293.8 MB, free: 17.49 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.286e-05/0.1073, allocations: 132.7 kB / 293.9 MB, free: 17.38 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.665e-05/0.1073, allocations: 63.52 kB / 294 MB, free: 17.34 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.227e-05/0.1074, allocations: 63.86 kB / 294 MB, free: 17.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 3.652e-05/0.1074, allocations: 338.8 kB / 294.4 MB, free: 16.97 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.746e-05/0.1074, allocations: 21.48 kB / 294.4 MB, free: 16.97 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.305e-05/0.1075, allocations: 257.9 kB / 294.6 MB, free: 16.68 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.1076, allocations: 197.1 kB / 294.8 MB, free: 16.52 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.1076, allocations: 1.969 kB / 294.8 MB, free: 16.52 MB / 266.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0001686/0.1078, allocations: 182.3 kB / 295 MB, free: 16.45 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.1078, allocations: 7.469 kB / 295 MB, free: 16.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.1078, allocations: 4.281 kB / 295 MB, free: 16.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.1078, allocations: 6.594 kB / 295 MB, free: 16.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.108, allocations: 60.55 kB / 295.1 MB, free: 16.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.108, allocations: 15.61 kB / 295.1 MB, free: 16.44 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.298e-05/0.108, allocations: 25.44 kB / 295.1 MB, free: 16.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.1081, allocations: 11.64 kB / 295.1 MB, free: 16.43 MB / 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 8.862e-05/0.1081, allocations: 133.5 kB / 295.3 MB, free: 16.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.1082, allocations: 28.28 kB / 295.3 MB, free: 16.29 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.237e-05/0.1082, allocations: 29.11 kB / 295.3 MB, free: 16.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1082, allocations: 2.469 kB / 295.3 MB, free: 16.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.1082, allocations: 1.297 kB / 295.3 MB, free: 16.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.1082, allocations: 2.891 kB / 295.3 MB, free: 16.27 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.1084, allocations: 312.4 kB / 295.6 MB, free: 16.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1084, allocations: 0 / 295.6 MB, free: 16.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.1085, allocations: 36.48 kB / 295.7 MB, free: 16.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.1086, allocations: 1.094 kB / 295.7 MB, free: 16.05 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.1086, allocations: 4.281 kB / 295.7 MB, free: 16.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1086, allocations: 2.25 kB / 295.7 MB, free: 16.05 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1086, allocations: 0 / 295.7 MB, free: 16.05 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001813/0.1087, allocations: 257.9 kB / 295.9 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.845e-05/0.1088, allocations: 24.16 kB / 296 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.445e-05/0.1088, allocations: 8.984 kB / 296 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.015e-05/0.1089, allocations: 10.81 kB / 296 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/0.1089, allocations: 15.17 kB / 296 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.538e-06/0.1089, allocations: 5.562 kB / 296 MB, free: 15.86 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.518e-05/0.109, allocations: 85.47 kB / 296.1 MB, free: 15.84 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.109, allocations: 0 / 296.1 MB, free: 15.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002201/0.1092, allocations: 78.38 kB / 296.2 MB, free: 15.82 MB / 266.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.0001416/0.1093, allocations: 147.5 kB / 296.3 MB, free: 15.74 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001416/0.1095, allocations: 119 kB / 296.4 MB, free: 15.71 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.1095, allocations: 3.344 kB / 296.4 MB, free: 15.71 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.408e-05/0.1095, allocations: 48.16 kB / 296.5 MB, free: 15.7 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001809/0.1097, allocations: 61.7 kB / 296.5 MB, free: 15.67 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005877/0.1103, allocations: 492.4 kB / 297 MB, free: 15.39 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.952e-05/0.1103, allocations: 83.45 kB / 297.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.27e-05/0.1104, allocations: 39.23 kB / 297.1 MB, free: 15.31 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.269e-05/0.1105, allocations: 95.66 kB / 297.2 MB, free: 15.26 MB / 266.7 MB Notification: Performance of SimCode: time 5.21e-07/0.1105, allocations: 0 / 297.2 MB, free: 15.26 MB / 266.7 MB Notification: Performance of Templates: time 0.004929/0.1154, allocations: 3.492 MB / 300.7 MB, free: 14.45 MB / 266.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: 2.439691380597651]