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.001117/0.001117, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001128/0.001128, allocations: 190.5 kB / 16.14 MB, free: 6.703 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.599/1.599, allocations: 205.1 MB / 222 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.0544/0.0544, allocations: 10.74 MB / 280.1 MB, free: 10.73 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.00124/0.00124, allocations: 59.91 kB / 339.9 MB, free: 23.79 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0989/0.1002, allocations: 49.02 MB / 388.9 MB, free: 6.703 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP): time 0.002879/0.1031, allocations: 1.779 MB / 390.7 MB, free: 4.906 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009559/0.1041, allocations: 0.5971 MB / 391.2 MB, free: 4.301 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.962e-05/0.1041, allocations: 3.938 kB / 391.3 MB, free: 4.297 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001061/0.1043, allocations: 15.8 kB / 391.3 MB, free: 4.281 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.541e-05/0.1044, allocations: 19.8 kB / 391.3 MB, free: 4.262 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.1046, allocations: 63.88 kB / 391.3 MB, free: 4.199 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001756/0.1048, allocations: 163.5 kB / 391.5 MB, free: 4.039 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.1049, allocations: 29.55 kB / 391.5 MB, free: 4.012 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001253/0.105, allocations: 71.7 kB / 391.6 MB, free: 3.941 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.535e-05/0.1051, allocations: 63.62 kB / 391.7 MB, free: 3.879 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.865e-05/0.1051, allocations: 15.98 kB / 391.7 MB, free: 3.863 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.335e-05/0.1052, allocations: 8 kB / 391.7 MB, free: 3.855 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.653e-05/0.1052, allocations: 27.84 kB / 391.7 MB, free: 3.828 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.754e-05/0.1053, allocations: 63.59 kB / 391.8 MB, free: 3.766 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.1055, allocations: 119.8 kB / 391.9 MB, free: 3.648 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.1055, allocations: 0 / 391.9 MB, free: 3.648 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.1055, allocations: 3.938 kB / 391.9 MB, free: 3.645 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.1055, allocations: 0 / 391.9 MB, free: 3.645 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.000915/0.1064, allocations: 0.5193 MB / 392.4 MB, free: 3.074 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.038e-05/0.1064, allocations: 8.031 kB / 392.4 MB, free: 3.066 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.38e-05/0.1065, allocations: 16.75 kB / 392.4 MB, free: 3.051 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002343/0.1067, allocations: 243.8 kB / 392.7 MB, free: 2.773 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.077e-05/0.1068, allocations: 55.97 kB / 392.7 MB, free: 2.707 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/0.1068, allocations: 16.31 kB / 392.8 MB, free: 2.691 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003651/0.1072, allocations: 137.7 kB / 392.9 MB, free: 2.551 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.1072, allocations: 0 / 392.9 MB, free: 2.551 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.1072, allocations: 4 kB / 392.9 MB, free: 2.547 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.591e-06/0.1073, allocations: 3.984 kB / 392.9 MB, free: 2.543 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004501/0.1077, allocations: 119.9 kB / 393 MB, free: 2.426 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007506/0.1085, allocations: 432.4 kB / 393.4 MB, free: 1.953 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004322/0.1089, allocations: 122.5 kB / 393.6 MB, free: 1.824 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002237/0.1091, allocations: 64.8 kB / 393.6 MB, free: 1.758 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.1092, allocations: 0 / 393.6 MB, free: 1.758 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004201/0.1096, allocations: 131.2 kB / 393.7 MB, free: 1.617 MB / 286.1 MB Notification: Performance of pre-optimization done (n=10): time 1.643e-06/0.1096, allocations: 0 / 393.7 MB, free: 1.617 MB / 286.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008147/0.1104, allocations: 241.2 kB / 394 MB, free: 1.375 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.1105, allocations: 55.39 kB / 394 MB, free: 1.309 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.0001863/0.1107, allocations: 189.6 kB / 394.2 MB, free: 1.117 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.1107, allocations: 33.7 kB / 394.3 MB, free: 1.078 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.993e-05/0.1108, allocations: 124.4 kB / 394.4 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.581e-05/0.1108, allocations: 27.64 kB / 394.4 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.148e-05/0.1109, allocations: 33.7 kB / 394.4 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.111, allocations: 326.8 kB / 394.8 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002439/0.1113, allocations: 63.94 kB / 394.8 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002422/0.1115, allocations: 91.31 kB / 394.9 MB, free: 404 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004636/0.112, allocations: 173 kB / 395.1 MB, free: 212 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.112, allocations: 7.938 kB / 395.1 MB, free: 204 kB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000602/0.1126, allocations: 231 kB / 395.3 MB, free: 15.96 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.275e-05/0.1127, allocations: 29.7 kB / 395.3 MB, free: 15.93 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.1127, allocations: 7.938 kB / 395.3 MB, free: 15.92 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.1127, allocations: 3.984 kB / 395.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.1129, allocations: 36.06 kB / 395.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.1129, allocations: 0 / 395.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.1131, allocations: 31.84 kB / 395.4 MB, free: 15.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.1131, allocations: 8 kB / 395.4 MB, free: 15.84 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 9.499e-05/0.1132, allocations: 117.8 kB / 395.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.664e-05/0.1133, allocations: 19.81 kB / 395.6 MB, free: 15.7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.063e-05/0.1133, allocations: 25.31 kB / 395.6 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.1133, allocations: 8 kB / 395.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.1133, allocations: 0 / 395.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.1134, allocations: 0 / 395.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.1136, allocations: 229.4 kB / 395.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1136, allocations: 0 / 395.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.1138, allocations: 23.97 kB / 395.8 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1138, allocations: 0 / 395.8 MB, free: 15.37 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.1138, allocations: 7.938 kB / 395.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.1138, allocations: 0 / 395.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.1138, allocations: 3.938 kB / 395.9 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000529/0.1143, allocations: 201.2 kB / 396 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.1144, allocations: 88.92 kB / 396.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.049e-05/0.1144, allocations: 11.88 kB / 396.1 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00018/0.1146, allocations: 31.95 kB / 396.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.135e-05/0.1147, allocations: 19.97 kB / 396.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.1147, allocations: 4 kB / 396.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001055/0.1148, allocations: 128.1 kB / 396.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1149, allocations: 0 / 396.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002192/0.1151, allocations: 23.94 kB / 396.3 MB, free: 14.82 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.000114/0.1152, allocations: 107.2 kB / 396.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005773/0.1158, allocations: 199.2 kB / 396.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1158, allocations: 0 / 396.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002612/0.1161, allocations: 79.86 kB / 396.7 MB, free: 14.42 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002441/0.1163, allocations: 25.3 kB / 396.8 MB, free: 14.4 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005867/0.1169, allocations: 313.1 kB / 397.1 MB, free: 14.06 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.1172, allocations: 0.7123 MB / 397.8 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 8.019e-05/0.1173, allocations: 17.08 kB / 397.8 MB, free: 13.31 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.541e-05/0.1174, allocations: 11.44 kB / 397.8 MB, free: 13.3 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1174, allocations: 3.938 kB / 397.8 MB, free: 13.29 MB / 302.1 MB Notification: Performance of Templates: time 0.003993/0.1214, allocations: 1.535 MB / 399.3 MB, free: 11.77 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)