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.001181/0.001181, allocations: 102.6 kB / 16.27 MB, free: 5.98 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.0009777/0.0009778, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.226/1.226, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05513/0.05513, allocations: 10.74 MB / 281.2 MB, free: 1.359 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.001425/0.001425, allocations: 67.84 kB / 341.2 MB, free: 5.18 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2081, allocations: 49.01 MB / 390.2 MB, free: 49.65 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO): time 0.002807/0.2109, allocations: 1.815 MB / 392 MB, free: 48.37 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.000965/0.2119, allocations: 0.6477 MB / 392.7 MB, free: 47.92 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.212, allocations: 13.31 kB / 392.7 MB, free: 47.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.2122, allocations: 19.17 kB / 392.7 MB, free: 47.89 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.928e-05/0.2123, allocations: 38.17 kB / 392.8 MB, free: 47.86 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003152/0.2126, allocations: 105.5 kB / 392.9 MB, free: 47.81 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002259/0.2128, allocations: 225 kB / 393.1 MB, free: 47.7 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.213, allocations: 65.05 kB / 393.1 MB, free: 47.68 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.2131, allocations: 91.7 kB / 393.2 MB, free: 47.63 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.2132, allocations: 104.6 kB / 393.3 MB, free: 47.57 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.893e-05/0.2133, allocations: 17.88 kB / 393.3 MB, free: 47.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.164e-05/0.2133, allocations: 16.5 kB / 393.4 MB, free: 47.57 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.327e-05/0.2134, allocations: 40.84 kB / 393.4 MB, free: 47.55 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.017e-05/0.2135, allocations: 91.81 kB / 393.5 MB, free: 47.49 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002246/0.2137, allocations: 188.8 kB / 393.7 MB, free: 47.4 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2137, allocations: 3.938 kB / 393.7 MB, free: 47.4 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.2137, allocations: 1.719 kB / 393.7 MB, free: 47.4 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.68e-06/0.2137, allocations: 0 / 393.7 MB, free: 47.4 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0009438/0.2147, allocations: 0.5693 MB / 394.3 MB, free: 46.91 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.2147, allocations: 13.95 kB / 394.3 MB, free: 46.9 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.963e-05/0.2148, allocations: 25.97 kB / 394.3 MB, free: 46.89 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.2151, allocations: 283.9 kB / 394.6 MB, free: 46.64 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.912e-05/0.2151, allocations: 93.27 kB / 394.7 MB, free: 46.54 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.1e-05/0.2152, allocations: 15.55 kB / 394.7 MB, free: 46.54 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004494/0.2156, allocations: 198 kB / 394.9 MB, free: 46.45 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.527e-06/0.2157, allocations: 0 / 394.9 MB, free: 46.45 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.027e-05/0.2157, allocations: 4 kB / 394.9 MB, free: 46.44 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.2157, allocations: 4.125 kB / 394.9 MB, free: 46.44 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005154/0.2162, allocations: 144.1 kB / 395 MB, free: 46.41 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.2172, allocations: 0.5696 MB / 395.6 MB, free: 46.02 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004838/0.2177, allocations: 147.9 kB / 395.7 MB, free: 45.96 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002528/0.218, allocations: 74.62 kB / 395.8 MB, free: 45.93 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.218, allocations: 0.7969 kB / 395.8 MB, free: 45.93 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004352/0.2185, allocations: 148.6 kB / 395.9 MB, free: 45.86 MB / 318.1 MB Notification: Performance of pre-optimization done (n=12): time 1.793e-06/0.2185, allocations: 4.188 kB / 396 MB, free: 45.86 MB / 318.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009059/0.2194, allocations: 271.8 kB / 396.2 MB, free: 45.77 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.2194, allocations: 54.92 kB / 396.3 MB, free: 45.7 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001666/0.2196, allocations: 209.1 kB / 396.5 MB, free: 45.57 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.2196, allocations: 32.19 kB / 396.5 MB, free: 45.53 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.875e-05/0.2197, allocations: 147 kB / 396.7 MB, free: 45.4 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.12e-05/0.2198, allocations: 39.25 kB / 396.7 MB, free: 45.37 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.177e-05/0.2198, allocations: 41.34 kB / 396.7 MB, free: 45.34 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.342e-05/0.2199, allocations: 334.6 kB / 397.1 MB, free: 45.02 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002799/0.2202, allocations: 78.8 kB / 397.1 MB, free: 45 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002816/0.2205, allocations: 106.6 kB / 397.2 MB, free: 44.95 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005198/0.221, allocations: 203.5 kB / 397.4 MB, free: 44.84 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.221, allocations: 1.438 kB / 397.4 MB, free: 44.84 MB / 318.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006626/0.2217, allocations: 275.4 kB / 397.7 MB, free: 44.71 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/0.2217, allocations: 32.78 kB / 397.7 MB, free: 44.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.2217, allocations: 6.266 kB / 397.7 MB, free: 44.67 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.2218, allocations: 1.469 kB / 397.7 MB, free: 44.67 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00074/0.2225, allocations: 67.72 kB / 397.8 MB, free: 44.67 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.2225, allocations: 5.75 kB / 397.8 MB, free: 44.67 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.2228, allocations: 37.19 kB / 397.9 MB, free: 44.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.2228, allocations: 9.844 kB / 397.9 MB, free: 44.65 MB / 318.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.0001043/0.2229, allocations: 135 kB / 398 MB, free: 44.52 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.208e-05/0.2229, allocations: 21.48 kB / 398 MB, free: 44.51 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.703e-05/0.223, allocations: 20.25 kB / 398 MB, free: 44.49 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.223, allocations: 1.344 kB / 398 MB, free: 44.49 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.223, allocations: 5.344 kB / 398 MB, free: 44.49 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.223, allocations: 0.5625 kB / 398 MB, free: 44.49 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.2233, allocations: 280 kB / 398.3 MB, free: 44.25 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.2233, allocations: 0.6094 kB / 398.3 MB, free: 44.25 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007915/0.2241, allocations: 68.03 kB / 398.4 MB, free: 44.25 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.2241, allocations: 4.641 kB / 398.4 MB, free: 44.24 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.2241, allocations: 10.78 kB / 398.4 MB, free: 44.23 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2241, allocations: 0.7031 kB / 398.4 MB, free: 44.23 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.2241, allocations: 1.594 kB / 398.4 MB, free: 44.23 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008913/0.225, allocations: 312.4 kB / 398.7 MB, free: 44.1 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.31e-05/0.2251, allocations: 90.61 kB / 398.8 MB, free: 44 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.293e-05/0.2251, allocations: 2.953 kB / 398.8 MB, free: 44 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.2253, allocations: 26.06 kB / 398.8 MB, free: 43.99 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.71e-05/0.2254, allocations: 19.83 kB / 398.8 MB, free: 43.99 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.2254, allocations: 3.812 kB / 398.8 MB, free: 43.99 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001062/0.2255, allocations: 148.6 kB / 399 MB, free: 43.89 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.2255, allocations: 5.219 kB / 399 MB, free: 43.89 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002411/0.2258, allocations: 39.5 kB / 399 MB, free: 43.88 MB / 318.1 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.38e-05/0.2258, allocations: 104.2 kB / 399.1 MB, free: 43.79 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006448/0.2265, allocations: 248.8 kB / 399.4 MB, free: 43.67 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2265, allocations: 0 / 399.4 MB, free: 43.67 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002815/0.2268, allocations: 85.5 kB / 399.5 MB, free: 43.65 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002543/0.2271, allocations: 30.88 kB / 399.5 MB, free: 43.63 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007468/0.2278, allocations: 400.4 kB / 399.9 MB, free: 43.36 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001347/0.228, allocations: 0.7326 MB / 400.6 MB, free: 42.66 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.043e-05/0.228, allocations: 24.92 kB / 400.6 MB, free: 42.65 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.228, allocations: 0 / 400.6 MB, free: 42.65 MB / 318.1 MB Notification: Performance of Templates: time 0.003564/0.2316, allocations: 2.435 MB / 403.1 MB, free: 41.39 MB / 318.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)