Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.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: "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestI_tracking,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_tracking",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestI_tracking,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_tracking",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001244/0.001244, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001364/0.001365, allocations: 177.3 kB / 15.95 MB, free: 216 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.475/1.475, allocations: 205.4 MB / 222.1 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05677/0.05677, allocations: 10.74 MB / 281.1 MB, free: 10.57 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.0005447/0.0005448, allocations: 15.94 kB / 341.7 MB, free: 23.78 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1091, allocations: 50 MB / 391.7 MB, free: 5.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_tracking): time 0.002814/0.112, allocations: 1.968 MB / 393.7 MB, free: 3.734 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002031/0.114, allocations: 1.303 MB / 395 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001481/0.1142, allocations: 11.88 kB / 395 MB, free: 2.41 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005909/0.1148, allocations: 171.4 kB / 395.1 MB, free: 2.242 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002903/0.1151, allocations: 143.6 kB / 395.3 MB, free: 2.102 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007338/0.1158, allocations: 315.2 kB / 395.6 MB, free: 1.793 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004348/0.1163, allocations: 351.5 kB / 395.9 MB, free: 1.449 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.1165, allocations: 65.23 kB / 396 MB, free: 1.379 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002483/0.1167, allocations: 191.2 kB / 396.2 MB, free: 1.191 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002589/0.117, allocations: 179.2 kB / 396.4 MB, free: 1.016 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.145e-05/0.117, allocations: 16 kB / 396.4 MB, free: 1 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001923/0.1172, allocations: 111.8 kB / 396.5 MB, free: 0.8906 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.1174, allocations: 111.6 kB / 396.6 MB, free: 0.7812 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.837e-05/0.1175, allocations: 93.44 kB / 396.7 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003931/0.1179, allocations: 363.5 kB / 397 MB, free: 336 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1179, allocations: 4 kB / 397 MB, free: 332 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1179, allocations: 0 / 397 MB, free: 332 kB / 286.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1179, allocations: 0 / 397 MB, free: 332 kB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.00131/0.1192, allocations: 0.7793 MB / 397.8 MB, free: 15.48 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.1193, allocations: 12.03 kB / 397.8 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.665e-05/0.1194, allocations: 62.55 kB / 397.9 MB, free: 15.4 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.281e-05/0.1195, allocations: 59.33 kB / 398 MB, free: 15.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005901/0.1201, allocations: 393.5 kB / 398.3 MB, free: 14.92 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.648e-05/0.1201, allocations: 75.97 kB / 398.4 MB, free: 14.83 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.919e-05/0.1202, allocations: 35.98 kB / 398.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006442/0.1209, allocations: 391.6 kB / 398.8 MB, free: 14.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.597e-05/0.1209, allocations: 11.86 kB / 398.8 MB, free: 14.38 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.366e-05/0.1209, allocations: 11.94 kB / 398.9 MB, free: 14.37 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.121, allocations: 8 kB / 398.9 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004929/0.1215, allocations: 274 kB / 399.1 MB, free: 14.1 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002203/0.1237, allocations: 1.454 MB / 400.6 MB, free: 12.56 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004812/0.1242, allocations: 210.9 kB / 400.8 MB, free: 12.35 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.1242, allocations: 192 / 400.8 MB, free: 12.35 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003916/0.1246, allocations: 222.8 kB / 401 MB, free: 12.11 MB / 302.1 MB Notification: Performance of pre-optimization done (n=27): time 1.763e-06/0.1246, allocations: 0 / 401 MB, free: 12.11 MB / 302.1 MB Notification: Performance of matching and sorting (n=27): time 0.0009596/0.1256, allocations: 0.5696 MB / 401.6 MB, free: 11.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.565e-05/0.1257, allocations: 114.8 kB / 401.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005685/0.1263, allocations: 481.8 kB / 402.2 MB, free: 10.9 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.553e-05/0.1263, allocations: 33.7 kB / 402.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002022/0.1265, allocations: 256 kB / 402.4 MB, free: 10.61 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.39e-05/0.1266, allocations: 86.8 kB / 402.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.87e-05/0.1266, allocations: 12 kB / 402.5 MB, free: 10.51 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001779/0.1268, allocations: 366.7 kB / 402.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002192/0.127, allocations: 112.7 kB / 403 MB, free: 10.03 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003019/0.1274, allocations: 240.8 kB / 403.2 MB, free: 9.742 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002878/0.1277, allocations: 177.5 kB / 403.4 MB, free: 9.562 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.1277, allocations: 0 / 403.4 MB, free: 9.562 MB / 302.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007731/0.1284, allocations: 0.5138 MB / 403.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.78e-05/0.1285, allocations: 33.7 kB / 404 MB, free: 8.996 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.1285, allocations: 8 kB / 404 MB, free: 8.988 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.1285, allocations: 8 kB / 404 MB, free: 8.98 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000551/0.1291, allocations: 100.3 kB / 404.1 MB, free: 8.883 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/0.1291, allocations: 7.938 kB / 404.1 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.1293, allocations: 43.67 kB / 404.1 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.967e-05/0.1294, allocations: 16 kB / 404.1 MB, free: 8.816 MB / 302.1 MB Warning: Assuming fixed start value for the following 6 variables: processTrack.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processTrack.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] process.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] process.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] process.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processTrack.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition2,$PRE.TSsignal.combiTimeTable.nextTimeEvent,$whenCondition1,R_track.ts,TSsignal.combiTimeTable.nextTimeEvent,$PRE.TSsignal.combiTimeTable.nextTimeEventScaled,TSsignal.combiTimeTable.nextTimeEventScaled,TrackRef.a,TrackRef.b,TrackRef.last,$PRE.TrackRef.nextEvent,TrackRef.nextEvent,TrackRef.nextEventScaled,R.TS_in,R_track.ATreq_in,R.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 1 * 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.0003265/0.1297, allocations: 244.4 kB / 404.4 MB, free: 8.559 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.085e-05/0.1298, allocations: 43.44 kB / 404.4 MB, free: 8.516 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007706/0.1306, allocations: 443.8 kB / 404.9 MB, free: 8.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.1306, allocations: 8 kB / 404.9 MB, free: 8.062 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1306, allocations: 0 / 404.9 MB, free: 8.062 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.1306, allocations: 3.984 kB / 404.9 MB, free: 8.059 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004306/0.131, allocations: 433.1 kB / 405.3 MB, free: 7.586 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.131, allocations: 0 / 405.3 MB, free: 7.586 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005675/0.1316, allocations: 63.95 kB / 405.4 MB, free: 7.523 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.1316, allocations: 0 / 405.4 MB, free: 7.523 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.773e-05/0.1317, allocations: 19.98 kB / 405.4 MB, free: 7.504 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.1317, allocations: 7.938 kB / 405.4 MB, free: 7.496 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1317, allocations: 0 / 405.4 MB, free: 7.496 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009113/0.1326, allocations: 0.5922 MB / 406 MB, free: 6.879 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/0.1327, allocations: 124.5 kB / 406.1 MB, free: 6.738 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.307e-05/0.1328, allocations: 12 kB / 406.1 MB, free: 6.727 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.133, allocations: 23.97 kB / 406.1 MB, free: 6.703 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.567e-05/0.133, allocations: 15.98 kB / 406.1 MB, free: 6.688 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.932e-05/0.1331, allocations: 11.98 kB / 406.2 MB, free: 6.676 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003606/0.1334, allocations: 339.1 kB / 406.5 MB, free: 6.348 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1335, allocations: 3.938 kB / 406.5 MB, free: 6.344 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004075/0.1339, allocations: 103.8 kB / 406.6 MB, free: 6.242 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (R.Iout,R_track.Iout,process.Y[3],process.U[2],process.w,processTrack.Y[3],processTrack.U[2],processTrack.w) * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,R_track.ts,TSsignal.combiTimeTable.nextTimeEvent,TSsignal.combiTimeTable.nextTimeEventScaled,TrackRef.a,TrackRef.b,TrackRef.last,TrackRef.nextEvent,TrackRef.nextEventScaled) * Number of discrete states: 8 (TrackRef.nextEvent,TrackRef.last,TrackRef.nextEventScaled,TrackRef.b,TrackRef.a,$whenCondition1,TSsignal.combiTimeTable.nextTimeEventScaled,TSsignal.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.002132/0.136, allocations: 1.498 MB / 408.1 MB, free: 4.816 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006734/0.1367, allocations: 419.3 kB / 408.5 MB, free: 4.395 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1367, allocations: 0 / 408.5 MB, free: 4.395 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003043/0.137, allocations: 231.3 kB / 408.7 MB, free: 4.156 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.1374, allocations: 68.28 kB / 408.8 MB, free: 4.09 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004771/0.1421, allocations: 4.763 MB / 413.6 MB, free: 15.21 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004814/0.1426, allocations: 0.8538 MB / 414.4 MB, free: 14.33 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002431/0.1429, allocations: 79.22 kB / 414.5 MB, free: 14.25 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002059/0.1431, allocations: 159.4 kB / 414.6 MB, free: 14.1 MB / 318.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1431, allocations: 0 / 414.6 MB, free: 14.1 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02217/0.1653, allocations: 8.787 MB / 423.4 MB, free: 5.363 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001821/0.1655, allocations: 245.6 kB / 423.7 MB, free: 5.082 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.085/2.251, allocations: 0 / 423.7 MB, free: 5.082 MB / 318.1 MB (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_tracking_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_tracking.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_tracking.pipe 2>&1) Environment - environmentSimulation: