Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.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.TestTrackingFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008702/0.0008703, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0009141/0.000914, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.244/1.244, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05302/0.05302, allocations: 10.74 MB / 281.1 MB, free: 10.57 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.0006498/0.00065, allocations: 15.19 kB / 341.6 MB, free: 23.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09107/0.09173, allocations: 50 MB / 391.6 MB, free: 5.809 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO): time 0.00182/0.0936, allocations: 1.479 MB / 393.1 MB, free: 4.316 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009508/0.09458, allocations: 0.6207 MB / 393.7 MB, free: 3.688 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.09473, allocations: 3.938 kB / 393.7 MB, free: 3.684 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.483e-05/0.09477, allocations: 11.86 kB / 393.7 MB, free: 3.672 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000132/0.09491, allocations: 39.88 kB / 393.8 MB, free: 3.633 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002871/0.0952, allocations: 71.89 kB / 393.8 MB, free: 3.562 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002379/0.09545, allocations: 139.7 kB / 394 MB, free: 3.426 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.0956, allocations: 40.8 kB / 394 MB, free: 3.391 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001221/0.09573, allocations: 79.62 kB / 394.1 MB, free: 3.312 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.09586, allocations: 79.59 kB / 394.2 MB, free: 3.234 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.974e-05/0.0959, allocations: 8 kB / 394.2 MB, free: 3.227 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.403e-05/0.09593, allocations: 4 kB / 394.2 MB, free: 3.223 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.967e-05/0.09598, allocations: 39.83 kB / 394.2 MB, free: 3.184 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.143e-05/0.09603, allocations: 53.58 kB / 394.3 MB, free: 3.125 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.09617, allocations: 120 kB / 394.4 MB, free: 3.008 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.09618, allocations: 4 kB / 394.4 MB, free: 3.004 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.09619, allocations: 0 / 394.4 MB, free: 3.004 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.0962, allocations: 0 / 394.4 MB, free: 3.004 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0009292/0.09714, allocations: 0.555 MB / 394.9 MB, free: 2.395 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.09718, allocations: 8.031 kB / 394.9 MB, free: 2.387 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.786e-05/0.09726, allocations: 23.72 kB / 395 MB, free: 2.363 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003347/0.09761, allocations: 274.2 kB / 395.2 MB, free: 2.055 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.281e-05/0.0977, allocations: 105 kB / 395.3 MB, free: 1.934 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.057e-05/0.09775, allocations: 16 kB / 395.4 MB, free: 1.918 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004449/0.0982, allocations: 189.5 kB / 395.5 MB, free: 1.727 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.09822, allocations: 4 kB / 395.5 MB, free: 1.723 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.167e-05/0.09825, allocations: 7.953 kB / 395.5 MB, free: 1.715 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.09826, allocations: 8 kB / 395.6 MB, free: 1.707 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000513/0.09878, allocations: 179.8 kB / 395.7 MB, free: 1.531 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.09981, allocations: 0.586 MB / 396.3 MB, free: 0.8945 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004911/0.1003, allocations: 170.4 kB / 396.5 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.1003, allocations: 7.953 kB / 396.5 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003998/0.1007, allocations: 155.3 kB / 396.6 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of pre-optimization done (n=12): time 1.824e-06/0.1008, allocations: 0 / 396.6 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008866/0.1017, allocations: 325.3 kB / 397 MB, free: 228 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.1017, allocations: 51.41 kB / 397 MB, free: 164 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.1019, allocations: 207.1 kB / 397.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.1019, allocations: 33.7 kB / 397.2 MB, free: 15.91 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.368e-05/0.102, allocations: 148.2 kB / 397.4 MB, free: 15.76 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/0.1021, allocations: 35.5 kB / 397.4 MB, free: 15.72 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.216e-05/0.1021, allocations: 4 kB / 397.4 MB, free: 15.72 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.685e-05/0.1022, allocations: 326.8 kB / 397.7 MB, free: 15.39 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002713/0.1025, allocations: 95.92 kB / 397.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002759/0.1028, allocations: 131.2 kB / 398 MB, free: 15.16 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002863/0.103, allocations: 120.3 kB / 398.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1031, allocations: 0 / 398.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006333/0.1037, allocations: 294.9 kB / 398.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.279e-05/0.1037, allocations: 37.7 kB / 398.4 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.1038, allocations: 0 / 398.4 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1038, allocations: 4 kB / 398.4 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006619/0.1044, allocations: 80 kB / 398.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1045, allocations: 0 / 398.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.1047, allocations: 43.88 kB / 398.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.908e-05/0.1047, allocations: 8 kB / 398.5 MB, free: 14.56 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,FOaw.ts,$PRE.TSsignal.pulseStart,TSsignal.pulseStart,$PRE.TrackRef.T_start,TrackRef.T_start,$PRE.TrackRef.count,TrackRef.count,FO.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 1 * 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.0001174/0.1048, allocations: 141.4 kB / 398.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.1049, allocations: 19.81 kB / 398.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.609e-05/0.1049, allocations: 17.41 kB / 398.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.1049, allocations: 4 kB / 398.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1049, allocations: 0 / 398.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1049, allocations: 7.984 kB / 398.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002384/0.1052, allocations: 273.4 kB / 399 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1052, allocations: 0 / 399 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007208/0.1059, allocations: 79.88 kB / 399.1 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.1059, allocations: 4 kB / 399.1 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.106, allocations: 4 kB / 399.1 MB, free: 13.96 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.106, allocations: 7.938 kB / 399.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.106, allocations: 0 / 399.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000846/0.1068, allocations: 356.6 kB / 399.4 MB, free: 13.58 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.338e-05/0.1069, allocations: 88.92 kB / 399.5 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.17e-05/0.1069, allocations: 8.094 kB / 399.5 MB, free: 13.47 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.1071, allocations: 32.02 kB / 399.6 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.204e-05/0.1072, allocations: 27.94 kB / 399.6 MB, free: 13.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.225e-05/0.1072, allocations: 11.94 kB / 399.6 MB, free: 13.4 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001068/0.1073, allocations: 144.6 kB / 399.7 MB, free: 13.26 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1073, allocations: 0 / 399.7 MB, free: 13.26 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002314/0.1076, allocations: 39.84 kB / 399.8 MB, free: 13.22 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (FOtr.Y,FOaw.Y,FO.Y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,FOaw.ts,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 1 (TrackRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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.0001104/0.1077, allocations: 107.2 kB / 399.9 MB, free: 13.11 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006215/0.1083, allocations: 263.3 kB / 400.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1083, allocations: 0 / 400.1 MB, free: 12.84 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002815/0.1086, allocations: 96 kB / 400.2 MB, free: 12.74 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001961/0.1088, allocations: 21.42 kB / 400.3 MB, free: 12.72 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007989/0.1096, allocations: 436.5 kB / 400.7 MB, free: 12.27 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.1099, allocations: 0.74 MB / 401.4 MB, free: 11.5 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.944e-05/0.11, allocations: 17.55 kB / 401.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.065e-05/0.1101, allocations: 19.44 kB / 401.5 MB, free: 11.47 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1101, allocations: 4 kB / 401.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of Templates: time 0.004404/0.1145, allocations: 1.651 MB / 403.1 MB, free: 9.82 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.makefile Environment - environmentSimulation: (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe 2>&1) Environment - environmentSimulation: