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.001077/0.001077, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001122/0.001122, allocations: 190.7 kB / 16.25 MB, free: 6.629 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.39/1.39, allocations: 205.1 MB / 222.1 MB, free: 4.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05403/0.05403, allocations: 10.74 MB / 280.2 MB, free: 10.66 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.001314/0.001314, allocations: 67.91 kB / 340 MB, free: 23.68 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1068, allocations: 49.03 MB / 389.1 MB, free: 6.59 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingP): time 0.003308/0.1101, allocations: 1.771 MB / 390.8 MB, free: 4.801 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009466/0.1111, allocations: 0.5892 MB / 391.4 MB, free: 4.203 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.534e-05/0.1112, allocations: 7.938 kB / 391.4 MB, free: 4.195 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001701/0.1114, allocations: 11.86 kB / 391.5 MB, free: 4.184 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.628e-05/0.1115, allocations: 35.72 kB / 391.5 MB, free: 4.148 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002289/0.1117, allocations: 51.94 kB / 391.5 MB, free: 4.098 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002396/0.112, allocations: 179.5 kB / 391.7 MB, free: 3.922 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.1121, allocations: 33.55 kB / 391.7 MB, free: 3.891 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001312/0.1122, allocations: 71.7 kB / 391.8 MB, free: 3.82 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.281e-05/0.1123, allocations: 79.61 kB / 391.9 MB, free: 3.742 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.463e-05/0.1124, allocations: 12 kB / 391.9 MB, free: 3.73 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.176e-05/0.1124, allocations: 15.94 kB / 391.9 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.412e-05/0.1125, allocations: 31.89 kB / 392 MB, free: 3.684 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.436e-05/0.1125, allocations: 63.61 kB / 392 MB, free: 3.621 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001793/0.1127, allocations: 131.8 kB / 392.1 MB, free: 3.492 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.1127, allocations: 4 kB / 392.1 MB, free: 3.488 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1128, allocations: 0 / 392.1 MB, free: 3.488 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.1128, allocations: 0 / 392.1 MB, free: 3.488 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.001043/0.1138, allocations: 0.5043 MB / 392.7 MB, free: 2.93 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.701e-05/0.1139, allocations: 11.89 kB / 392.7 MB, free: 2.918 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.609e-05/0.1139, allocations: 24.67 kB / 392.7 MB, free: 2.895 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002857/0.1142, allocations: 247.7 kB / 392.9 MB, free: 2.613 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.297e-05/0.1143, allocations: 59.97 kB / 393 MB, free: 2.543 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.212e-05/0.1144, allocations: 12.38 kB / 393 MB, free: 2.531 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003747/0.1147, allocations: 137.7 kB / 393.1 MB, free: 2.391 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.1148, allocations: 0 / 393.1 MB, free: 2.391 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.053e-05/0.1148, allocations: 4 kB / 393.1 MB, free: 2.387 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1148, allocations: 0 / 393.1 MB, free: 2.387 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004521/0.1152, allocations: 131.8 kB / 393.3 MB, free: 2.258 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007783/0.116, allocations: 420.5 kB / 393.7 MB, free: 1.797 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004253/0.1165, allocations: 126.4 kB / 393.8 MB, free: 1.664 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002204/0.1167, allocations: 68.8 kB / 393.9 MB, free: 1.594 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.268e-05/0.1167, allocations: 0 / 393.9 MB, free: 1.594 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000348/0.1171, allocations: 131.1 kB / 394 MB, free: 1.453 MB / 286.1 MB Notification: Performance of pre-optimization done (n=10): time 3.166e-06/0.1171, allocations: 4 kB / 394 MB, free: 1.449 MB / 286.1 MB Notification: Performance of matching and sorting (n=10): time 0.0008054/0.1179, allocations: 233.3 kB / 394.2 MB, free: 1.215 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.118, allocations: 51.41 kB / 394.3 MB, free: 1.152 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.0001833/0.1182, allocations: 190.8 kB / 394.5 MB, free: 0.957 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.603e-05/0.1182, allocations: 34.08 kB / 394.5 MB, free: 0.918 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.513e-05/0.1183, allocations: 120.2 kB / 394.6 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.021e-05/0.1183, allocations: 31.78 kB / 394.6 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.251e-05/0.1184, allocations: 33.7 kB / 394.7 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1185, allocations: 326.8 kB / 395 MB, free: 408 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002362/0.1188, allocations: 63.94 kB / 395.1 MB, free: 344 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002445/0.119, allocations: 95.36 kB / 395.2 MB, free: 236 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004431/0.1195, allocations: 173 kB / 395.3 MB, free: 44 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1195, allocations: 4 kB / 395.3 MB, free: 40 kB / 286.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000587/0.1201, allocations: 227.1 kB / 395.5 MB, free: 15.8 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.327e-05/0.1201, allocations: 33.69 kB / 395.6 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.1201, allocations: 7.938 kB / 395.6 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.1202, allocations: 0 / 395.6 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.1204, allocations: 31.91 kB / 395.6 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.1204, allocations: 0 / 395.6 MB, free: 15.72 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/0.1206, allocations: 35.91 kB / 395.7 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.1206, allocations: 8.062 kB / 395.7 MB, free: 15.68 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.0001091/0.1207, allocations: 130.9 kB / 395.8 MB, free: 15.54 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.1207, allocations: 19.8 kB / 395.8 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.886e-05/0.1208, allocations: 17.34 kB / 395.8 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.1208, allocations: 4 kB / 395.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.1208, allocations: 0 / 395.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.1208, allocations: 3.984 kB / 395.8 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.121, allocations: 221.5 kB / 396.1 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.121, allocations: 0 / 396.1 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.1212, allocations: 27.97 kB / 396.1 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1212, allocations: 0 / 396.1 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.468e-05/0.1212, allocations: 7.922 kB / 396.1 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.1212, allocations: 3.938 kB / 396.1 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1212, allocations: 0 / 396.1 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005455/0.1218, allocations: 200.9 kB / 396.3 MB, free: 14.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.958e-05/0.1218, allocations: 92.91 kB / 396.4 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.142e-05/0.1219, allocations: 7.938 kB / 396.4 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002337/0.1221, allocations: 19.97 kB / 396.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.595e-05/0.1222, allocations: 23.97 kB / 396.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.1222, allocations: 4 kB / 396.4 MB, free: 14.82 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.522e-05/0.1223, allocations: 132.1 kB / 396.6 MB, free: 14.69 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1223, allocations: 0 / 396.6 MB, free: 14.69 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002183/0.1225, allocations: 24.03 kB / 396.6 MB, free: 14.66 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.0001138/0.1227, allocations: 115.1 kB / 396.7 MB, free: 14.54 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005676/0.1232, allocations: 211.3 kB / 396.9 MB, free: 14.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1232, allocations: 0 / 396.9 MB, free: 14.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002426/0.1235, allocations: 71.88 kB / 397 MB, free: 14.25 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.1238, allocations: 20.31 kB / 397 MB, free: 14.23 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006397/0.1244, allocations: 304.1 kB / 397.3 MB, free: 13.91 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.1247, allocations: 0.7162 MB / 398 MB, free: 13.17 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 7.875e-05/0.1248, allocations: 17.08 kB / 398 MB, free: 13.15 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.572e-05/0.1249, allocations: 19.44 kB / 398 MB, free: 13.13 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1249, allocations: 0 / 398 MB, free: 13.13 MB / 302.1 MB Notification: Performance of Templates: time 0.004306/0.1292, allocations: 1.627 MB / 399.7 MB, free: 11.51 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)