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.0009198/0.0009197, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.001116/0.001116, allocations: 172.7 kB / 15.95 MB, free: 208 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.498/1.498, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05301/0.05301, allocations: 10.75 MB / 281.1 MB, free: 10.55 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.0007595/0.0007596, allocations: 12 kB / 341.6 MB, free: 23.82 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09283/0.09361, allocations: 50 MB / 391.6 MB, free: 5.75 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI): time 0.001901/0.09556, allocations: 1.429 MB / 393.1 MB, free: 4.309 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009878/0.09658, allocations: 0.5974 MB / 393.7 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001501/0.09675, allocations: 7.938 kB / 393.7 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.09687, allocations: 11.86 kB / 393.7 MB, free: 3.684 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.373e-05/0.09697, allocations: 27.72 kB / 393.7 MB, free: 3.656 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002971/0.09728, allocations: 71.91 kB / 393.8 MB, free: 3.586 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002574/0.09755, allocations: 179.4 kB / 394 MB, free: 3.41 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.0977, allocations: 25.66 kB / 394 MB, free: 3.387 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.09788, allocations: 75.69 kB / 394.1 MB, free: 3.312 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.09803, allocations: 79.66 kB / 394.1 MB, free: 3.234 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.095e-05/0.09808, allocations: 8 kB / 394.1 MB, free: 3.227 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.225e-05/0.09812, allocations: 8 kB / 394.1 MB, free: 3.219 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.927e-05/0.09818, allocations: 31.78 kB / 394.2 MB, free: 3.188 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.335e-05/0.09828, allocations: 53.62 kB / 394.2 MB, free: 3.129 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.09845, allocations: 108 kB / 394.3 MB, free: 3.023 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.09846, allocations: 0 / 394.3 MB, free: 3.023 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.016e-06/0.09848, allocations: 0 / 394.3 MB, free: 3.023 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.005e-06/0.09849, allocations: 3.938 kB / 394.3 MB, free: 3.02 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.001034/0.09953, allocations: 0.5754 MB / 394.9 MB, free: 2.387 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.09957, allocations: 8.031 kB / 394.9 MB, free: 2.379 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.281e-05/0.09965, allocations: 23.77 kB / 394.9 MB, free: 2.355 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002869/0.09994, allocations: 242.5 kB / 395.2 MB, free: 2.078 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.474e-05/0.1, allocations: 63.41 kB / 395.2 MB, free: 2.004 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.695e-05/0.1001, allocations: 15.94 kB / 395.3 MB, free: 1.988 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004806/0.1005, allocations: 216.6 kB / 395.5 MB, free: 1.762 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.325e-06/0.1006, allocations: 0 / 395.5 MB, free: 1.762 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.1006, allocations: 4 kB / 395.5 MB, free: 1.758 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.1006, allocations: 7.953 kB / 395.5 MB, free: 1.75 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005508/0.1012, allocations: 191.8 kB / 395.7 MB, free: 1.562 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009559/0.1021, allocations: 0.6566 MB / 396.3 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005691/0.1027, allocations: 198.4 kB / 396.5 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002792/0.103, allocations: 96.78 kB / 396.6 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.554e-05/0.103, allocations: 4 kB / 396.6 MB, free: 0.543 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000441/0.1035, allocations: 183.4 kB / 396.8 MB, free: 360 kB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.1035, allocations: 4 kB / 396.8 MB, free: 356 kB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009435/0.1044, allocations: 337.3 kB / 397.1 MB, free: 12 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/0.1045, allocations: 59.41 kB / 397.2 MB, free: 15.94 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001875/0.1047, allocations: 199.7 kB / 397.4 MB, free: 15.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.645e-05/0.1047, allocations: 33.7 kB / 397.4 MB, free: 15.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.643e-05/0.1048, allocations: 132.2 kB / 397.5 MB, free: 15.56 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.828e-05/0.1049, allocations: 39.55 kB / 397.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.37e-05/0.1049, allocations: 4 kB / 397.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.105, allocations: 334.8 kB / 397.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003457/0.1054, allocations: 107.9 kB / 398 MB, free: 15.07 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00034/0.1057, allocations: 165.8 kB / 398.2 MB, free: 14.89 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000324/0.1061, allocations: 155.3 kB / 398.3 MB, free: 14.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1061, allocations: 0 / 398.3 MB, free: 14.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007895/0.1069, allocations: 384.5 kB / 398.7 MB, free: 14.33 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.291e-05/0.1069, allocations: 63.39 kB / 398.8 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.1069, allocations: 0 / 398.8 MB, free: 14.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/0.107, allocations: 12.06 kB / 398.8 MB, free: 14.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003647/0.1073, allocations: 59.95 kB / 398.8 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.76e-05/0.1074, allocations: 7.938 kB / 398.8 MB, free: 14.18 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002703/0.1077, allocations: 63.73 kB / 398.9 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.1077, allocations: 12 kB / 398.9 MB, free: 14.11 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,$whenCondition3,$whenCondition1,$PRE.Input.T_start,Input.T_start,$PRE.Input.count,Input.count,Itr.ts,$PRE.TSsignal.pulseStart,TSsignal.pulseStart,$PRE.TrackRef.T_start,TrackRef.T_start,$PRE.TrackRef.count,TrackRef.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001423/0.1078, allocations: 129.8 kB / 399.1 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.3e-05/0.1079, allocations: 19.8 kB / 399.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.676e-05/0.1079, allocations: 21.53 kB / 399.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.108, allocations: 8 kB / 399.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/0.108, allocations: 0 / 399.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.108, allocations: 3.984 kB / 399.1 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000248/0.1082, allocations: 237.5 kB / 399.3 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.1082, allocations: 3.953 kB / 399.3 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003565/0.1086, allocations: 59.89 kB / 399.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1086, allocations: 4 kB / 399.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.059e-05/0.1087, allocations: 8 kB / 399.4 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.1087, allocations: 3.984 kB / 399.4 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.1087, allocations: 0 / 399.4 MB, free: 13.56 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009967/0.1097, allocations: 396.6 kB / 399.8 MB, free: 13.15 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.601e-05/0.1098, allocations: 100.9 kB / 399.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.304e-05/0.1098, allocations: 4 kB / 399.9 MB, free: 13.03 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.11, allocations: 43.95 kB / 399.9 MB, free: 12.99 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.036e-05/0.1101, allocations: 27.94 kB / 400 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.1101, allocations: 4 kB / 400 MB, free: 12.96 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001255/0.1103, allocations: 149.5 kB / 400.1 MB, free: 12.81 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1103, allocations: 0 / 400.1 MB, free: 12.81 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003117/0.1106, allocations: 36 kB / 400.2 MB, free: 12.78 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 (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.0001198/0.1107, allocations: 106.1 kB / 400.3 MB, free: 12.67 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007435/0.1115, allocations: 350.8 kB / 400.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1115, allocations: 0 / 400.6 MB, free: 12.3 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003178/0.1118, allocations: 116 kB / 400.7 MB, free: 12.19 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002704/0.1121, allocations: 35.7 kB / 400.8 MB, free: 12.15 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006601/0.1128, allocations: 359.2 kB / 401.1 MB, free: 11.77 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.113, allocations: 0.7244 MB / 401.8 MB, free: 11.02 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001049/0.1132, allocations: 21.55 kB / 401.8 MB, free: 11 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.601e-05/0.1132, allocations: 23.36 kB / 401.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1132, allocations: 0 / 401.9 MB, free: 10.98 MB / 302.1 MB Notification: Performance of Templates: time 0.004861/0.1181, allocations: 2.037 MB / 403.9 MB, free: 8.945 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: