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.001038/0.001038, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007798/0.007798, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.758/1.758, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05705/0.05705, allocations: 10.74 MB / 281.5 MB, free: 10.45 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.0005578/0.0005578, allocations: 12.22 kB / 342.2 MB, free: 23.48 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1124, allocations: 50 MB / 392.2 MB, free: 5.422 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO): time 0.003321/0.1158, allocations: 1.525 MB / 393.8 MB, free: 3.883 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001673/0.1175, allocations: 0.64 MB / 394.4 MB, free: 3.234 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001837/0.1177, allocations: 7.938 kB / 394.4 MB, free: 3.227 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000167/0.1179, allocations: 15.8 kB / 394.4 MB, free: 3.211 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001093/0.118, allocations: 23.81 kB / 394.5 MB, free: 3.188 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004535/0.1185, allocations: 95.81 kB / 394.5 MB, free: 3.094 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003015/0.1188, allocations: 207.4 kB / 394.8 MB, free: 2.891 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002064/0.119, allocations: 60.59 kB / 394.8 MB, free: 2.836 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.1192, allocations: 79.58 kB / 394.9 MB, free: 2.758 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/0.1193, allocations: 79.55 kB / 395 MB, free: 2.68 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.953e-05/0.1193, allocations: 11.98 kB / 395 MB, free: 2.668 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.273e-05/0.1194, allocations: 11.94 kB / 395 MB, free: 2.656 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.126e-05/0.1194, allocations: 39.78 kB / 395 MB, free: 2.617 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.1195, allocations: 101.2 kB / 395.1 MB, free: 2.512 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.1197, allocations: 183.5 kB / 395.3 MB, free: 2.332 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.1197, allocations: 0 / 395.3 MB, free: 2.332 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1198, allocations: 0 / 395.3 MB, free: 2.332 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.1198, allocations: 0 / 395.3 MB, free: 2.332 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.001094/0.1209, allocations: 0.5396 MB / 395.8 MB, free: 1.738 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.1209, allocations: 12.03 kB / 395.9 MB, free: 1.727 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.349e-05/0.121, allocations: 28.66 kB / 395.9 MB, free: 1.699 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003478/0.1214, allocations: 279.4 kB / 396.2 MB, free: 1.387 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001048/0.1215, allocations: 89.67 kB / 396.2 MB, free: 1.281 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.248e-05/0.1215, allocations: 16.38 kB / 396.3 MB, free: 1.266 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005097/0.122, allocations: 205.6 kB / 396.5 MB, free: 1.059 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.1221, allocations: 0 / 396.5 MB, free: 1.059 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/0.1221, allocations: 4 kB / 396.5 MB, free: 1.055 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/0.1221, allocations: 4 kB / 396.5 MB, free: 1.051 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005569/0.1227, allocations: 175.8 kB / 396.6 MB, free: 0.8789 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/0.124, allocations: 0.6013 MB / 397.2 MB, free: 232 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005393/0.1245, allocations: 178.4 kB / 397.4 MB, free: 44 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002785/0.1248, allocations: 88.8 kB / 397.5 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.275e-05/0.1248, allocations: 3.984 kB / 397.5 MB, free: 15.95 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004517/0.1253, allocations: 155.3 kB / 397.7 MB, free: 15.79 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.894e-06/0.1253, allocations: 4 kB / 397.7 MB, free: 15.78 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009877/0.1263, allocations: 321.3 kB / 398 MB, free: 15.46 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.251e-05/0.1264, allocations: 51.41 kB / 398 MB, free: 15.4 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000205/0.1266, allocations: 207.1 kB / 398.2 MB, free: 15.19 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/0.1266, allocations: 37.69 kB / 398.3 MB, free: 15.14 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001146/0.1268, allocations: 144.2 kB / 398.4 MB, free: 15 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.538e-05/0.1268, allocations: 35.55 kB / 398.4 MB, free: 14.96 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.233e-05/0.1269, allocations: 25.7 kB / 398.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.127, allocations: 334.8 kB / 398.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003077/0.1273, allocations: 91.94 kB / 398.9 MB, free: 14.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002991/0.1276, allocations: 123.4 kB / 399 MB, free: 14.37 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005774/0.1282, allocations: 239.8 kB / 399.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1282, allocations: 0 / 399.2 MB, free: 14.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007032/0.1289, allocations: 295 kB / 399.5 MB, free: 13.82 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.134e-05/0.129, allocations: 33.7 kB / 399.6 MB, free: 13.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.129, allocations: 7.984 kB / 399.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.129, allocations: 7.875 kB / 399.6 MB, free: 13.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007323/0.1298, allocations: 80 kB / 399.7 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.1298, allocations: 4 kB / 399.7 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/0.13, allocations: 43.91 kB / 399.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.1301, allocations: 4 kB / 399.7 MB, free: 13.64 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,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,FOaw.ts,$whenCondition2,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001421/0.1302, allocations: 133.7 kB / 399.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.1302, allocations: 19.72 kB / 399.9 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.028e-05/0.1303, allocations: 25.41 kB / 399.9 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.1303, allocations: 3.984 kB / 399.9 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.1303, allocations: 0 / 399.9 MB, free: 13.45 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1303, allocations: 7.938 kB / 399.9 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/0.1306, allocations: 269.5 kB / 400.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.098e-05/0.1306, allocations: 3.984 kB / 400.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007641/0.1314, allocations: 79.94 kB / 400.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.611e-06/0.1314, allocations: 4 kB / 400.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.1314, allocations: 0 / 400.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1314, allocations: 0 / 400.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.1314, allocations: 3.984 kB / 400.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001011/0.1325, allocations: 364.5 kB / 400.6 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.276e-05/0.1325, allocations: 88.92 kB / 400.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.918e-05/0.1326, allocations: 4 kB / 400.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.1328, allocations: 40 kB / 400.7 MB, free: 12.51 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.891e-05/0.1329, allocations: 19.97 kB / 400.7 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.1329, allocations: 4 kB / 400.8 MB, free: 12.49 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001249/0.133, allocations: 148.6 kB / 400.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.133, allocations: 0 / 400.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002322/0.1333, allocations: 39.84 kB / 400.9 MB, free: 12.3 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 (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.0001065/0.1334, allocations: 103.2 kB / 401 MB, free: 12.2 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006706/0.134, allocations: 259.3 kB / 401.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1341, allocations: 3.938 kB / 401.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002974/0.1344, allocations: 99.98 kB / 401.4 MB, free: 11.83 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.1346, allocations: 28.59 kB / 401.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008462/0.1355, allocations: 448.6 kB / 401.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.1358, allocations: 0.7244 MB / 402.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001049/0.1359, allocations: 25.53 kB / 402.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.673e-05/0.136, allocations: 23.38 kB / 402.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.136, allocations: 3.938 kB / 402.6 MB, free: 10.54 MB / 302.1 MB Notification: Performance of Templates: time 0.004842/0.1409, allocations: 1.703 MB / 404.3 MB, free: 8.84 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: