Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.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.TestTrackingI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI") translateModel(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 114.3 kB / 16.42 MB, free: 6.469 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.001049/0.001049, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.305/1.305, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.0588/0.0588, allocations: 10.74 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.001461/0.001461, allocations: 77.03 kB / 391.5 MB, free: 46 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08427/0.08574, allocations: 49.03 MB / 440.5 MB, free: 3.809 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI): time 0.002313/0.08809, allocations: 1.743 MB / 442.3 MB, free: 2.047 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007993/0.08891, allocations: 0.6359 MB / 442.9 MB, free: 1.402 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.236e-05/0.08901, allocations: 3.938 kB / 442.9 MB, free: 1.398 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000106/0.08913, allocations: 19.75 kB / 442.9 MB, free: 1.379 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.332e-05/0.08922, allocations: 35.66 kB / 443 MB, free: 1.344 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.08946, allocations: 91.81 kB / 443.1 MB, free: 1.254 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001928/0.08966, allocations: 203.4 kB / 443.3 MB, free: 1.055 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.08978, allocations: 33.67 kB / 443.3 MB, free: 1.023 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.096e-05/0.08988, allocations: 95.61 kB / 443.4 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.809e-05/0.08998, allocations: 83.59 kB / 443.5 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.094e-05/0.09002, allocations: 16 kB / 443.5 MB, free: 0.832 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.859e-05/0.09005, allocations: 16 kB / 443.5 MB, free: 0.8164 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.023e-05/0.0901, allocations: 39.89 kB / 443.6 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.585e-05/0.09017, allocations: 83.45 kB / 443.6 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001669/0.09034, allocations: 175.3 kB / 443.8 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.09035, allocations: 4 kB / 443.8 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.09036, allocations: 3.984 kB / 443.8 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.09037, allocations: 0 / 443.8 MB, free: 0.5156 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.00101/0.09139, allocations: 0.5683 MB / 444.4 MB, free: 15.89 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.09144, allocations: 15.89 kB / 444.4 MB, free: 15.87 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.203e-05/0.0915, allocations: 16.75 kB / 444.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003552/0.09186, allocations: 263.6 kB / 444.7 MB, free: 15.56 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.812e-05/0.09194, allocations: 67.91 kB / 444.7 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.335e-05/0.09199, allocations: 16.38 kB / 444.8 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005109/0.09251, allocations: 192.2 kB / 444.9 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.09253, allocations: 0 / 444.9 MB, free: 15.26 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.09255, allocations: 8 kB / 444.9 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.09256, allocations: 4 kB / 445 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006216/0.09319, allocations: 159.8 kB / 445.1 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009477/0.09415, allocations: 0.6334 MB / 445.7 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006364/0.0948, allocations: 154.6 kB / 445.9 MB, free: 14.24 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003245/0.09513, allocations: 92.7 kB / 446 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.562e-05/0.09516, allocations: 0 / 446 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004441/0.09561, allocations: 163.2 kB / 446.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.09562, allocations: 0 / 446.1 MB, free: 13.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001051/0.09668, allocations: 300.8 kB / 446.4 MB, free: 13.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.151e-05/0.09672, allocations: 55.41 kB / 446.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001746/0.0969, allocations: 203.7 kB / 446.7 MB, free: 13.4 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.09693, allocations: 29.7 kB / 446.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.829e-05/0.09703, allocations: 136.2 kB / 446.8 MB, free: 13.22 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.653e-05/0.09707, allocations: 47.38 kB / 446.9 MB, free: 13.18 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.746e-05/0.09715, allocations: 49.69 kB / 446.9 MB, free: 13.12 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.09727, allocations: 326.8 kB / 447.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003422/0.09762, allocations: 96.11 kB / 447.4 MB, free: 12.7 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003562/0.09799, allocations: 141.6 kB / 447.5 MB, free: 12.54 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006689/0.09867, allocations: 272.4 kB / 447.8 MB, free: 12.24 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.09868, allocations: 0 / 447.8 MB, free: 12.24 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008184/0.0995, allocations: 340.5 kB / 448.1 MB, free: 11.89 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.499e-05/0.09956, allocations: 71.33 kB / 448.2 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.09957, allocations: 0 / 448.2 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.09959, allocations: 7.938 kB / 448.2 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004208/0.1, allocations: 55.89 kB / 448.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.1, allocations: 8.125 kB / 448.2 MB, free: 11.74 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002871/0.1003, allocations: 43.8 kB / 448.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.1004, allocations: 8 kB / 448.3 MB, free: 11.69 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition2,TrackRef.count,$PRE.TrackRef.count,TrackRef.T_start,$PRE.TrackRef.T_start,TSsignal.pulseStart,$PRE.TSsignal.pulseStart,Itr.ts,Input.count,$PRE.Input.count,Input.T_start,$PRE.Input.T_start,$whenCondition1,$whenCondition3,I.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 2 * 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.0001159/0.1005, allocations: 137.8 kB / 448.4 MB, free: 11.54 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.98e-05/0.1005, allocations: 19.75 kB / 448.4 MB, free: 11.52 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.882e-05/0.1006, allocations: 17.53 kB / 448.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.1006, allocations: 0 / 448.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.1006, allocations: 7.984 kB / 448.5 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.212e-05/0.1007, allocations: 92.86 kB / 448.6 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.732e-05/0.1007, allocations: 8 kB / 448.6 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/0.101, allocations: 27.95 kB / 448.6 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.473e-05/0.1011, allocations: 27.97 kB / 448.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009521/0.102, allocations: 320.8 kB / 448.9 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001122/0.1032, allocations: 0.4905 MB / 449.4 MB, free: 10.5 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003387/0.1035, allocations: 95.91 kB / 449.5 MB, free: 10.4 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001145/0.1036, allocations: 149.5 kB / 449.7 MB, free: 10.26 MB / 334.1 MB Notification: Performance of Backend: time 3.6e-07/0.1036, allocations: 0 / 449.7 MB, free: 10.26 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000816/0.1045, allocations: 334.4 kB / 450 MB, free: 9.906 MB / 334.1 MB Notification: Performance of SimCode: time 0.0007727/0.1052, allocations: 0.7644 MB / 450.8 MB, free: 9.09 MB / 334.1 MB Notification: Performance of Templates: time 0.005591/0.1109, allocations: 2.802 MB / 453.6 MB, free: 6.305 MB / 334.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.makefile (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI.pipe 2>&1)