Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.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.TestTrackingFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 111.5 kB / 16.42 MB, free: 5.996 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.001074/0.001074, allocations: 187.2 kB / 17.35 MB, free: 5.609 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.32/1.32, 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.05881/0.05881, allocations: 10.75 MB / 281.3 MB, free: 1.273 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.001591/0.001591, allocations: 73.53 kB / 391.5 MB, free: 45.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0766/0.0782, allocations: 49.04 MB / 440.5 MB, free: 3.805 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO): time 0.002855/0.08109, allocations: 1.798 MB / 442.3 MB, free: 1.988 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001026/0.08214, allocations: 0.6554 MB / 443 MB, free: 1.324 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001872/0.08235, allocations: 7.938 kB / 443 MB, free: 1.316 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001512/0.08255, allocations: 27.67 kB / 443 MB, free: 1.289 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001125/0.08268, allocations: 35.59 kB / 443.1 MB, free: 1.254 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000396/0.08308, allocations: 103.8 kB / 443.2 MB, free: 1.152 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000303/0.08339, allocations: 231.4 kB / 443.4 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001923/0.08359, allocations: 60.53 kB / 443.5 MB, free: 0.8633 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001543/0.08375, allocations: 99.56 kB / 443.6 MB, free: 0.7656 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.08388, allocations: 95.52 kB / 443.6 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.703e-05/0.08392, allocations: 20 kB / 443.7 MB, free: 0.6523 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.827e-05/0.08396, allocations: 16 kB / 443.7 MB, free: 0.6367 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.821e-05/0.08401, allocations: 43.84 kB / 443.7 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.246e-05/0.0841, allocations: 91.39 kB / 443.8 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002094/0.08432, allocations: 203.2 kB / 444 MB, free: 312 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.08433, allocations: 0 / 444 MB, free: 312 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.08434, allocations: 0 / 444 MB, free: 312 kB / 318.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.08435, allocations: 0 / 444 MB, free: 312 kB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.001092/0.08545, allocations: 0.5705 MB / 444.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.08551, allocations: 11.89 kB / 444.6 MB, free: 15.67 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.06e-05/0.08559, allocations: 20.75 kB / 444.6 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004169/0.08602, allocations: 307.3 kB / 444.9 MB, free: 15.31 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.535e-05/0.08611, allocations: 93.67 kB / 445 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.33e-05/0.08616, allocations: 20.38 kB / 445 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004801/0.08665, allocations: 181.6 kB / 445.2 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.08667, allocations: 0 / 445.2 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.618e-05/0.0867, allocations: 7.984 kB / 445.2 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.08671, allocations: 4 kB / 445.2 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005391/0.08726, allocations: 155.8 kB / 445.4 MB, free: 14.83 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.08839, allocations: 0.5663 MB / 445.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005051/0.0889, allocations: 142.4 kB / 446.1 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002586/0.08917, allocations: 80.78 kB / 446.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.08921, allocations: 4 kB / 446.2 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003886/0.0896, allocations: 139.3 kB / 446.3 MB, free: 13.83 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 2.224e-06/0.08962, allocations: 0 / 446.3 MB, free: 13.83 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009341/0.09055, allocations: 277.3 kB / 446.6 MB, free: 13.55 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.0906, allocations: 55.41 kB / 446.6 MB, free: 13.49 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.09079, allocations: 211.1 kB / 446.8 MB, free: 13.27 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.09083, allocations: 29.7 kB / 446.9 MB, free: 13.24 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.91e-05/0.09093, allocations: 148.2 kB / 447 MB, free: 13.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.577e-05/0.09097, allocations: 35.45 kB / 447 MB, free: 13.05 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.666e-05/0.09107, allocations: 45.69 kB / 447.1 MB, free: 13 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.09118, allocations: 326.8 kB / 447.4 MB, free: 12.68 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002916/0.09148, allocations: 83.92 kB / 447.5 MB, free: 12.59 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002986/0.09179, allocations: 110.6 kB / 447.6 MB, free: 12.48 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005596/0.09236, allocations: 204.9 kB / 447.8 MB, free: 12.26 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.09237, allocations: 3.938 kB / 447.8 MB, free: 12.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006722/0.09305, allocations: 264 kB / 448 MB, free: 11.98 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.964e-05/0.0931, allocations: 41.69 kB / 448.1 MB, free: 11.94 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.09311, allocations: 4.094 kB / 448.1 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.09313, allocations: 0 / 448.1 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007404/0.09388, allocations: 71.89 kB / 448.2 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193e-05/0.0939, allocations: 3.938 kB / 448.2 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002315/0.09414, allocations: 43.8 kB / 448.2 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.09416, allocations: 4 kB / 448.2 MB, free: 11.81 MB / 334.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,FOaw.ts,$whenCondition2,FO.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 18 * 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.0001194/0.09429, allocations: 137.7 kB / 448.3 MB, free: 11.67 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.056e-05/0.09433, allocations: 15.81 kB / 448.4 MB, free: 11.65 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.808e-05/0.09438, allocations: 21.39 kB / 448.4 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.706e-06/0.09439, allocations: 0 / 448.4 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.0944, allocations: 0 / 448.4 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.727e-05/0.09446, allocations: 88.92 kB / 448.5 MB, free: 11.53 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.631e-05/0.0945, allocations: 7.984 kB / 448.5 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002131/0.09472, allocations: 27.97 kB / 448.5 MB, free: 11.49 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.897e-05/0.09481, allocations: 23.91 kB / 448.5 MB, free: 11.47 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008409/0.09566, allocations: 300.7 kB / 448.8 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009551/0.09662, allocations: 470.3 kB / 449.3 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002897/0.09693, allocations: 84.62 kB / 449.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000107/0.09704, allocations: 148.6 kB / 449.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of Backend: time 6.82e-07/0.09705, allocations: 0 / 449.5 MB, free: 10.46 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006611/0.09772, allocations: 245.8 kB / 449.7 MB, free: 10.2 MB / 334.1 MB Notification: Performance of SimCode: time 0.0008089/0.09854, allocations: 0.8047 MB / 450.6 MB, free: 9.352 MB / 334.1 MB Notification: Performance of Templates: time 0.005565/0.1041, allocations: 2.416 MB / 453 MB, free: 6.957 MB / 334.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO.pipe 2>&1)