Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.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.TestTrackingP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001246, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 195.8 kB / 16.53 MB, free: 6.656 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.465/1.465, allocations: 205.1 MB / 222.4 MB, free: 4.582 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05522/0.05522, allocations: 10.74 MB / 280.5 MB, free: 10.49 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.001582/0.001582, allocations: 71.84 kB / 340.5 MB, free: 23.34 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1016, allocations: 49.02 MB / 389.6 MB, free: 6.25 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP): time 0.003647/0.1053, allocations: 1.714 MB / 391.3 MB, free: 4.516 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.1064, allocations: 0.6008 MB / 391.9 MB, free: 3.906 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/0.1066, allocations: 7.938 kB / 391.9 MB, free: 3.898 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001157/0.1067, allocations: 15.8 kB / 391.9 MB, free: 3.883 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.187e-05/0.1068, allocations: 35.72 kB / 391.9 MB, free: 3.848 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.1071, allocations: 63.8 kB / 392 MB, free: 3.785 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002649/0.1074, allocations: 175.5 kB / 392.2 MB, free: 3.613 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.1075, allocations: 37.53 kB / 392.2 MB, free: 3.578 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001532/0.1077, allocations: 67.7 kB / 392.3 MB, free: 3.512 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.1078, allocations: 75.62 kB / 392.3 MB, free: 3.438 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.498e-05/0.1078, allocations: 12 kB / 392.4 MB, free: 3.426 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.562e-05/0.1079, allocations: 12 kB / 392.4 MB, free: 3.414 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.392e-05/0.1079, allocations: 35.83 kB / 392.4 MB, free: 3.379 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.052e-05/0.108, allocations: 67.59 kB / 392.5 MB, free: 3.312 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001875/0.1082, allocations: 131.8 kB / 392.6 MB, free: 3.184 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1082, allocations: 4 kB / 392.6 MB, free: 3.18 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.1082, allocations: 0 / 392.6 MB, free: 3.18 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.1082, allocations: 0 / 392.6 MB, free: 3.18 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001019/0.1093, allocations: 0.512 MB / 393.1 MB, free: 2.613 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/0.1093, allocations: 11.89 kB / 393.1 MB, free: 2.602 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.632e-05/0.1094, allocations: 16.75 kB / 393.1 MB, free: 2.586 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003104/0.1097, allocations: 235.8 kB / 393.4 MB, free: 2.316 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.811e-05/0.1098, allocations: 59.97 kB / 393.4 MB, free: 2.246 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.027e-05/0.1098, allocations: 20.3 kB / 393.4 MB, free: 2.227 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003933/0.1102, allocations: 133.7 kB / 393.6 MB, free: 2.09 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.1103, allocations: 0 / 393.6 MB, free: 2.09 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.876e-05/0.1103, allocations: 0 / 393.6 MB, free: 2.09 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.1103, allocations: 4 kB / 393.6 MB, free: 2.086 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004849/0.1108, allocations: 131.3 kB / 393.7 MB, free: 1.961 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008665/0.1117, allocations: 428.4 kB / 394.1 MB, free: 1.492 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004461/0.1121, allocations: 126.5 kB / 394.3 MB, free: 1.359 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/0.1124, allocations: 64.81 kB / 394.3 MB, free: 1.293 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.1124, allocations: 3.984 kB / 394.3 MB, free: 1.289 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004111/0.1128, allocations: 135.1 kB / 394.5 MB, free: 1.145 MB / 286.1 MB Notification: Performance of pre-optimization done (n=10): time 1.934e-06/0.1128, allocations: 0 / 394.5 MB, free: 1.145 MB / 286.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008187/0.1137, allocations: 233.3 kB / 394.7 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.1137, allocations: 55.41 kB / 394.7 MB, free: 0.8438 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Sources.mo:517:5-517:73:writable] Warning: Parameter Input.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.1139, allocations: 190.8 kB / 394.9 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.1139, allocations: 33.7 kB / 395 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.47e-05/0.114, allocations: 120.2 kB / 395.1 MB, free: 500 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.114, allocations: 27.8 kB / 395.1 MB, free: 472 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.618e-05/0.1141, allocations: 33.7 kB / 395.1 MB, free: 432 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.1142, allocations: 326.8 kB / 395.4 MB, free: 96 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002472/0.1145, allocations: 67.94 kB / 395.5 MB, free: 28 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002726/0.1148, allocations: 99.09 kB / 395.6 MB, free: 15.92 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004751/0.1152, allocations: 173 kB / 395.8 MB, free: 15.73 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.1153, allocations: 7.875 kB / 395.8 MB, free: 15.73 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006235/0.1159, allocations: 231 kB / 396 MB, free: 15.49 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/0.1159, allocations: 32.36 kB / 396 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.946e-06/0.116, allocations: 3.938 kB / 396 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.116, allocations: 4 kB / 396.1 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.1162, allocations: 27.97 kB / 396.1 MB, free: 15.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.1162, allocations: 7.984 kB / 396.1 MB, free: 15.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/0.1164, allocations: 35.83 kB / 396.1 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.1164, allocations: 8.062 kB / 396.1 MB, free: 15.37 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,Ptr.ts,$whenCondition2,P.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 13 * 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.0001072/0.1165, allocations: 121.8 kB / 396.3 MB, free: 15.24 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.1166, allocations: 11.81 kB / 396.3 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.801e-05/0.1166, allocations: 25.33 kB / 396.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1166, allocations: 4 kB / 396.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.1166, allocations: 0 / 396.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.1166, allocations: 384 / 396.3 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002297/0.1169, allocations: 225.5 kB / 396.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.1169, allocations: 0 / 396.5 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001464/0.117, allocations: 23.97 kB / 396.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.1171, allocations: 11.88 kB / 396.5 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.1171, allocations: 3.938 kB / 396.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.1171, allocations: 0 / 396.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1171, allocations: 3.938 kB / 396.6 MB, free: 14.89 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005411/0.1176, allocations: 200.9 kB / 396.8 MB, free: 14.67 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.369e-05/0.1177, allocations: 88.92 kB / 396.8 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/0.1177, allocations: 7.875 kB / 396.8 MB, free: 14.56 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.1179, allocations: 27.97 kB / 396.9 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.17e-05/0.118, allocations: 19.97 kB / 396.9 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.143e-05/0.118, allocations: 4 kB / 396.9 MB, free: 14.51 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001124/0.1182, allocations: 136.1 kB / 397 MB, free: 14.38 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1182, allocations: 0 / 397 MB, free: 14.38 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.1184, allocations: 27.94 kB / 397.1 MB, free: 14.35 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,Ptr.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 (10): * Single equations (assignments): 7 * 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.0001416/0.1186, allocations: 99.25 kB / 397.2 MB, free: 14.24 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006602/0.1192, allocations: 215.3 kB / 397.4 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1193, allocations: 0 / 397.4 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002958/0.1196, allocations: 71.94 kB / 397.4 MB, free: 13.95 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.1198, allocations: 20.31 kB / 397.5 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007107/0.1206, allocations: 268.5 kB / 397.7 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003377/0.1209, allocations: 0.7162 MB / 398.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.167e-05/0.121, allocations: 21.02 kB / 398.5 MB, free: 12.88 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.818e-05/0.1211, allocations: 19.44 kB / 398.5 MB, free: 12.86 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1211, allocations: 0 / 398.5 MB, free: 12.86 MB / 302.1 MB Notification: Performance of Templates: time 0.005137/0.1262, allocations: 1.764 MB / 400.2 MB, free: 11.09 MB / 302.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP.pipe 2>&1)