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/Complex 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) 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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/Complex 3.2.3+maint.om/package.mo): time 0.001188/0.001188, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05606/0.05606, allocations: 10.75 MB / 27.48 MB, free: 1.867 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.312/1.312, allocations: 205.1 MB / 235.7 MB, free: 11.73 MB / 202.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 102.2 kB / 285.5 MB, free: 12.86 MB / 234.8 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 55.91 kB / 345.3 MB, free: 0.9688 MB / 282.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.2465, allocations: 49.01 MB / 394.3 MB, free: 35.56 MB / 298.8 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO): time 0.002492/0.2491, allocations: 1.864 MB / 396.2 MB, free: 33.68 MB / 298.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008532/0.25, allocations: 0.6451 MB / 396.8 MB, free: 33.03 MB / 298.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.54e-05/0.2501, allocations: 11.94 kB / 396.8 MB, free: 33.02 MB / 298.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.2502, allocations: 19.8 kB / 396.8 MB, free: 33 MB / 298.8 MB Notification: Performance of NFTyping.typeBindings: time 7.486e-05/0.2503, allocations: 23.78 kB / 396.9 MB, free: 32.97 MB / 298.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002362/0.2505, allocations: 91.83 kB / 397 MB, free: 32.88 MB / 298.8 MB Notification: Performance of NFFlatten.flatten: time 0.00017/0.2507, allocations: 219.4 kB / 397.2 MB, free: 32.67 MB / 298.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.2509, allocations: 56.53 kB / 397.2 MB, free: 32.62 MB / 298.8 MB Notification: Performance of NFEvalConstants.evaluate: time 8.717e-05/0.251, allocations: 83.58 kB / 397.3 MB, free: 32.54 MB / 298.8 MB Notification: Performance of NFSimplifyModel.simplify: time 9.184e-05/0.2511, allocations: 95.52 kB / 397.4 MB, free: 32.44 MB / 298.8 MB Notification: Performance of NFPackage.collectConstants: time 5.653e-05/0.2511, allocations: 8 kB / 397.4 MB, free: 32.43 MB / 298.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.463e-05/0.2512, allocations: 12 kB / 397.4 MB, free: 32.42 MB / 298.8 MB Notification: Performance of NFScalarize.scalarize: time 3.91e-05/0.2512, allocations: 35.83 kB / 397.5 MB, free: 32.39 MB / 298.8 MB Notification: Performance of NFVerifyModel.verify: time 6.951e-05/0.2513, allocations: 95.39 kB / 397.6 MB, free: 32.29 MB / 298.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001582/0.2514, allocations: 177.4 kB / 397.7 MB, free: 32.12 MB / 298.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2514, allocations: 0 / 397.7 MB, free: 32.12 MB / 298.8 MB Notification: Performance of FrontEnd: time 7.91e-07/0.2515, allocations: 0 / 397.7 MB, free: 32.12 MB / 298.8 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.2515, allocations: 4 kB / 397.7 MB, free: 32.12 MB / 298.8 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.0008713/0.2523, allocations: 0.5589 MB / 398.3 MB, free: 31.5 MB / 298.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.582e-05/0.2524, allocations: 8.031 kB / 398.3 MB, free: 31.5 MB / 298.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.019e-05/0.2524, allocations: 28.66 kB / 398.3 MB, free: 31.47 MB / 298.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002512/0.2527, allocations: 279.4 kB / 398.6 MB, free: 31.16 MB / 298.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.75e-05/0.2528, allocations: 101.7 kB / 398.7 MB, free: 31.04 MB / 298.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.988e-05/0.2528, allocations: 16.38 kB / 398.7 MB, free: 31.02 MB / 298.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003957/0.2532, allocations: 189.6 kB / 398.9 MB, free: 30.83 MB / 298.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.2532, allocations: 0 / 398.9 MB, free: 30.83 MB / 298.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.2533, allocations: 3.984 kB / 398.9 MB, free: 30.83 MB / 298.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.2533, allocations: 4 kB / 398.9 MB, free: 30.82 MB / 298.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004471/0.2537, allocations: 143.9 kB / 399 MB, free: 30.68 MB / 298.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008595/0.2546, allocations: 0.5857 MB / 399.6 MB, free: 30.05 MB / 298.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004409/0.255, allocations: 150.4 kB / 399.8 MB, free: 29.89 MB / 298.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002434/0.2553, allocations: 72.8 kB / 399.8 MB, free: 29.82 MB / 298.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.2553, allocations: 4 kB / 399.9 MB, free: 29.81 MB / 298.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003395/0.2557, allocations: 147.4 kB / 400 MB, free: 29.66 MB / 298.8 MB Notification: Performance of pre-optimization done (n=12): time 2.114e-06/0.2557, allocations: 0 / 400 MB, free: 29.66 MB / 298.8 MB Notification: Performance of matching and sorting (n=12): time 0.0007922/0.2565, allocations: 273.2 kB / 400.3 MB, free: 29.38 MB / 298.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.2565, allocations: 63.39 kB / 400.3 MB, free: 29.31 MB / 298.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.2567, allocations: 203.1 kB / 400.5 MB, free: 29.1 MB / 298.8 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.2567, allocations: 29.7 kB / 400.6 MB, free: 29.06 MB / 298.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.542e-05/0.2568, allocations: 144.2 kB / 400.7 MB, free: 28.92 MB / 298.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.758e-05/0.2568, allocations: 35.45 kB / 400.7 MB, free: 28.88 MB / 298.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.635e-05/0.2569, allocations: 41.7 kB / 400.8 MB, free: 28.84 MB / 298.8 MB Notification: Performance of setup shared object (initialization): time 5.988e-05/0.257, allocations: 338.8 kB / 401.1 MB, free: 28.5 MB / 298.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000251/0.2572, allocations: 83.94 kB / 401.2 MB, free: 28.41 MB / 298.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/0.2575, allocations: 105.8 kB / 401.3 MB, free: 28.3 MB / 298.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004498/0.2579, allocations: 201.8 kB / 401.5 MB, free: 28.09 MB / 298.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2579, allocations: 4 kB / 401.5 MB, free: 28.08 MB / 298.8 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000565/0.2585, allocations: 277.3 kB / 401.8 MB, free: 27.8 MB / 298.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/0.2586, allocations: 33.7 kB / 401.8 MB, free: 27.76 MB / 298.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2586, allocations: 0 / 401.8 MB, free: 27.76 MB / 298.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.2586, allocations: 0 / 401.8 MB, free: 27.76 MB / 298.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007028/0.2593, allocations: 76.03 kB / 401.9 MB, free: 27.69 MB / 298.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.2593, allocations: 0 / 401.9 MB, free: 27.69 MB / 298.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.2595, allocations: 35.81 kB / 401.9 MB, free: 27.65 MB / 298.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.2595, allocations: 7.938 kB / 401.9 MB, free: 27.64 MB / 298.8 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 9.921e-05/0.2596, allocations: 134.4 kB / 402 MB, free: 27.5 MB / 298.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.2597, allocations: 19.8 kB / 402.1 MB, free: 27.48 MB / 298.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.35e-05/0.2597, allocations: 21.41 kB / 402.1 MB, free: 27.46 MB / 298.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.2597, allocations: 0 / 402.1 MB, free: 27.46 MB / 298.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.2597, allocations: 0 / 402.1 MB, free: 27.46 MB / 298.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.2597, allocations: 0 / 402.1 MB, free: 27.46 MB / 298.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001911/0.2599, allocations: 289.2 kB / 402.4 MB, free: 27.13 MB / 298.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2599, allocations: 0 / 402.4 MB, free: 27.13 MB / 298.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007322/0.2607, allocations: 75.88 kB / 402.4 MB, free: 27.05 MB / 298.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.2607, allocations: 0 / 402.4 MB, free: 27.05 MB / 298.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.584e-05/0.2607, allocations: 0 / 402.4 MB, free: 27.05 MB / 298.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.2607, allocations: 4 kB / 402.4 MB, free: 27.05 MB / 298.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2607, allocations: 0 / 402.4 MB, free: 27.05 MB / 298.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004404/0.2651, allocations: 2.187 MB / 404.6 MB, free: 24.72 MB / 298.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.906e-05/0.2652, allocations: 92.86 kB / 404.7 MB, free: 24.61 MB / 298.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.2652, allocations: 12.03 kB / 404.7 MB, free: 24.6 MB / 298.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001671/0.2654, allocations: 24.06 kB / 404.7 MB, free: 24.57 MB / 298.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.379e-05/0.2655, allocations: 27.89 kB / 404.8 MB, free: 24.55 MB / 298.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.2655, allocations: 4 kB / 404.8 MB, free: 24.54 MB / 298.8 MB Notification: Performance of sorting global known variables: time 8.026e-05/0.2656, allocations: 144.6 kB / 404.9 MB, free: 24.4 MB / 298.8 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2656, allocations: 0 / 404.9 MB, free: 24.4 MB / 298.8 MB Notification: Performance of remove unused functions: time 0.0003134/0.2659, allocations: 51.89 kB / 405 MB, free: 24.35 MB / 298.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (FOtr.Y,FOaw.Y,FO.Y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,FOaw.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 (12): * Single equations (assignments): 9 * 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 8.67e-05/0.266, allocations: 115.2 kB / 405.1 MB, free: 24.23 MB / 298.8 MB Notification: Performance of simCode: created initialization part: time 0.0005624/0.2666, allocations: 227.2 kB / 405.3 MB, free: 23.99 MB / 298.8 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2666, allocations: 3.938 kB / 405.3 MB, free: 23.99 MB / 298.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002563/0.2668, allocations: 88.06 kB / 405.4 MB, free: 23.9 MB / 298.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002868/0.2671, allocations: 24.66 kB / 405.4 MB, free: 23.88 MB / 298.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007356/0.2679, allocations: 0.5683 MB / 406 MB, free: 23.27 MB / 298.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.268, allocations: 0.7362 MB / 406.7 MB, free: 22.51 MB / 298.8 MB Notification: Performance of simCode: alias equations: time 0.0001127/0.2681, allocations: 29.53 kB / 406.8 MB, free: 22.48 MB / 298.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.106e-05/0.2682, allocations: 15.44 kB / 406.8 MB, free: 22.47 MB / 298.8 MB Notification: Performance of SimCode: time 2.11e-07/0.2682, allocations: 0 / 406.8 MB, free: 22.47 MB / 298.8 MB Notification: Performance of Templates: time 0.004396/0.2726, allocations: 2.288 MB / 409.1 MB, free: 20.2 MB / 298.8 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)