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.0009652/0.0009648, allocations: 97.64 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.007558/0.007558, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.795/1.795, allocations: 205.4 MB / 222.4 MB, free: 5.789 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05832/0.05832, allocations: 10.74 MB / 281.5 MB, free: 10.67 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.0005137/0.0005138, allocations: 12.22 kB / 342.2 MB, free: 23.53 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.118, allocations: 50.01 MB / 392.2 MB, free: 5.449 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI): time 0.002043/0.1201, allocations: 1.463 MB / 393.7 MB, free: 3.973 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001151/0.1212, allocations: 0.6205 MB / 394.3 MB, free: 3.344 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001437/0.1214, allocations: 7.938 kB / 394.3 MB, free: 3.336 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001432/0.1216, allocations: 11.86 kB / 394.3 MB, free: 3.324 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000112/0.1217, allocations: 31.72 kB / 394.4 MB, free: 3.293 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000291/0.122, allocations: 79.89 kB / 394.5 MB, free: 3.215 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002496/0.1223, allocations: 187.4 kB / 394.6 MB, free: 3.031 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.1224, allocations: 33.89 kB / 394.7 MB, free: 3 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.1226, allocations: 83.62 kB / 394.8 MB, free: 2.918 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001553/0.1227, allocations: 75.59 kB / 394.8 MB, free: 2.844 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.659e-05/0.1228, allocations: 8 kB / 394.8 MB, free: 2.836 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.936e-05/0.1228, allocations: 8 kB / 394.8 MB, free: 2.828 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.409e-05/0.1229, allocations: 27.84 kB / 394.9 MB, free: 2.801 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.123, allocations: 105.3 kB / 395 MB, free: 2.691 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002096/0.1232, allocations: 151.4 kB / 395.1 MB, free: 2.543 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.1232, allocations: 3.938 kB / 395.1 MB, free: 2.539 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1232, allocations: 0 / 395.1 MB, free: 2.539 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.1233, allocations: 0 / 395.1 MB, free: 2.539 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.001251/0.1245, allocations: 0.5639 MB / 395.7 MB, free: 1.918 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/0.1246, allocations: 12.03 kB / 395.7 MB, free: 1.906 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.693e-05/0.1247, allocations: 20.73 kB / 395.7 MB, free: 1.887 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004048/0.1251, allocations: 251.6 kB / 396 MB, free: 1.602 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/0.1252, allocations: 67.97 kB / 396 MB, free: 1.523 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.077e-05/0.1253, allocations: 12.38 kB / 396 MB, free: 1.512 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000605/0.1259, allocations: 224.7 kB / 396.3 MB, free: 1.277 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1259, allocations: 3.984 kB / 396.3 MB, free: 1.273 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.79e-05/0.126, allocations: 3.984 kB / 396.3 MB, free: 1.27 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.759e-06/0.126, allocations: 4 kB / 396.3 MB, free: 1.266 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006842/0.1267, allocations: 195.8 kB / 396.5 MB, free: 1.074 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.1278, allocations: 0.6489 MB / 397.1 MB, free: 376 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000675/0.1285, allocations: 194.4 kB / 397.3 MB, free: 172 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003691/0.1289, allocations: 100.8 kB / 397.4 MB, free: 68 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.1289, allocations: 0 / 397.4 MB, free: 68 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005404/0.1294, allocations: 183.3 kB / 397.6 MB, free: 15.88 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.943e-06/0.1295, allocations: 0 / 397.6 MB, free: 15.88 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.001162/0.1306, allocations: 353.3 kB / 397.9 MB, free: 15.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.1307, allocations: 63.38 kB / 398 MB, free: 15.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002364/0.131, allocations: 203.7 kB / 398.2 MB, free: 15.24 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/0.131, allocations: 33.7 kB / 398.2 MB, free: 15.2 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.1311, allocations: 128.2 kB / 398.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.264e-05/0.1312, allocations: 35.55 kB / 398.4 MB, free: 15.03 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.455e-05/0.1313, allocations: 33.7 kB / 398.4 MB, free: 14.99 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.1314, allocations: 330.8 kB / 398.7 MB, free: 14.66 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003787/0.1318, allocations: 103.9 kB / 398.8 MB, free: 14.56 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004181/0.1322, allocations: 169.8 kB / 399 MB, free: 14.37 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007457/0.133, allocations: 309 kB / 399.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.133, allocations: 0 / 399.3 MB, free: 14.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009045/0.1339, allocations: 380.5 kB / 399.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.449e-05/0.134, allocations: 62.53 kB / 399.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.134, allocations: 0 / 399.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.797e-05/0.134, allocations: 8 kB / 399.7 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004251/0.1344, allocations: 68.08 kB / 399.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.1345, allocations: 11.92 kB / 399.8 MB, free: 13.49 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003107/0.1348, allocations: 51.8 kB / 399.9 MB, free: 13.44 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.418e-05/0.1348, allocations: 16 kB / 399.9 MB, free: 13.42 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.0001449/0.135, allocations: 125.8 kB / 400 MB, free: 13.29 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.972e-05/0.135, allocations: 19.75 kB / 400 MB, free: 13.27 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.003e-05/0.1351, allocations: 25.52 kB / 400.1 MB, free: 13.25 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.1351, allocations: 4 kB / 400.1 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.1351, allocations: 0 / 400.1 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1351, allocations: 0 / 400.1 MB, free: 13.24 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002826/0.1354, allocations: 245.5 kB / 400.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.581e-05/0.1355, allocations: 3.938 kB / 400.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004253/0.1359, allocations: 67.81 kB / 400.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.1359, allocations: 4 kB / 400.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/0.1359, allocations: 4 kB / 400.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1359, allocations: 0 / 400.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1359, allocations: 0 / 400.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001147/0.1371, allocations: 400.6 kB / 400.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.015e-05/0.1372, allocations: 96.88 kB / 400.9 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.106e-05/0.1372, allocations: 0 / 400.9 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002565/0.1375, allocations: 48.02 kB / 400.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.1376, allocations: 27.95 kB / 400.9 MB, free: 12.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.536e-05/0.1376, allocations: 8 kB / 400.9 MB, free: 12.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001573/0.1378, allocations: 145.4 kB / 401.1 MB, free: 12.13 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1378, allocations: 3.938 kB / 401.1 MB, free: 12.12 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002639/0.1381, allocations: 39.91 kB / 401.1 MB, free: 12.09 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.0001436/0.1382, allocations: 107.2 kB / 401.2 MB, free: 11.97 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008459/0.1391, allocations: 346.6 kB / 401.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.1391, allocations: 384 / 401.6 MB, free: 11.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003744/0.1395, allocations: 119.9 kB / 401.7 MB, free: 11.49 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003168/0.1398, allocations: 35.7 kB / 401.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000797/0.1406, allocations: 374.8 kB / 402.1 MB, free: 11.06 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.1409, allocations: 0.7283 MB / 402.8 MB, free: 10.31 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.1411, allocations: 17.55 kB / 402.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.14e-05/0.1411, allocations: 23.44 kB / 402.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of SimCode: time 2.004e-06/0.1411, allocations: 0 / 402.9 MB, free: 10.27 MB / 302.1 MB Notification: Performance of Templates: time 0.005711/0.1469, allocations: 2.097 MB / 405 MB, free: 8.176 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: