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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.00154/0.00154, allocations: 103.7 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.001286/0.001286, allocations: 189.8 kB / 17.2 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.0656/0.0656, allocations: 11.2 MB / 302.3 MB, free: 4.168 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002035, allocations: 67.89 kB / 365.3 MB, free: 5.105 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.2048, allocations: 51.98 MB / 417.3 MB, free: 22.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingFO): time 0.002497/0.2074, allocations: 1.806 MB / 419.1 MB, free: 20.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008194/0.2082, allocations: 0.6023 MB / 419.7 MB, free: 20.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.2083, allocations: 13.41 kB / 419.7 MB, free: 20.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.2085, allocations: 23.67 kB / 419.7 MB, free: 20.07 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 6.968e-05/0.2085, allocations: 30.11 kB / 419.7 MB, free: 20.04 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.2088, allocations: 107.8 kB / 419.8 MB, free: 19.94 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001932/0.209, allocations: 231.3 kB / 420.1 MB, free: 19.71 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001473/0.2091, allocations: 51.22 kB / 420.1 MB, free: 19.66 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.176e-05/0.2092, allocations: 99.56 kB / 420.2 MB, free: 19.56 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001001/0.2093, allocations: 91.53 kB / 420.3 MB, free: 19.47 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.241e-05/0.2094, allocations: 20 kB / 420.3 MB, free: 19.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.647e-05/0.2094, allocations: 16 kB / 420.3 MB, free: 19.44 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.344e-05/0.2095, allocations: 50.89 kB / 420.4 MB, free: 19.39 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.766e-05/0.2095, allocations: 87.45 kB / 420.5 MB, free: 19.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001559/0.2097, allocations: 185.3 kB / 420.6 MB, free: 19.12 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.2097, allocations: 0 / 420.6 MB, free: 19.12 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2097, allocations: 0 / 420.6 MB, free: 19.12 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.2097, allocations: 4 kB / 420.6 MB, free: 19.12 MB / 302.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.0008806/0.2106, allocations: 0.571 MB / 421.2 MB, free: 18.5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.2106, allocations: 15.89 kB / 421.2 MB, free: 18.48 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.147e-05/0.2107, allocations: 24.66 kB / 421.3 MB, free: 18.46 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002284/0.2109, allocations: 275.6 kB / 421.5 MB, free: 18.15 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.524e-05/0.211, allocations: 105.7 kB / 421.6 MB, free: 18.03 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.615e-05/0.211, allocations: 12.38 kB / 421.6 MB, free: 18.02 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004069/0.2115, allocations: 186.2 kB / 421.8 MB, free: 17.83 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.2115, allocations: 3.938 kB / 421.8 MB, free: 17.83 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.2115, allocations: 11.98 kB / 421.8 MB, free: 17.82 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.2115, allocations: 0 / 421.8 MB, free: 17.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004961/0.212, allocations: 147.8 kB / 422 MB, free: 17.67 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008857/0.2129, allocations: 0.5741 MB / 422.6 MB, free: 17.05 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004611/0.2134, allocations: 142.4 kB / 422.7 MB, free: 16.9 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002354/0.2136, allocations: 76.8 kB / 422.8 MB, free: 16.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.2137, allocations: 0 / 422.8 MB, free: 16.82 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003771/0.214, allocations: 143.3 kB / 422.9 MB, free: 16.67 MB / 302.1 MB Notification: Performance of pre-optimization done (n=12): time 1.462e-06/0.2141, allocations: 0 / 422.9 MB, free: 16.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008488/0.2149, allocations: 273.7 kB / 423.2 MB, free: 16.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/0.2149, allocations: 63.33 kB / 423.2 MB, free: 16.32 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.2151, allocations: 211 kB / 423.4 MB, free: 16.11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.2151, allocations: 29.7 kB / 423.5 MB, free: 16.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.965e-05/0.2152, allocations: 144.2 kB / 423.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.2152, allocations: 39.53 kB / 423.7 MB, free: 15.89 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.427e-05/0.2153, allocations: 41.7 kB / 423.7 MB, free: 15.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.106e-05/0.2153, allocations: 334.8 kB / 424 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000265/0.2156, allocations: 75.94 kB / 424.1 MB, free: 15.43 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002764/0.2159, allocations: 115.3 kB / 424.2 MB, free: 15.3 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004844/0.2164, allocations: 197 kB / 424.4 MB, free: 15.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2164, allocations: 0 / 424.4 MB, free: 15.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006009/0.217, allocations: 281.1 kB / 424.7 MB, free: 14.81 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.217, allocations: 33.8 kB / 424.7 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.069e-06/0.2171, allocations: 4 kB / 424.7 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.2171, allocations: 0 / 424.7 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007139/0.2178, allocations: 71.94 kB / 424.8 MB, free: 14.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.2178, allocations: 4 kB / 424.8 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.218, allocations: 35.81 kB / 424.8 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.218, allocations: 8 kB / 424.8 MB, free: 14.65 MB / 302.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 8.375e-05/0.2181, allocations: 134.3 kB / 425 MB, free: 14.51 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.642e-05/0.2182, allocations: 23.7 kB / 425 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.934e-05/0.2182, allocations: 25.41 kB / 425 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.2182, allocations: 0 / 425 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.2182, allocations: 0 / 425 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.2182, allocations: 0 / 425 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/0.2184, allocations: 277.4 kB / 425.3 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.2184, allocations: 4 kB / 425.3 MB, free: 14.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000782/0.2192, allocations: 67.94 kB / 425.4 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2192, allocations: 4 kB / 425.4 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.2192, allocations: 0 / 425.4 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2192, allocations: 0 / 425.4 MB, free: 14.07 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.2193, allocations: 4 kB / 425.4 MB, free: 14.06 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008035/0.2201, allocations: 327.6 kB / 425.7 MB, free: 13.73 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.982e-05/0.2201, allocations: 96.92 kB / 425.8 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.111e-05/0.2201, allocations: 8 kB / 425.8 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.2203, allocations: 19.97 kB / 425.8 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.633e-05/0.2204, allocations: 19.97 kB / 425.8 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.2204, allocations: 8 kB / 425.8 MB, free: 13.56 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.929e-05/0.2205, allocations: 140.7 kB / 426 MB, free: 13.42 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2205, allocations: 0 / 426 MB, free: 13.42 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002264/0.2207, allocations: 43.83 kB / 426 MB, free: 13.38 MB / 302.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 7.971e-05/0.2208, allocations: 107.2 kB / 426.1 MB, free: 13.26 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005918/0.2214, allocations: 239.1 kB / 426.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2214, allocations: 0 / 426.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002633/0.2217, allocations: 88.06 kB / 426.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002364/0.222, allocations: 29.34 kB / 426.5 MB, free: 12.9 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006903/0.2227, allocations: 403.2 kB / 426.9 MB, free: 12.48 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.2228, allocations: 0.7319 MB / 427.6 MB, free: 11.72 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.533e-05/0.2229, allocations: 19.44 kB / 427.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2229, allocations: 0 / 427.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of Templates: time 0.003527/0.2264, allocations: 2.434 MB / 430 MB, free: 9.273 MB / 302.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)