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.001174/0.001174, allocations: 108.3 kB / 16.41 MB, free: 6.512 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.001199/0.001199, allocations: 189.5 kB / 17.34 MB, free: 5.742 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.399/1.399, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05701/0.05701, allocations: 10.74 MB / 281.3 MB, free: 1.281 MB / 222.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.001432/0.001432, allocations: 69.42 kB / 391.5 MB, free: 46.04 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08422/0.08566, allocations: 49.02 MB / 440.5 MB, free: 3.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI): time 0.002459/0.08816, allocations: 1.767 MB / 442.3 MB, free: 2.035 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008282/0.08901, allocations: 0.6203 MB / 442.9 MB, free: 1.406 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/0.08913, allocations: 7.938 kB / 442.9 MB, free: 1.398 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.08926, allocations: 23.73 kB / 442.9 MB, free: 1.375 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.756e-05/0.08933, allocations: 35.66 kB / 443 MB, free: 1.34 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.08958, allocations: 91.8 kB / 443.1 MB, free: 1.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002136/0.0898, allocations: 203.4 kB / 443.3 MB, free: 1.051 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001147/0.08992, allocations: 37.67 kB / 443.3 MB, free: 1.016 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.858e-05/0.09001, allocations: 79.69 kB / 443.4 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.09012, allocations: 95.53 kB / 443.5 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.111e-05/0.09016, allocations: 16 kB / 443.5 MB, free: 0.8281 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.501e-05/0.09019, allocations: 12 kB / 443.5 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.543e-05/0.09023, allocations: 35.91 kB / 443.5 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.117e-05/0.09029, allocations: 87.5 kB / 443.6 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.09045, allocations: 175.3 kB / 443.8 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.09046, allocations: 3.938 kB / 443.8 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.09047, allocations: 3.938 kB / 443.8 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.09048, allocations: 0 / 443.8 MB, free: 0.5156 MB / 318.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.001021/0.09151, allocations: 0.5722 MB / 444.4 MB, free: 15.88 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.09155, allocations: 11.89 kB / 444.4 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.365e-05/0.09162, allocations: 20.75 kB / 444.4 MB, free: 15.85 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003357/0.09196, allocations: 263.6 kB / 444.7 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.742e-05/0.09205, allocations: 71.89 kB / 444.7 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.754e-05/0.09209, allocations: 20.36 kB / 444.8 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005078/0.09261, allocations: 188.2 kB / 444.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.09263, allocations: 0 / 444.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.849e-05/0.09265, allocations: 4 kB / 444.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.09266, allocations: 4 kB / 445 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005803/0.09325, allocations: 151.8 kB / 445.1 MB, free: 15.1 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009301/0.09419, allocations: 0.6334 MB / 445.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006073/0.09481, allocations: 158.4 kB / 445.9 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002934/0.09511, allocations: 80.91 kB / 446 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.09514, allocations: 4 kB / 446 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000439/0.09558, allocations: 171.2 kB / 446.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.473e-06/0.09559, allocations: 0 / 446.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001062/0.09666, allocations: 300.5 kB / 446.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/0.09673, allocations: 55.41 kB / 446.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001932/0.09693, allocations: 199.7 kB / 446.7 MB, free: 13.4 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.186e-05/0.09697, allocations: 33.7 kB / 446.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.015e-05/0.09707, allocations: 140.1 kB / 446.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.779e-05/0.09711, allocations: 39.45 kB / 446.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.799e-05/0.0972, allocations: 45.7 kB / 446.9 MB, free: 13.13 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001198/0.09733, allocations: 330.8 kB / 447.3 MB, free: 12.8 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003319/0.09767, allocations: 88.11 kB / 447.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003568/0.09804, allocations: 149.6 kB / 447.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006633/0.09871, allocations: 272.3 kB / 447.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.09872, allocations: 0 / 447.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008337/0.09956, allocations: 344.4 kB / 448.1 MB, free: 11.89 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.976e-05/0.09962, allocations: 65.58 kB / 448.2 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.09963, allocations: 4 kB / 448.2 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.09965, allocations: 0 / 448.2 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004185/0.1001, allocations: 68.08 kB / 448.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.1001, allocations: 0 / 448.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002951/0.1004, allocations: 51.73 kB / 448.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.147e-05/0.1004, allocations: 7.984 kB / 448.3 MB, free: 11.69 MB / 334.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.0001148/0.1005, allocations: 133.8 kB / 448.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.668e-05/0.1006, allocations: 19.75 kB / 448.4 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.099e-05/0.1006, allocations: 25.52 kB / 448.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.1007, allocations: 4 kB / 448.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1007, allocations: 0 / 448.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1007, allocations: 0 / 448.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002186/0.1009, allocations: 241.5 kB / 448.7 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1009, allocations: 0 / 448.7 MB, free: 11.21 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004157/0.1013, allocations: 55.89 kB / 448.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.1013, allocations: 3.984 kB / 448.8 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.1014, allocations: 8 kB / 448.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.235e-06/0.1014, allocations: 0 / 448.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1014, allocations: 0 / 448.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/0.1024, allocations: 340.6 kB / 449.1 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.254e-05/0.1025, allocations: 104.8 kB / 449.2 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.311e-05/0.1025, allocations: 4 kB / 449.2 MB, free: 10.67 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002353/0.1028, allocations: 27.95 kB / 449.2 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.1029, allocations: 27.97 kB / 449.3 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.1029, allocations: 4.062 kB / 449.3 MB, free: 10.61 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001127/0.103, allocations: 149.5 kB / 449.4 MB, free: 10.46 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.463e-06/0.103, allocations: 0 / 449.4 MB, free: 10.46 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002463/0.1033, allocations: 43.88 kB / 449.5 MB, free: 10.42 MB / 334.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.0001284/0.1034, allocations: 111.2 kB / 449.6 MB, free: 10.3 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008056/0.1042, allocations: 314.5 kB / 449.9 MB, free: 9.973 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.1042, allocations: 0 / 449.9 MB, free: 9.973 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003487/0.1046, allocations: 103.8 kB / 450 MB, free: 9.871 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.1049, allocations: 32.36 kB / 450 MB, free: 9.84 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007478/0.1056, allocations: 350.4 kB / 450.3 MB, free: 9.465 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000274/0.1059, allocations: 0.7241 MB / 451.1 MB, free: 8.715 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.166e-05/0.106, allocations: 23.44 kB / 451.1 MB, free: 8.691 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.106, allocations: 3.938 kB / 451.1 MB, free: 8.688 MB / 334.1 MB Notification: Performance of Templates: time 0.004592/0.1106, allocations: 2.439 MB / 453.5 MB, free: 6.254 MB / 334.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)