Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 197 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.736/1.736, allocations: 205.1 MB / 222 MB, free: 5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05373/0.05373, allocations: 10.74 MB / 280.1 MB, free: 10.95 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 63.89 kB / 339.9 MB, free: 23.8 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09475/0.09603, allocations: 49.02 MB / 388.9 MB, free: 6.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI): time 0.00308/0.09917, allocations: 1.81 MB / 390.7 MB, free: 4.895 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001253/0.1005, allocations: 0.6398 MB / 391.3 MB, free: 4.246 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.1006, allocations: 7.938 kB / 391.3 MB, free: 4.238 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001673/0.1008, allocations: 11.86 kB / 391.3 MB, free: 4.227 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.817e-05/0.1009, allocations: 27.78 kB / 391.4 MB, free: 4.199 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003072/0.1012, allocations: 75.86 kB / 391.4 MB, free: 4.125 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002354/0.1015, allocations: 191.4 kB / 391.6 MB, free: 3.938 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001448/0.1016, allocations: 29.91 kB / 391.7 MB, free: 3.91 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00013/0.1017, allocations: 83.67 kB / 391.7 MB, free: 3.828 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001285/0.1019, allocations: 79.59 kB / 391.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.864e-05/0.1019, allocations: 16 kB / 391.8 MB, free: 3.734 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.041e-05/0.102, allocations: 8 kB / 391.8 MB, free: 3.727 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.381e-05/0.102, allocations: 35.78 kB / 391.9 MB, free: 3.691 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.91e-05/0.1021, allocations: 75.52 kB / 392 MB, free: 3.617 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.1023, allocations: 159.4 kB / 392.1 MB, free: 3.461 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1023, allocations: 0 / 392.1 MB, free: 3.461 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1024, allocations: 0 / 392.1 MB, free: 3.461 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.1024, allocations: 0 / 392.1 MB, free: 3.461 MB / 286.1 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.001305/0.1037, allocations: 0.5796 MB / 392.7 MB, free: 2.824 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.1037, allocations: 12.03 kB / 392.7 MB, free: 2.812 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.877e-05/0.1038, allocations: 20.66 kB / 392.7 MB, free: 2.793 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000334/0.1042, allocations: 251.7 kB / 393 MB, free: 2.508 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.655e-05/0.1042, allocations: 63.97 kB / 393 MB, free: 2.434 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.033e-05/0.1043, allocations: 12.38 kB / 393 MB, free: 2.422 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005425/0.1048, allocations: 204.8 kB / 393.2 MB, free: 2.207 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.1049, allocations: 0 / 393.2 MB, free: 2.207 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.005e-05/0.1049, allocations: 0 / 393.2 MB, free: 2.207 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.1049, allocations: 4 kB / 393.2 MB, free: 2.203 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005891/0.1055, allocations: 155.8 kB / 393.4 MB, free: 2.051 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009907/0.1065, allocations: 0.6371 MB / 394 MB, free: 1.355 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006073/0.1071, allocations: 162.4 kB / 394.2 MB, free: 1.188 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000288/0.1074, allocations: 80.97 kB / 394.3 MB, free: 1.105 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.1075, allocations: 3.938 kB / 394.3 MB, free: 1.102 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005051/0.108, allocations: 167.1 kB / 394.4 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 3.817e-06/0.108, allocations: 4 kB / 394.4 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.00144/0.1094, allocations: 297.2 kB / 394.7 MB, free: 0.625 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.1095, allocations: 55.34 kB / 394.8 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/0.1097, allocations: 203.8 kB / 395 MB, free: 360 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.843e-05/0.1098, allocations: 25.7 kB / 395 MB, free: 328 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.1099, allocations: 144 kB / 395.2 MB, free: 176 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.788e-05/0.1099, allocations: 35.55 kB / 395.2 MB, free: 140 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.056e-05/0.11, allocations: 49.69 kB / 395.2 MB, free: 84 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1102, allocations: 326.8 kB / 395.6 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003327/0.1105, allocations: 95.91 kB / 395.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003422/0.1108, allocations: 137.9 kB / 395.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006404/0.1115, allocations: 273.1 kB / 396 MB, free: 15.2 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1115, allocations: 0 / 396 MB, free: 15.2 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007774/0.1123, allocations: 340.5 kB / 396.4 MB, free: 14.85 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.237e-05/0.1124, allocations: 67.39 kB / 396.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1124, allocations: 0 / 396.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.1124, allocations: 4 kB / 396.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004011/0.1128, allocations: 60.08 kB / 396.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.1128, allocations: 4 kB / 396.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002609/0.1131, allocations: 43.8 kB / 396.6 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.219e-05/0.1131, allocations: 12 kB / 396.6 MB, free: 14.65 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,Itr.ts,Input.count,$PRE.Input.count,Input.T_start,$PRE.Input.T_start,$whenCondition1,$whenCondition3,I.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 2 * 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.0001269/0.1132, allocations: 137.8 kB / 396.7 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.789e-05/0.1133, allocations: 23.73 kB / 396.7 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.328e-05/0.1133, allocations: 21.53 kB / 396.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.1133, allocations: 0 / 396.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1134, allocations: 0 / 396.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/0.1134, allocations: 4 kB / 396.7 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/0.1136, allocations: 249.5 kB / 397 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1136, allocations: 0 / 397 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004091/0.114, allocations: 47.89 kB / 397 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.89e-06/0.114, allocations: 8 kB / 397 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.805e-05/0.1141, allocations: 3.938 kB / 397.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1141, allocations: 3.984 kB / 397.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1141, allocations: 0 / 397.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.1151, allocations: 352.5 kB / 397.4 MB, free: 13.74 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.381e-05/0.1152, allocations: 92.89 kB / 397.5 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.312e-05/0.1152, allocations: 4 kB / 397.5 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002301/0.1154, allocations: 31.95 kB / 397.5 MB, free: 13.6 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.1156, allocations: 27.95 kB / 397.6 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.1156, allocations: 8.062 kB / 397.6 MB, free: 13.56 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001197/0.1157, allocations: 149.5 kB / 397.7 MB, free: 13.42 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1157, allocations: 0 / 397.7 MB, free: 13.42 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002359/0.1159, allocations: 32 kB / 397.7 MB, free: 13.39 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (I.y,Itr.y) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,Input.T_start,Input.count,Itr.ts,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 2 (Input.count,TrackRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.000135/0.1161, allocations: 106 kB / 397.8 MB, free: 13.28 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008047/0.1169, allocations: 322.5 kB / 398.2 MB, free: 12.94 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1169, allocations: 0 / 398.2 MB, free: 12.94 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003454/0.1173, allocations: 95.84 kB / 398.3 MB, free: 12.84 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.1176, allocations: 44.02 kB / 398.3 MB, free: 12.8 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000798/0.1184, allocations: 370.4 kB / 398.7 MB, free: 12.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.1187, allocations: 0.7244 MB / 399.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001003/0.1188, allocations: 29.47 kB / 399.4 MB, free: 11.63 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.282e-05/0.1189, allocations: 15.44 kB / 399.4 MB, free: 11.62 MB / 302.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1189, allocations: 0 / 399.4 MB, free: 11.62 MB / 302.1 MB Notification: Performance of Templates: time 0.005009/0.1239, allocations: 2.11 MB / 401.5 MB, free: 9.516 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe 2>&1)