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.007274/0.007274, allocations: 99.05 kB / 15.73 MB, free: 6.004 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.001372/0.001373, allocations: 199.4 kB / 16.68 MB, free: 5.934 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.52/1.52, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05649/0.05649, allocations: 10.75 MB / 280.6 MB, free: 10.42 MB / 238.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.001387/0.001387, allocations: 63.91 kB / 390.8 MB, free: 5.027 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2879, allocations: 49.01 MB / 439.9 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Blocks.Examples.TestTrackingI): time 0.00307/0.291, allocations: 1.76 MB / 441.6 MB, free: 4.098 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.2922, allocations: 0.6275 MB / 442.2 MB, free: 3.656 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001791/0.2924, allocations: 2.75 kB / 442.2 MB, free: 3.656 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001545/0.2926, allocations: 23.27 kB / 442.3 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.2927, allocations: 35.36 kB / 442.3 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003388/0.293, allocations: 88.27 kB / 442.4 MB, free: 3.562 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003047/0.2934, allocations: 214.1 kB / 442.6 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.2935, allocations: 40.7 kB / 442.6 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001392/0.2936, allocations: 84.89 kB / 442.7 MB, free: 3.406 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.2938, allocations: 88.78 kB / 442.8 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.207e-05/0.2938, allocations: 15.12 kB / 442.8 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.616e-05/0.2939, allocations: 14.97 kB / 442.8 MB, free: 3.363 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.055e-05/0.294, allocations: 39.55 kB / 442.9 MB, free: 3.34 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.986e-05/0.2941, allocations: 86.77 kB / 443 MB, free: 3.281 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002723/0.2943, allocations: 170.9 kB / 443.1 MB, free: 3.207 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2944, allocations: 0 / 443.1 MB, free: 3.207 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2944, allocations: 1.219 kB / 443.1 MB, free: 3.207 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.873e-06/0.2944, allocations: 3.938 kB / 443.1 MB, free: 3.203 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.001163/0.2955, allocations: 0.5677 MB / 443.7 MB, free: 2.703 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.2956, allocations: 13.45 kB / 443.7 MB, free: 2.699 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.384e-05/0.2957, allocations: 25.06 kB / 443.7 MB, free: 2.688 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003473/0.296, allocations: 263.3 kB / 444 MB, free: 2.445 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.969e-05/0.2961, allocations: 67.5 kB / 444.1 MB, free: 2.375 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.256e-05/0.2961, allocations: 14.41 kB / 444.1 MB, free: 2.371 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005188/0.2967, allocations: 196.8 kB / 444.3 MB, free: 2.273 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.2967, allocations: 3.984 kB / 444.3 MB, free: 2.27 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.127e-05/0.2967, allocations: 6.75 kB / 444.3 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.2967, allocations: 6 kB / 444.3 MB, free: 2.262 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006242/0.2974, allocations: 152 kB / 444.4 MB, free: 2.234 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009211/0.2983, allocations: 0.6356 MB / 445.1 MB, free: 1.715 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006139/0.2989, allocations: 158.2 kB / 445.2 MB, free: 1.664 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002978/0.2992, allocations: 76.75 kB / 445.3 MB, free: 1.645 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.39e-05/0.2992, allocations: 1.312 kB / 445.3 MB, free: 1.645 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004564/0.2997, allocations: 181.3 kB / 445.5 MB, free: 1.555 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.723e-06/0.2997, allocations: 0 / 445.5 MB, free: 1.555 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001059/0.3008, allocations: 285.5 kB / 445.8 MB, free: 1.477 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.804e-05/0.3008, allocations: 59.23 kB / 445.8 MB, free: 1.41 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.301, allocations: 199.6 kB / 446 MB, free: 1.27 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.3011, allocations: 33.66 kB / 446 MB, free: 1.234 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.085e-05/0.3011, allocations: 135 kB / 446.2 MB, free: 1.109 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.587e-05/0.3012, allocations: 36.45 kB / 446.2 MB, free: 1.082 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.567e-05/0.3013, allocations: 49.17 kB / 446.3 MB, free: 1.051 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.431e-05/0.3014, allocations: 333.7 kB / 446.6 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003529/0.3017, allocations: 85.78 kB / 446.7 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003478/0.3021, allocations: 154.3 kB / 446.8 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006289/0.3027, allocations: 258.9 kB / 447.1 MB, free: 468 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.3027, allocations: 0 / 447.1 MB, free: 468 kB / 318.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008178/0.3035, allocations: 348 kB / 447.4 MB, free: 292 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.526e-05/0.3036, allocations: 64.84 kB / 447.5 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.3036, allocations: 3.344 kB / 447.5 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.3036, allocations: 1.688 kB / 447.5 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004172/0.304, allocations: 64.97 kB / 447.5 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.3041, allocations: 2.594 kB / 447.5 MB, free: 208 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002716/0.3043, allocations: 45.8 kB / 447.6 MB, free: 184 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.3044, allocations: 6.375 kB / 447.6 MB, free: 184 kB / 318.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 9.225e-05/0.3045, allocations: 136.6 kB / 447.7 MB, free: 48 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.869e-05/0.3045, allocations: 23.55 kB / 447.8 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.558e-05/0.3046, allocations: 21.59 kB / 447.8 MB, free: 12 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3046, allocations: 2.312 kB / 447.8 MB, free: 12 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3046, allocations: 0 / 447.8 MB, free: 12 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.3046, allocations: 0 / 447.8 MB, free: 12 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002452/0.3048, allocations: 243.6 kB / 448 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3048, allocations: 1.344 kB / 448 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000425/0.3053, allocations: 53.89 kB / 448.1 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.3053, allocations: 0.9688 kB / 448.1 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.3053, allocations: 9.094 kB / 448.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.3053, allocations: 1.094 kB / 448.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.486e-06/0.3053, allocations: 7.922 kB / 448.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.3064, allocations: 342.5 kB / 448.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.137e-05/0.3065, allocations: 97.52 kB / 448.5 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.769e-05/0.3065, allocations: 6.5 kB / 448.5 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.3068, allocations: 32.05 kB / 448.6 MB, free: 15.39 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.561e-05/0.3069, allocations: 30.7 kB / 448.6 MB, free: 15.38 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.3069, allocations: 4.125 kB / 448.6 MB, free: 15.38 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001236/0.307, allocations: 150.9 kB / 448.7 MB, free: 15.26 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.307, allocations: 0 / 448.7 MB, free: 15.26 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.3073, allocations: 35.88 kB / 448.8 MB, free: 15.26 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (I.y,Itr.y) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,Input.T_start,Input.count,Itr.ts,TSsignal.pulseStart,TrackRef.T_start,TrackRef.count) * Number of discrete states: 2 (Input.count,TrackRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 0.0001141/0.3074, allocations: 101.8 kB / 448.9 MB, free: 15.17 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007969/0.3082, allocations: 325.3 kB / 449.2 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.3082, allocations: 0 / 449.2 MB, free: 14.95 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003505/0.3086, allocations: 95.11 kB / 449.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.3089, allocations: 36.89 kB / 449.3 MB, free: 14.88 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006996/0.3096, allocations: 314.8 kB / 449.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.3099, allocations: 0.7277 MB / 450.4 MB, free: 13.93 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 9.595e-05/0.31, allocations: 18.98 kB / 450.4 MB, free: 13.92 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.822e-05/0.3101, allocations: 22.34 kB / 450.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3101, allocations: 0 / 450.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of Templates: time 0.005919/0.316, allocations: 2.428 MB / 452.8 MB, free: 12.68 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)